Class SubscriberServiceGrpc (1.13.6)

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
Type Description
String

Static Methods

bindService(SubscriberServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(SubscriberServiceGrpc.AsyncService service)
Parameter
Name Description
service SubscriberServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getSubscribeMethod()

public static MethodDescriptor<SubscribeRequest,SubscribeResponse> getSubscribeMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
SubscriberServiceGrpc.SubscriberServiceStub