Interface SyncEventSubscriptionApiOp

All Superinterfaces:
APIOperation
All Known Subinterfaces:
ConnectorFacade

public interface SyncEventSubscriptionApiOp extends APIOperation
Since:
1.5
  • Method Details

    • subscribe

      Subscription subscribe(ObjectClass objectClass, SyncToken token, Observer<SyncDelta> handler, OperationOptions operationOptions)
      Create a subscription to a given sync topic.
      Parameters:
      objectClass - the object class
      handler - the Observer that will handle emissions and notifications from the Observable
      operationOptions - the operation options
      Returns:
      a Subscription reference with which the Observer can stop receiving items before the Observable has completed
      Throws:
      RuntimeException - when the operation failed to create subscription.