Interface SyncEventSubscriptionApiOp
-
- All Superinterfaces:
APIOperation
- All Known Subinterfaces:
ConnectorFacade
public interface SyncEventSubscriptionApiOp extends APIOperation
- Since:
- 1.5
-
-
Field Summary
-
Fields inherited from interface org.identityconnectors.framework.api.operations.APIOperation
NO_TIMEOUT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Subscription
subscribe(ObjectClass objectClass, SyncToken token, Observer<SyncDelta> handler, OperationOptions operationOptions)
Create a subscription to a given sync topic.
-
-
-
Method Detail
-
subscribe
Subscription subscribe(ObjectClass objectClass, SyncToken token, Observer<SyncDelta> handler, OperationOptions operationOptions)
Create a subscription to a given sync topic.- Parameters:
objectClass
- the object classhandler
- the Observer that will handle emissions and notifications from the ObservableoperationOptions
- the operation options- Returns:
- a
Subscription
reference with which theObserver
can stop receiving items before the Observable has completed - Throws:
java.lang.RuntimeException
- when the operation failed to create subscription.
-
-