Class SessionControllerGrpc (4.52.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
Type Description
String

Static Methods

bindService(SessionControllerGrpc.AsyncService service)

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

getCreateSessionMethod()

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

getDeleteSessionMethod()

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

getGetSessionMethod()

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

getListSessionsMethod()

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

getServiceDescriptor()

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

getTerminateSessionMethod()

public static MethodDescriptor<TerminateSessionRequest,Operation> getTerminateSessionMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
SessionControllerGrpc.SessionControllerStub