Package io.deephaven.server.console
Class ConsoleServiceGrpcImpl
java.lang.Object
io.deephaven.proto.backplane.script.grpc.ConsoleServiceGrpc.ConsoleServiceImplBase
io.deephaven.server.console.ConsoleServiceGrpcImpl
- All Implemented Interfaces:
ConsoleServiceGrpc.AsyncService
,io.grpc.BindableService
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
static final boolean
static final boolean
static final int
static final String
static final long
-
Constructor Summary
ConstructorDescriptionConsoleServiceGrpcImpl
(TicketRouter ticketRouter, SessionService sessionService, javax.inject.Provider<ScriptSession> scriptSessionProvider, Scheduler scheduler, LogBuffer logBuffer, Set<CustomCompletion.Factory> customCompletionFactory) -
Method Summary
Modifier and TypeMethodDescriptionio.grpc.stub.StreamObserver<AutoCompleteRequest>
autoCompleteStream
(@NotNull io.grpc.stub.StreamObserver<AutoCompleteResponse> responseObserver) Starts a stream for autocomplete on the current session.void
bindTableToVariable
(@NotNull BindTableToVariableRequest request, @NotNull io.grpc.stub.StreamObserver<BindTableToVariableResponse> responseObserver) void
cancelAutoComplete
(@NotNull CancelAutoCompleteRequest request, @NotNull io.grpc.stub.StreamObserver<CancelAutoCompleteResponse> responseObserver) void
cancelCommand
(@NotNull CancelCommandRequest request, @NotNull io.grpc.stub.StreamObserver<CancelCommandResponse> responseObserver) void
executeCommand
(@NotNull ExecuteCommandRequest request, @NotNull io.grpc.stub.StreamObserver<ExecuteCommandResponse> responseObserver) void
getConsoleTypes
(@NotNull GetConsoleTypesRequest request, @NotNull io.grpc.stub.StreamObserver<GetConsoleTypesResponse> responseObserver) void
getHeapInfo
(@NotNull GetHeapInfoRequest request, @NotNull io.grpc.stub.StreamObserver<GetHeapInfoResponse> responseObserver) void
startConsole
(@NotNull StartConsoleRequest request, @NotNull io.grpc.stub.StreamObserver<StartConsoleResponse> responseObserver) void
subscribeToLogs
(@NotNull LogSubscriptionRequest request, @NotNull io.grpc.stub.StreamObserver<LogSubscriptionData> responseObserver) Methods inherited from class io.deephaven.proto.backplane.script.grpc.ConsoleServiceGrpc.ConsoleServiceImplBase
bindService
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.proto.backplane.script.grpc.ConsoleServiceGrpc.AsyncService
nextAutoCompleteStream, openAutoCompleteStream
-
Field Details
-
REMOTE_CONSOLE_DISABLED
public static final boolean REMOTE_CONSOLE_DISABLED -
AUTOCOMPLETE_DISABLED
public static final boolean AUTOCOMPLETE_DISABLED -
QUIET_AUTOCOMPLETE_ERRORS
public static final boolean QUIET_AUTOCOMPLETE_ERRORS -
SUBSCRIBE_TO_LOGS_SEND_MILLIS
public static final long SUBSCRIBE_TO_LOGS_SEND_MILLIS -
SUBSCRIBE_TO_LOGS_BUFFER_SIZE_PROP
- See Also:
-
SUBSCRIBE_TO_LOGS_BUFFER_SIZE
public static final int SUBSCRIBE_TO_LOGS_BUFFER_SIZE
-
-
Constructor Details
-
ConsoleServiceGrpcImpl
@Inject public ConsoleServiceGrpcImpl(TicketRouter ticketRouter, SessionService sessionService, javax.inject.Provider<ScriptSession> scriptSessionProvider, Scheduler scheduler, LogBuffer logBuffer, Set<CustomCompletion.Factory> customCompletionFactory)
-
-
Method Details
-
getConsoleTypes
public void getConsoleTypes(@NotNull @NotNull GetConsoleTypesRequest request, @NotNull @NotNull io.grpc.stub.StreamObserver<GetConsoleTypesResponse> responseObserver) -
startConsole
public void startConsole(@NotNull @NotNull StartConsoleRequest request, @NotNull @NotNull io.grpc.stub.StreamObserver<StartConsoleResponse> responseObserver) -
subscribeToLogs
public void subscribeToLogs(@NotNull @NotNull LogSubscriptionRequest request, @NotNull @NotNull io.grpc.stub.StreamObserver<LogSubscriptionData> responseObserver) -
executeCommand
public void executeCommand(@NotNull @NotNull ExecuteCommandRequest request, @NotNull @NotNull io.grpc.stub.StreamObserver<ExecuteCommandResponse> responseObserver) -
getHeapInfo
public void getHeapInfo(@NotNull @NotNull GetHeapInfoRequest request, @NotNull @NotNull io.grpc.stub.StreamObserver<GetHeapInfoResponse> responseObserver) -
cancelCommand
public void cancelCommand(@NotNull @NotNull CancelCommandRequest request, @NotNull @NotNull io.grpc.stub.StreamObserver<CancelCommandResponse> responseObserver) -
bindTableToVariable
public void bindTableToVariable(@NotNull @NotNull BindTableToVariableRequest request, @NotNull @NotNull io.grpc.stub.StreamObserver<BindTableToVariableResponse> responseObserver) -
autoCompleteStream
public io.grpc.stub.StreamObserver<AutoCompleteRequest> autoCompleteStream(@NotNull @NotNull io.grpc.stub.StreamObserver<AutoCompleteResponse> responseObserver) Description copied from interface:ConsoleServiceGrpc.AsyncService
Starts a stream for autocomplete on the current session. More than one console, more than one document can be edited at a time using this, and they can separately be closed as well. A given document should only be edited within one stream at a time.
-
cancelAutoComplete
public void cancelAutoComplete(@NotNull @NotNull CancelAutoCompleteRequest request, @NotNull @NotNull io.grpc.stub.StreamObserver<CancelAutoCompleteResponse> responseObserver)
-