activate

public void activate(Subscription subscription, SubscriptionCallback callback, StreamObserver<Response> responseObserver)

Activates the subscription created via subscribe() method.

After the activation, the clients will start receiving the updates via the passed SubscriptionCallback.

Parameters

subscription

the subscription to activate

callback

the action which notifies the subscribers about an update

responseObserver

an observer to notify of a successful acknowledgement of the subscription activation

See also