Package org.serviceconnector.cmd.sc
Class ClnChangeSubscriptionCommandCallback
java.lang.Object
org.serviceconnector.cmd.sc.ClnChangeSubscriptionCommandCallback
- All Implemented Interfaces:
ISCMPMessageCallback,ISubscriptionCallback
public class ClnChangeSubscriptionCommandCallback
extends Object
implements ISCMPMessageCallback, ISubscriptionCallback
The Class ClnChangeSubscriptionCommandCallback.
-
Constructor Summary
ConstructorsConstructorDescriptionClnChangeSubscriptionCommandCallback(IRequest request, IResponse response, IResponderCallback responderCallback, Subscription subscription) Instantiates a new cln change subscription command callback. -
Method Summary
Modifier and TypeMethodDescriptionGets the request.Gets the subscription.voidCallback.voidreceive(SCMPMessage reply) Callback.
-
Constructor Details
-
ClnChangeSubscriptionCommandCallback
public ClnChangeSubscriptionCommandCallback(IRequest request, IResponse response, IResponderCallback responderCallback, Subscription subscription) Instantiates a new cln change subscription command callback.- Parameters:
request- the requestresponse- the responseresponderCallback- the responder callbacksubscription- the subscription
-
-
Method Details
-
receive
Callback. This method gets informed when a message received.- Specified by:
receivein interfaceISCMPMessageCallback- Parameters:
reply- the scmp reply
-
receive
Callback. This method gets informed in case of an error.- Specified by:
receivein interfaceISCMPMessageCallback- Parameters:
ex- the ex
-
getRequest
Gets the request.- Specified by:
getRequestin interfaceISubscriptionCallback- Returns:
- the request
-
getSubscription
Gets the subscription.- Specified by:
getSubscriptionin interfaceISubscriptionCallback- Returns:
- the subscription
-