Class SubscriberServiceGrpc.SubscriberServiceImplBase (1.7.1)

public abstract static class SubscriberServiceGrpc.SubscriberServiceImplBase implements BindableService

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

Inheritance

java.lang.Object > SubscriberServiceGrpc.SubscriberServiceImplBase

Implements

io.grpc.BindableService

Constructors

SubscriberServiceImplBase()

public SubscriberServiceImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

subscribe(StreamObserver<SubscribeResponse> responseObserver)

public 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>