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