Package org.serviceconnector.cmd.sc
Class ClnUnsubscribeCommandCallback
java.lang.Object
org.serviceconnector.cmd.sc.ClnUnsubscribeCommandCallback
- All Implemented Interfaces:
ISCMPMessageCallback,ISubscriptionCallback
public class ClnUnsubscribeCommandCallback
extends Object
implements ISCMPMessageCallback, ISubscriptionCallback
The Class ClnUnsubscribeCommandCallback.
-
Constructor Summary
ConstructorsConstructorDescriptionClnUnsubscribeCommandCallback(IRequest request, IResponse response, IResponderCallback responderCallback, Subscription subscription) Instantiates a new cln unsubscribe command callback. -
Method Summary
Modifier and TypeMethodDescriptionGets the request.Gets the subscription.voidCallback.voidreceive(SCMPMessage reply) Callback.
-
Constructor Details
-
ClnUnsubscribeCommandCallback
public ClnUnsubscribeCommandCallback(IRequest request, IResponse response, IResponderCallback responderCallback, Subscription subscription) Instantiates a new cln unsubscribe 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
-
getSubscription
Gets the subscription.- Specified by:
getSubscriptionin interfaceISubscriptionCallback- Returns:
- the subscription
-
getRequest
Description copied from interface:ISubscriptionCallbackGets the request.- Specified by:
getRequestin interfaceISubscriptionCallback- Returns:
- the request
-