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
Constructors Constructor Description InventoryRealtimeNotificationsSubscriber(PlatformParameters parameters)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
disconnect()
Deprecated.Subscription<String>
subscribe(String channelID, SubscribeOperationListener subscribeOperationListener, SubscriptionListener<String,ManagedObjectNotification> handler, boolean autoRetry)
Deprecated.Subscription<String>
subscribe(String channelID, SubscriptionListener<String,ManagedObjectNotification> handler)
Deprecated.This method does NOT allow to receive device realtime DELETE actions
-
-
-
Constructor Detail
-
InventoryRealtimeNotificationsSubscriber
public InventoryRealtimeNotificationsSubscriber(PlatformParameters parameters)
Deprecated.
-
-
Method Detail
-
subscribe
public Subscription<String> subscribe(String channelID, SubscriptionListener<String,ManagedObjectNotification> handler) throws SDKException
Deprecated.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 SDKException
Deprecated.- Specified by:
subscribe
in interfaceSubscriber<String,ManagedObjectNotification>
- Throws:
SDKException
-
disconnect
public void disconnect()
Deprecated.- Specified by:
disconnect
in interfaceSubscriber<String,ManagedObjectNotification>
-
-