Class ControllerApiGrpc.ControllerApiStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ControllerApiGrpc.ControllerApiStub>
io.deephaven.proto.controller.grpc.ControllerApiGrpc.ControllerApiStub
- Enclosing class:
- ControllerApiGrpc
public static final class ControllerApiGrpc.ControllerApiStub
extends io.grpc.stub.AbstractAsyncStub<ControllerApiGrpc.ControllerApiStub>
A stub to allow clients to do asynchronous rpc calls to service ControllerApi.
-
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 TypeMethodDescriptionvoidaddQuery(AddQueryRequest request, io.grpc.stub.StreamObserver<AddQueryResponse> responseObserver) These are for query managementvoidauthenticate(AuthenticationRequest request, io.grpc.stub.StreamObserver<AuthenticationResponse> responseObserver) Given a token and client ID from the auth service, authenticate and return a cookie for future use on this service.protected ControllerApiGrpc.ControllerApiStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voiddeserializeQueryConfiguration(DeserializeQueryConfigurationRequest request, io.grpc.stub.StreamObserver<DeserializeQueryConfigurationResponse> responseObserver) voiddetermineDispatcher(DetermineDispatcherRequest request, io.grpc.stub.StreamObserver<DetermineDispatcherResponse> responseObserver) voidgetConfiguration(GetConfigurationRequest request, io.grpc.stub.StreamObserver<GetConfigurationResponse> responseObserver) Simple unary to request the current configuration, as an alternative to having it pushed via subscribe, or requesting it on authenticate.voidgetScript(GetScriptRequest request, io.grpc.stub.StreamObserver<GetScriptResponse> responseObserver) voidgetScriptPaths(GetScriptPathsRequest request, io.grpc.stub.StreamObserver<GetScriptPathsResponse> responseObserver) Script commandsvoidinvalidateCookie(InvalidateCookieRequest request, io.grpc.stub.StreamObserver<InvalidateCookieResponse> responseObserver) voidmodifyQuery(ModifyQueryRequest request, io.grpc.stub.StreamObserver<ModifyQueryResponse> responseObserver) voidping(PingRequest request, io.grpc.stub.StreamObserver<PingResponse> responseObserver) Simple no-op to verify connectivity.voidreloadConfig(ReloadConfigRequest request, io.grpc.stub.StreamObserver<ReloadConfigResponse> responseObserver) voidremoveQuery(RemoveQueryRequest request, io.grpc.stub.StreamObserver<RemoveQueryResponse> responseObserver) voidrestartQuery(RestartQueryRequest request, io.grpc.stub.StreamObserver<RestartQueryResponse> responseObserver) voidrestartReplica(RestartReplicaRequest request, io.grpc.stub.StreamObserver<RestartReplicaResponse> responseObserver) voidselectionProviderAdmin(ServerSelectionAdminRequest request, io.grpc.stub.StreamObserver<ServerSelectionAdminResponse> responseObserver) voidselectionProviderStatus(ServerSelectionStatusRequest request, io.grpc.stub.StreamObserver<ServerSelectionStatusResponse> responseObserver) voidserializeQueryConfiguration(SerializeQueryConfigurationRequest request, io.grpc.stub.StreamObserver<SerializeQueryConfigurationResponse> responseObserver) XML import and exportvoidstatusUpdate(StatusUpdateRequest request, io.grpc.stub.StreamObserver<StatusUpdateResponse> responseObserver) Configuration commandsvoidstopQuery(StopQueryRequest request, io.grpc.stub.StreamObserver<StopQueryResponse> responseObserver) voidstopReplica(StopReplicaRequest request, io.grpc.stub.StreamObserver<StopReplicaResponse> responseObserver) voidsubscribe(SubscribeRequest request, io.grpc.stub.StreamObserver<SubscribeResponse> responseObserver) Subscribes to a stream of query configuration/state changes, as well as controller configuration changes.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ControllerApiGrpc.ControllerApiStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ControllerApiGrpc.ControllerApiStub>
-
authenticate
public void authenticate(AuthenticationRequest request, io.grpc.stub.StreamObserver<AuthenticationResponse> responseObserver) Given a token and client ID from the auth service, authenticate and return a cookie for future use on this service. Optionally will send controller configuration.
-
addQuery
public void addQuery(AddQueryRequest request, io.grpc.stub.StreamObserver<AddQueryResponse> responseObserver) These are for query management
-
removeQuery
public void removeQuery(RemoveQueryRequest request, io.grpc.stub.StreamObserver<RemoveQueryResponse> responseObserver) -
modifyQuery
public void modifyQuery(ModifyQueryRequest request, io.grpc.stub.StreamObserver<ModifyQueryResponse> responseObserver) -
restartQuery
public void restartQuery(RestartQueryRequest request, io.grpc.stub.StreamObserver<RestartQueryResponse> responseObserver) -
stopQuery
public void stopQuery(StopQueryRequest request, io.grpc.stub.StreamObserver<StopQueryResponse> responseObserver) -
restartReplica
public void restartReplica(RestartReplicaRequest request, io.grpc.stub.StreamObserver<RestartReplicaResponse> responseObserver) -
stopReplica
public void stopReplica(StopReplicaRequest request, io.grpc.stub.StreamObserver<StopReplicaResponse> responseObserver) -
determineDispatcher
public void determineDispatcher(DetermineDispatcherRequest request, io.grpc.stub.StreamObserver<DetermineDispatcherResponse> responseObserver) -
selectionProviderStatus
public void selectionProviderStatus(ServerSelectionStatusRequest request, io.grpc.stub.StreamObserver<ServerSelectionStatusResponse> responseObserver) -
selectionProviderAdmin
public void selectionProviderAdmin(ServerSelectionAdminRequest request, io.grpc.stub.StreamObserver<ServerSelectionAdminResponse> responseObserver) -
getConfiguration
public void getConfiguration(GetConfigurationRequest request, io.grpc.stub.StreamObserver<GetConfigurationResponse> responseObserver) Simple unary to request the current configuration, as an alternative to having it pushed via subscribe, or requesting it on authenticate.
-
getScriptPaths
public void getScriptPaths(GetScriptPathsRequest request, io.grpc.stub.StreamObserver<GetScriptPathsResponse> responseObserver) Script commands
-
getScript
public void getScript(GetScriptRequest request, io.grpc.stub.StreamObserver<GetScriptResponse> responseObserver) -
statusUpdate
public void statusUpdate(StatusUpdateRequest request, io.grpc.stub.StreamObserver<StatusUpdateResponse> responseObserver) Configuration commands
-
reloadConfig
public void reloadConfig(ReloadConfigRequest request, io.grpc.stub.StreamObserver<ReloadConfigResponse> responseObserver) -
ping
Simple no-op to verify connectivity. The server will terminate sessions after some idle time (default of one minute), so clients should ping at some interval less than that, such as every 10 seconds.
-
subscribe
public void subscribe(SubscribeRequest request, io.grpc.stub.StreamObserver<SubscribeResponse> responseObserver) Subscribes to a stream of query configuration/state changes, as well as controller configuration changes. As the stream starts, the current configuration will be sent, along with the current state of all queries.
-
invalidateCookie
public void invalidateCookie(InvalidateCookieRequest request, io.grpc.stub.StreamObserver<InvalidateCookieResponse> responseObserver) -
serializeQueryConfiguration
public void serializeQueryConfiguration(SerializeQueryConfigurationRequest request, io.grpc.stub.StreamObserver<SerializeQueryConfigurationResponse> responseObserver) XML import and export
-
deserializeQueryConfiguration
public void deserializeQueryConfiguration(DeserializeQueryConfigurationRequest request, io.grpc.stub.StreamObserver<DeserializeQueryConfigurationResponse> responseObserver)
-