com.sun.grid.jgrid.server
Interface JCEP

All Known Implementing Classes:
JCEPProtocolModule, JCEPVersion10Module

public interface JCEP

The JCEP interface defines the codes used by the JCEP client and server to communicate with each other.

Since:
0.2

Field Summary
static byte CANCEL_JOB
          Cancel an executing job.
static byte CHECKPOINT_JOB
          Checkpointing an executing job.
static byte COMMAND_FAILED
          The JCEP command has failed.
static int HANDSHAKE
          Passed at the beginning of a conversation
static byte JOB_CHECKPOINTED
          The executing job has been sucessfully checkpointed.
static byte JOB_STATE_CHANGE
          The executing job job has changed state.
static byte LOG_ERROR
          An error from an executing job.
static byte LOG_MESSAGE
          A message from an executing job.
static int PORT
          The default port number to use for a JCEP socket
static byte REGISTER
          Register for messages from a running job.
static byte RESUME
          Resume a suspended job
static byte SHUTDOWN
          Shutdown the JCEP server.
static byte SHUTTING_DOWN
          The JCEP server is shutting down.
static byte STATE_COMPLETED
          The job is now completed
static byte STATE_FAILED
          The job has failed
static byte STATE_RUNNING
          The job is now running
static byte STATE_STOPPED
          The job is now stopped
static byte STATE_SUSPENDED
          The job is now suspended
static byte SUBMIT_JOB
          Submit a job for execution.
static byte SUSPEND
          Suspend an executing job
static byte UNREGISTER
          Unregister for messages for a job.
static byte VERSION10
          Version 1.0
 

Field Detail

PORT

public static final int PORT
The default port number to use for a JCEP socket

See Also:
Constant Field Values

HANDSHAKE

public static final int HANDSHAKE
Passed at the beginning of a conversation

See Also:
Constant Field Values

VERSION10

public static final byte VERSION10
Version 1.0

See Also:
Constant Field Values

SUBMIT_JOB

public static final byte SUBMIT_JOB
Submit a job for execution.

See Also:
Constant Field Values

CANCEL_JOB

public static final byte CANCEL_JOB
Cancel an executing job.

See Also:
Constant Field Values

CHECKPOINT_JOB

public static final byte CHECKPOINT_JOB
Checkpointing an executing job.

See Also:
Constant Field Values

SHUTDOWN

public static final byte SHUTDOWN
Shutdown the JCEP server.

See Also:
Constant Field Values

REGISTER

public static final byte REGISTER
Register for messages from a running job.

See Also:
Constant Field Values

UNREGISTER

public static final byte UNREGISTER
Unregister for messages for a job.

See Also:
Constant Field Values

SUSPEND

public static final byte SUSPEND
Suspend an executing job

See Also:
Constant Field Values

RESUME

public static final byte RESUME
Resume a suspended job

See Also:
Constant Field Values

LOG_MESSAGE

public static final byte LOG_MESSAGE
A message from an executing job.

See Also:
Constant Field Values

LOG_ERROR

public static final byte LOG_ERROR
An error from an executing job.

See Also:
Constant Field Values

JOB_STATE_CHANGE

public static final byte JOB_STATE_CHANGE
The executing job job has changed state.

See Also:
Constant Field Values

COMMAND_FAILED

public static final byte COMMAND_FAILED
The JCEP command has failed.

See Also:
Constant Field Values

JOB_CHECKPOINTED

public static final byte JOB_CHECKPOINTED
The executing job has been sucessfully checkpointed.

See Also:
Constant Field Values

SHUTTING_DOWN

public static final byte SHUTTING_DOWN
The JCEP server is shutting down. All jobs will be stopped.

See Also:
Constant Field Values

STATE_RUNNING

public static final byte STATE_RUNNING
The job is now running

See Also:
Constant Field Values

STATE_SUSPENDED

public static final byte STATE_SUSPENDED
The job is now suspended

See Also:
Constant Field Values

STATE_STOPPED

public static final byte STATE_STOPPED
The job is now stopped

See Also:
Constant Field Values

STATE_COMPLETED

public static final byte STATE_COMPLETED
The job is now completed

See Also:
Constant Field Values

STATE_FAILED

public static final byte STATE_FAILED
The job has failed

See Also:
Constant Field Values