Java Globus API: Class GRAMProtocol

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
static String APPLICATION
           
static String CALLBACK_URL
           
static String CANCEL
           
static int GRAM_PROTOCOL_VERSION
           
static String JOB_STATE_MASK
           
static String PROTOCOL_VERSION
           
static String PROTOCOL_VERSION_LINE
           
static String REGISTER
           
static String RSL
           
static String SIGNAL
           
static String STATUS
           
static String UNREGISTER
           
 
Fields inherited from class org.globus.util.http.HTTPProtocol
CHUNKED, CHUNKING, CONNECTION, CONNECTION_CLOSE, CONTENT_LENGTH, CONTENT_TYPE, CRLF, HOST, HTTP_VERSION, METHOD, SERVER, USER_AGENT
 
Constructor Summary
GRAMProtocol()
           
 
Method Summary
static String CANCEL_JOB(String jobmanager_url, String hostname)
           
static String OKReply()
           
static String PING(String servicename, String hostname)
           
static String REGISTER_CALLBACK(String jobmanager_url, String hostname, int state_mask, String callback_url)
           
static String REQUEST(String servicename, String hostname, int state_mask, String callback_url, String rsl_string)
           
static String SIGNAL(String jobmanager_url, String hostname, int signal, String arg)
           
static String STATUS_POLL(String jobmanager_url, String hostname)
           
static String UNREGISTER_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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GRAM_PROTOCOL_VERSION

public static final int GRAM_PROTOCOL_VERSION

APPLICATION

public static final String APPLICATION

PROTOCOL_VERSION

public static final String PROTOCOL_VERSION

JOB_STATE_MASK

public static final String JOB_STATE_MASK

CALLBACK_URL

public static final String CALLBACK_URL

RSL

public static final String RSL

STATUS

public static final String STATUS

CANCEL

public static final String CANCEL

REGISTER

public static final String REGISTER

UNREGISTER

public static final String UNREGISTER

SIGNAL

public static final String SIGNAL

PROTOCOL_VERSION_LINE

public static final String PROTOCOL_VERSION_LINE
Constructor Detail

GRAMProtocol

public GRAMProtocol()
Method Detail

REQUEST

public static String REQUEST(String servicename,
                             String hostname,
                             int state_mask,
                             String callback_url,
                             String rsl_string)

PING

public static String PING(String servicename,
                          String hostname)

STATUS_POLL

public static String STATUS_POLL(String jobmanager_url,
                                 String hostname)

SIGNAL

public static String SIGNAL(String jobmanager_url,
                            String hostname,
                            int signal,
                            String arg)

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)

CANCEL_JOB

public static String CANCEL_JOB(String jobmanager_url,
                                String hostname)

OKReply

public static String OKReply()