Class OperationNotificationSubscriber
java.lang.Object
com.cumulocity.sdk.client.devicecontrol.notification.OperationNotificationSubscriber
- All Implemented Interfaces:
Subscriber<GId,
OperationRepresentation>
public class OperationNotificationSubscriber
extends Object
implements Subscriber<GId,OperationRepresentation>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
subscribe
(GId agentId, SubscribeOperationListener subscribeOperationListener, SubscriptionListener<GId, OperationRepresentation> handler, boolean autoRetry) subscribe
(GId agentId, SubscriptionListener<GId, OperationRepresentation> handler)
-
Field Details
-
DEVICE_CONTROL_NOTIFICATIONS_URL
- See Also:
-
-
Constructor Details
-
OperationNotificationSubscriber
-
-
Method Details
-
subscribe
public Subscription<GId> subscribe(GId agentId, SubscriptionListener<GId, OperationRepresentation> handler) throws SDKException- Specified by:
subscribe
in interfaceSubscriber<GId,
OperationRepresentation> - Throws:
SDKException
-
subscribe
public Subscription<GId> subscribe(GId agentId, SubscribeOperationListener subscribeOperationListener, SubscriptionListener<GId, OperationRepresentation> handler, boolean autoRetry) throws SDKException- Specified by:
subscribe
in interfaceSubscriber<GId,
OperationRepresentation> - Throws:
SDKException
-
disconnect
public void disconnect()- Specified by:
disconnect
in interfaceSubscriber<GId,
OperationRepresentation>
-