Package org.globus.gram.internal
Class GRAMProtocol
- java.lang.Object
-
- org.globus.util.http.HTTPProtocol
-
- org.globus.gram.internal.GRAMProtocol
-
public class GRAMProtocol extends HTTPProtocol
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPPLICATIONstatic StringCALLBACK_URLstatic StringCANCELstatic intGRAM_PROTOCOL_VERSIONstatic StringJOB_STATE_MASKstatic StringPROTOCOL_VERSIONstatic StringPROTOCOL_VERSION_LINEstatic StringREGISTERstatic StringRENEWstatic StringRSLstatic StringSIGNALstatic StringSTATUSstatic StringUNREGISTER-
Fields inherited from class org.globus.util.http.HTTPProtocol
CHUNKED, CHUNKING, CONNECTION, CONNECTION_CLOSE, CONTENT_LENGTH, CONTENT_TYPE, CRLF, HOST, HTTP_VERSION, LOCATION, METHOD, SERVER, USER_AGENT
-
-
Constructor Summary
Constructors Constructor Description GRAMProtocol()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringCANCEL_JOB(String jobmanager_url, String hostname)static StringOKReply()static StringPING(String servicename, String hostname)static StringREGISTER_CALLBACK(String jobmanager_url, String hostname, int state_mask, String callback_url)static StringRENEW(String jobmanager_url, String hostname)static StringREQUEST(String servicename, String hostname, int state_mask, String callback_url, String rsl_string)static StringSIGNAL(String jobmanager_url, String hostname, int signal, String arg)static StringSTATUS_POLL(String jobmanager_url, String hostname)static StringUNREGISTER_CALLBACK(String jobmanager_url, String hostname, String callback_url)-
Methods inherited from class org.globus.util.http.HTTPProtocol
createGETHeader, createHTTPHeader, createPUTHeader, ErrorReply, getBadRequestErrorReply, getErrorReply, getFileNotFoundErrorReply, getForbiddenErrorReply, getOKReply, getOKReply, getServerErrorReply
-
-
-
-
Field Detail
-
GRAM_PROTOCOL_VERSION
public static final int GRAM_PROTOCOL_VERSION
- See Also:
- Constant Field Values
-
APPLICATION
public static final String APPLICATION
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION
public static final String PROTOCOL_VERSION
- See Also:
- Constant Field Values
-
JOB_STATE_MASK
public static final String JOB_STATE_MASK
- See Also:
- Constant Field Values
-
CALLBACK_URL
public static final String CALLBACK_URL
- See Also:
- Constant Field Values
-
RSL
public static final String RSL
- See Also:
- Constant Field Values
-
STATUS
public static final String STATUS
- See Also:
- Constant Field Values
-
CANCEL
public static final String CANCEL
- See Also:
- Constant Field Values
-
REGISTER
public static final String REGISTER
- See Also:
- Constant Field Values
-
UNREGISTER
public static final String UNREGISTER
- See Also:
- Constant Field Values
-
SIGNAL
public static final String SIGNAL
- See Also:
- Constant Field Values
-
RENEW
public static final String RENEW
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_LINE
public static final String PROTOCOL_VERSION_LINE
- See Also:
- Constant Field Values
-
-
Method Detail
-
REQUEST
public static String REQUEST(String servicename, String hostname, int state_mask, String callback_url, String rsl_string)
-
REGISTER_CALLBACK
public static String REGISTER_CALLBACK(String jobmanager_url, String hostname, int state_mask, String callback_url)
-
UNREGISTER_CALLBACK
public static String UNREGISTER_CALLBACK(String jobmanager_url, String hostname, String callback_url)
-
OKReply
public static String OKReply()
-
-