Class Notifications2ApiImpl

java.lang.Object
com.cumulocity.sdk.client.notification2.internal.Notifications2ApiImpl
All Implemented Interfaces:
Notifications2Api

public class Notifications2ApiImpl extends Object implements Notifications2Api
Implements Notifications2Api based on our latest Core/Pulsar magic. Hides most of the complexity from the final subscriber.

There are two main components encapsulating notifications logic:
  • this class - keeps internal subscriptions cache and creates necessary platform objects
  • WebSocketClient - created for each subscription, responsible for establishing and maintaining websocket connection and tokens management