Class SubscriberServiceGrpc (1.6.3)

public final class SubscriberServiceGrpc

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

Inheritance

java.lang.Object > SubscriberServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getSubscribeMethod()

public static MethodDescriptor<SubscribeRequest,SubscribeResponse> getSubscribeMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SubscribeRequest,SubscribeResponse>

newBlockingStub(Channel channel)

public static SubscriberServiceGrpc.SubscriberServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SubscriberServiceGrpc.SubscriberServiceBlockingStub

newFutureStub(Channel channel)

public static SubscriberServiceGrpc.SubscriberServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SubscriberServiceGrpc.SubscriberServiceFutureStub

newStub(Channel channel)

public static SubscriberServiceGrpc.SubscriberServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SubscriberServiceGrpc.SubscriberServiceStub