|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The JCEPListener interface abstracts the JCEPHandler from the JCEPProtocolModule. It defines the methods which an implemention of a JCEP handler must implement to allow for inbound communications from the client.
JCEPVersion10Module
Method Summary | |
void |
cancelJob(java.lang.String jobId)
Cancel an executing Job |
void |
checkpoint(java.lang.String jobId)
Checkpoint an executing Job |
void |
register(java.lang.String jobId)
Register for messages from an executing Job |
void |
resume(java.lang.String jobId)
Resume a suspended Job |
void |
shutdown()
Shutdown this JCEP server |
void |
submitJob(Job job)
Submit the Job for execution |
void |
suspend(java.lang.String jobId)
Suspend an executing Job |
void |
unregister(java.lang.String jobId)
Unregister for messages from a Job. |
Method Detail |
public void shutdown() throws CommandFailedException
CommandFailedException
- if the command was unable to complete sucessfullypublic void cancelJob(java.lang.String jobId) throws CommandFailedException
jobId
- The id of the Job to cancel
CommandFailedException
- if the command was unable to complete sucessfullypublic void submitJob(Job job) throws CommandFailedException
job
- The Job object to execute
CommandFailedException
- if the command was unable to complete sucessfullypublic void checkpoint(java.lang.String jobId) throws CommandFailedException
jobId
- The id of the Job to checkpoint
CommandFailedException
- if the command was unable to complete sucessfullypublic void register(java.lang.String jobId) throws CommandFailedException
jobId
- The id of the Job to which to attach
CommandFailedException
- if the command was unable to complete sucessfullypublic void unregister(java.lang.String jobId) throws CommandFailedException
jobId
- The id of the Job from which to detach
CommandFailedException
- if the command was unable to complete sucessfullypublic void suspend(java.lang.String jobId) throws CommandFailedException
jobId
- The id of the Job to suspend
CommandFailedException
- if the command was unable to complete sucessfullypublic void resume(java.lang.String jobId) throws CommandFailedException
jobId
- The id of the Job to resume
CommandFailedException
- if the command was unable to complete sucessfully
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |