File: protocol.dox

package info (click to toggle)
globus-scheduler-event-generator 6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,796 kB
  • sloc: sh: 11,855; ansic: 2,279; makefile: 219; perl: 91
file content (35 lines) | stat: -rw-r--r-- 891 bytes parent folder | download | duplicates (2)
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
34
35
/**
@page seg_protocol
@brief 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>

*/