Package gql
Class SessionServiceGrpc.SessionServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<SessionServiceGrpc.SessionServiceBlockingStub>
gql.SessionServiceGrpc.SessionServiceBlockingStub
- Enclosing class:
- SessionServiceGrpc
public static final class SessionServiceGrpc.SessionServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<SessionServiceGrpc.SessionServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service SessionService.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) close(GqlServiceOuterClass.CloseRequest request) Terminate the session.Configure session state (schema, graph, timezone, parameters).Establish a session.ping(GqlServiceOuterClass.PingRequest request) Health check and keepalive.reset(GqlServiceOuterClass.ResetRequest request) Reset session state to defaults.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected SessionServiceGrpc.SessionServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SessionServiceGrpc.SessionServiceBlockingStub>
-
handshake
public GqlServiceOuterClass.HandshakeResponse handshake(GqlServiceOuterClass.HandshakeRequest request) Establish a session. Negotiates protocol version and authenticates.
-
configure
public GqlServiceOuterClass.ConfigureResponse configure(GqlServiceOuterClass.ConfigureRequest request) Configure session state (schema, graph, timezone, parameters).
-
reset
Reset session state to defaults.
-
close
Terminate the session. Rolls back any active transaction.
-
ping
Health check and keepalive.
-