File: protocol.dox

package info (click to toggle)
globus-scheduler-event-generator 5.7-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,848 kB
  • ctags: 297
  • sloc: sh: 11,858; ansic: 2,279; makefile: 225; perl: 91
file content (33 lines) | stat: -rw-r--r-- 883 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**
@page seg_protocol Scheduler Event Generator Protocol
The general form for the SEG protocol messages is

@verbatim
MESSAGE-TYPE;TIMESTAMP;message-type-specific content
@endverbatim

- @a MESSAGE-TYPE is a three-digit integer. The JSM will parse the
message contents based on the message type.

- @a TIMESTAMP is an unsigned value indicating seconds since the UNIX epoch.

@section seg_protocol_messages Message Types

@subsection seg_protocol_001 001 - Job State Change

@verbatim
        Message Format: 001;TIMESTAMP;JOBID;STATE;EXIT_CODE
@endverbatim

        Message Type Specific Content:

<dl>
        <dt>JOBID</dt>
            <dd>local scheduler-specific job id</dd>
        <dt>STATE</dt>
            <dd>new job state (integer as per the GRAM protocol constants)</dd>
        <dt>EXIT_CODE</dt>
            <dd>job exit code if STATE is done or failed.</dd>
</dl>

*/