Class SessionServiceGrpc (0.1.0)

public final class SessionServiceGrpc

Session service provides APIs for interacting with CES agents.

Inheritance

java.lang.Object > SessionServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(SessionServiceGrpc.AsyncService service)

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

getBidiRunSessionMethod()

public static MethodDescriptor<BidiSessionClientMessage,BidiSessionServerMessage> getBidiRunSessionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<BidiSessionClientMessage,BidiSessionServerMessage>

getRunSessionMethod()

public static MethodDescriptor<RunSessionRequest,RunSessionResponse> getRunSessionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<RunSessionRequest,RunSessionResponse>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static SessionServiceGrpc.SessionServiceBlockingStub 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
SessionServiceGrpc.SessionServiceBlockingStub

newBlockingV2Stub(Channel channel)

public static SessionServiceGrpc.SessionServiceBlockingV2Stub newBlockingV2Stub(Channel channel)

Creates a new blocking-style stub that supports all types of calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
SessionServiceGrpc.SessionServiceBlockingV2Stub

newFutureStub(Channel channel)

public static SessionServiceGrpc.SessionServiceFutureStub 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
SessionServiceGrpc.SessionServiceFutureStub

newStub(Channel channel)

public static SessionServiceGrpc.SessionServiceStub 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
SessionServiceGrpc.SessionServiceStub