Package org.serviceconnector.cmd.sc
Class CommandCallback
java.lang.Object
org.serviceconnector.util.SynchronousCallback
org.serviceconnector.cmd.sc.CommandCallback
- All Implemented Interfaces:
ISCMPMessageCallback,ISCMPSynchronousCallback
The Class CommandCallback. CommandCallback might be used in a command if executing the command jobs needs a callback. Error handling is addressed by this callback.
-
Field Summary
Fields inherited from class org.serviceconnector.util.SynchronousCallback
answer, synchronous -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.serviceconnector.util.SynchronousCallback
getMessageSync, receive
-
Constructor Details
-
CommandCallback
public CommandCallback(boolean synchronous) Instantiates a new command callback.- Parameters:
synchronous- the synchronous
-
-
Method Details
-
receive
Callback. This method gets informed in case of an error.- Specified by:
receivein interfaceISCMPMessageCallback- Specified by:
receivein interfaceISCMPSynchronousCallback- Overrides:
receivein classSynchronousCallback- Parameters:
ex- the ex
-