Package org.serviceconnector.api.srv
Class SCSessionServerCallback
java.lang.Object
org.serviceconnector.api.srv.SCSessionServerCallback
- All Implemented Interfaces:
ISCSessionServerCallback
The Class SCSessionServerCallback. Abstract class provides basic functions for a session server callback.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSCSessionServerCallback(SCSessionServer scSessionServer) Instantiates a new sC session server callback. -
Method Summary
Modifier and TypeMethodDescriptionvoidabortSession(SCMessage message, int operationTimeoutMillis) Abort session.createSession(SCMessage message, int operationTimeoutMillis) Creates the session.voiddeleteSession(SCMessage message, int operationTimeoutMillis) Delete session.abstract SCMessageExecute.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.serviceconnector.api.srv.ISCSessionServerCallback
exceptionCaught
-
Field Details
-
scSessionServer
The SC session server.
-
-
Constructor Details
-
SCSessionServerCallback
Instantiates a new sC session server callback.- Parameters:
scSessionServer- the sc session server
-
-
Method Details
-
createSession
Description copied from interface:ISCSessionServerCallbackCreates the session.- Specified by:
createSessionin interfaceISCSessionServerCallback- Parameters:
message- the messageoperationTimeoutMillis- the allowed time in milliseconds to complete the operation, observed by SC- Returns:
- the sC message
-
deleteSession
Description copied from interface:ISCSessionServerCallbackDelete session.- Specified by:
deleteSessionin interfaceISCSessionServerCallback- Parameters:
message- the messageoperationTimeoutMillis- the allowed time in milliseconds to complete the operation, observed by SC
-
abortSession
Description copied from interface:ISCSessionServerCallbackAbort session.- Specified by:
abortSessionin interfaceISCSessionServerCallback- Parameters:
message- the messageoperationTimeoutMillis- the allowed time in milliseconds to complete the operation, observed by SC
-
execute
Description copied from interface:ISCSessionServerCallbackExecute.- Specified by:
executein interfaceISCSessionServerCallback- Parameters:
message- the messageoperationTimeoutMillis- the allowed time in milliseconds to complete the operation, observed by SC- Returns:
- the sC message
-