Package org.serviceconnector.api.srv
Class SCPublishServerCallback
java.lang.Object
org.serviceconnector.api.srv.SCPublishServerCallback
- All Implemented Interfaces:
ISCPublishServerCallback
The Class SCPublishServerCallback. Abstract class provides basic functions for a publish server callback.
- Author:
- JTraber
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSCPublishServerCallback(SCPublishServer scPublishServer) Instantiates a new SCPublishServerCallback. -
Method Summary
Modifier and TypeMethodDescriptionvoidabortSubscription(SCSubscribeMessage scMessage, int operationTimeoutMillis) Abort subscription.changeSubscription(SCSubscribeMessage message, int operationTimeoutMillis) Change subscription.subscribe(SCSubscribeMessage message, int operationTimeoutMillis) Subscribe.voidunsubscribe(SCSubscribeMessage message, int operationTimeoutMillis) Unsubscribe.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.ISCPublishServerCallback
exceptionCaught
-
Field Details
-
scPublishServer
The SC publish server.
-
-
Constructor Details
-
SCPublishServerCallback
Instantiates a new SCPublishServerCallback.- Parameters:
scPublishServer- the server
-
-
Method Details
-
subscribe
Description copied from interface:ISCPublishServerCallbackSubscribe.- Specified by:
subscribein interfaceISCPublishServerCallback- Parameters:
message- the messageoperationTimeoutMillis- the allowed time in milliseconds to complete the operation, observed by SC- Returns:
- the sC message
-
changeSubscription
Description copied from interface:ISCPublishServerCallbackChange subscription.- Specified by:
changeSubscriptionin interfaceISCPublishServerCallback- Parameters:
message- the messageoperationTimeoutMillis- the allowed time in milliseconds to complete the operation, observed by SC- Returns:
- the sC message
-
unsubscribe
Description copied from interface:ISCPublishServerCallbackUnsubscribe.- Specified by:
unsubscribein interfaceISCPublishServerCallback- Parameters:
message- the messageoperationTimeoutMillis- the allowed time in milliseconds to complete the operation, observed by SC
-
abortSubscription
Description copied from interface:ISCPublishServerCallbackAbort subscription.- Specified by:
abortSubscriptionin interfaceISCPublishServerCallback- Parameters:
scMessage- the sc messageoperationTimeoutMillis- the allowed time in milliseconds to complete the operation, observed by SC
-