Interface SubscriberServiceGrpc.AsyncService (1.12.22)

public static interface SubscriberServiceGrpc.AsyncService

The service that a subscriber client application uses to receive messages from subscriptions.

Methods

subscribe(StreamObserver<SubscribeResponse> responseObserver)

public default StreamObserver<SubscribeRequest> subscribe(StreamObserver<SubscribeResponse> responseObserver)

Establishes a stream with the server for receiving messages.

Parameter
NameDescription
responseObserverio.grpc.stub.StreamObserver<SubscribeResponse>
Returns
TypeDescription
io.grpc.stub.StreamObserver<SubscribeRequest>