Class SessionServiceGrpc
java.lang.Object
io.deephaven.proto.backplane.grpc.SessionServiceGrpc
@Generated(value="by gRPC proto compiler (version 1.63.1)",
comments="Source: deephaven_core/proto/session.proto")
public final class SessionServiceGrpc
extends Object
User supplied Flight.Ticket(s) should begin with 'e' byte followed by an signed little-endian int. The client is only allowed to use the positive exportId key-space (client generated exportIds should be greater than 0). The client is encouraged to use a packed ranges of ids as this yields the smallest footprint server side for long running sessions. The client is responsible for releasing all Flight.Tickets that they create or that were created for them via a gRPC call. The documentation for the gRPC call will indicate that the exports must be released. Exports that need to be released will always be communicated over the session's ExportNotification stream. When a session ends, either explicitly or due to timeout, all exported objects in that session are released automatically. Some parts of the API return a Flight.Ticket that does not need to be released. It is not an error to attempt to release them.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
User supplied Flight.Ticket(s) should begin with 'e' byte followed by an signed little-endian int.static final class
A stub to allow clients to do synchronous rpc calls to service SessionService.static final class
A stub to allow clients to do ListenableFuture-style rpc calls to service SessionService.static class
Base class for the server implementation of the service SessionService.static final class
A stub to allow clients to do asynchronous rpc calls to service SessionService. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinition
static io.grpc.MethodDescriptor<HandshakeRequest,
CloseSessionResponse> static io.grpc.MethodDescriptor<ExportRequest,
ExportResponse> static io.grpc.MethodDescriptor<ExportNotificationRequest,
ExportNotification> static io.grpc.MethodDescriptor<HandshakeRequest,
HandshakeResponse> static io.grpc.MethodDescriptor<PublishRequest,
PublishResponse> static io.grpc.MethodDescriptor<HandshakeRequest,
HandshakeResponse> static io.grpc.MethodDescriptor<ReleaseRequest,
ReleaseResponse> static io.grpc.ServiceDescriptor
static io.grpc.MethodDescriptor<TerminationNotificationRequest,
TerminationNotificationResponse> newBlockingStub
(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewFutureStub
(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub
(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getNewSessionMethod
-
getRefreshSessionTokenMethod
public static io.grpc.MethodDescriptor<HandshakeRequest,HandshakeResponse> getRefreshSessionTokenMethod() -
getCloseSessionMethod
public static io.grpc.MethodDescriptor<HandshakeRequest,CloseSessionResponse> getCloseSessionMethod() -
getReleaseMethod
-
getExportFromTicketMethod
-
getPublishFromTicketMethod
-
getExportNotificationsMethod
public static io.grpc.MethodDescriptor<ExportNotificationRequest,ExportNotification> getExportNotificationsMethod() -
getTerminationNotificationMethod
public static io.grpc.MethodDescriptor<TerminationNotificationRequest,TerminationNotificationResponse> getTerminationNotificationMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
public static SessionServiceGrpc.SessionServiceBlockingStub newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(SessionServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-