<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <!-- THIS FILE IS AUTOMATICALLY GENERATED FROM THE GLOBUS SOURCE CODE DO NOT MODIFY. --> <title>Globus Reference Manual</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li class="current"><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> </ul> </div> </div> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> initNavTree('seg_protocol.html',''); </script> <div id="doc-content"> <div class="header"> <div class="headertitle"> <div class="title">SEG Protocol </div> </div> </div> <div class="contents"> <div class="textblock"><p>The general form for the SEG protocol messages is</p> <div class="fragment"><pre class="fragment"> MESSAGE-TYPE;TIMESTAMP;message-type-specific content </pre></div><ul> <li><em>MESSAGE-TYPE</em> is a three-digit integer. The JSM will parse the message contents based on the message type.</li> </ul> <ul> <li><em>TIMESTAMP</em> is an unsigned value indicating seconds since the UNIX epoch.</li> </ul> <h2><a class="anchor" id="seg_protocol_messages"></a> Message Types</h2> <h3><a class="anchor" id="seg_protocol_001"></a> 001 - Job State Change</h3> <div class="fragment"><pre class="fragment"> Message Format: 001;TIMESTAMP;JOBID;STATE;EXIT_CODE </pre></div><p>Message Type Specific Content:</p> <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> </div></div> </div> <div id="nav-path" class="navpath"> <ul> <hr> <p align="center"> <a href="http://www.globus.org/toolkit/about.html" target="_top">about globus</a> | <a href="http://www.globus.org/toolkit/" target="_top">globus toolkit</a> | <a href="https://dev.globus.org/wiki/Welcome/" target="_top">dev.globus</a> <br> <br> Comments? <a href="mailto:webmaster@globus.org">webmaster@globus.org</a> </body> </html>