Class SessionControllerGrpc (4.34.0)

public final class SessionControllerGrpc

The SessionController provides methods to manage interactive sessions.

Inheritance

java.lang.Object > SessionControllerGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(SessionControllerGrpc.AsyncService service)

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

getCreateSessionMethod()

public static MethodDescriptor<CreateSessionRequest,Operation> getCreateSessionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateSessionRequest,Operation>

getDeleteSessionMethod()

public static MethodDescriptor<DeleteSessionRequest,Operation> getDeleteSessionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteSessionRequest,Operation>

getGetSessionMethod()

public static MethodDescriptor<GetSessionRequest,Session> getGetSessionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetSessionRequest,Session>

getListSessionsMethod()

public static MethodDescriptor<ListSessionsRequest,ListSessionsResponse> getListSessionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListSessionsRequest,ListSessionsResponse>

getServiceDescriptor()

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

getTerminateSessionMethod()

public static MethodDescriptor<TerminateSessionRequest,Operation> getTerminateSessionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<TerminateSessionRequest,Operation>

newBlockingStub(Channel channel)

public static SessionControllerGrpc.SessionControllerBlockingStub 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
SessionControllerGrpc.SessionControllerBlockingStub

newFutureStub(Channel channel)

public static SessionControllerGrpc.SessionControllerFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SessionControllerGrpc.SessionControllerFutureStub

newStub(Channel channel)

public static SessionControllerGrpc.SessionControllerStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SessionControllerGrpc.SessionControllerStub