Class EventServiceGrpc (2.17.0)

public final class EventServiceGrpc

A service handles client event report.

Inheritance

java.lang.Object > EventServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(EventServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(EventServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceEventServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateClientEventMethod()

public static MethodDescriptor<CreateClientEventRequest,ClientEvent> getCreateClientEventMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateClientEventRequest,ClientEvent>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static EventServiceGrpc.EventServiceBlockingStub 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
EventServiceGrpc.EventServiceBlockingStub

newFutureStub(Channel channel)

public static EventServiceGrpc.EventServiceFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
EventServiceGrpc.EventServiceFutureStub

newStub(Channel channel)

public static EventServiceGrpc.EventServiceStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
EventServiceGrpc.EventServiceStub