Class InventoryRealtimeNotificationsSubscriber
java.lang.Object
com.cumulocity.sdk.client.cep.notification.InventoryRealtimeNotificationsSubscriber
- All Implemented Interfaces:
Subscriber<String,
ManagedObjectNotification>
@Deprecated
public class InventoryRealtimeNotificationsSubscriber
extends Object
implements Subscriber<String,ManagedObjectNotification>
Deprecated.
This subscriber does not support realtime DELETE actions.
Please use instead InventoryRealtimeDeleteAwareNotificationsSubscriber.java
-
Constructor Summary
ConstructorDescriptionDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.subscribe
(String channelID, SubscribeOperationListener subscribeOperationListener, SubscriptionListener<String, ManagedObjectNotification> handler, boolean autoRetry) Deprecated.subscribe
(String channelID, SubscriptionListener<String, ManagedObjectNotification> handler) Deprecated.This method does NOT allow to receive device realtime DELETE actions
-
Constructor Details
-
InventoryRealtimeNotificationsSubscriber
Deprecated.
-
-
Method Details
-
subscribe
public Subscription<String> subscribe(String channelID, SubscriptionListener<String, ManagedObjectNotification> handler) throws SDKExceptionDeprecated.This method does NOT allow to receive device realtime DELETE actions- Specified by:
subscribe
in interfaceSubscriber<String,
ManagedObjectNotification> - Throws:
SDKException
-
subscribe
public Subscription<String> subscribe(String channelID, SubscribeOperationListener subscribeOperationListener, SubscriptionListener<String, ManagedObjectNotification> handler, boolean autoRetry) throws SDKExceptionDeprecated.- Specified by:
subscribe
in interfaceSubscriber<String,
ManagedObjectNotification> - Throws:
SDKException
-
disconnect
public void disconnect()Deprecated.- Specified by:
disconnect
in interfaceSubscriber<String,
ManagedObjectNotification>
-