Package io.deephaven.server.appmode
Class ApplicationServiceGrpcImpl
java.lang.Object
io.deephaven.proto.backplane.grpc.ApplicationServiceGrpc.ApplicationServiceImplBase
io.deephaven.server.appmode.ApplicationServiceGrpcImpl
- All Implemented Interfaces:
ApplicationState.Listener
,ScriptSession.Listener
,ApplicationServiceGrpc.AsyncService
,io.grpc.BindableService
@Singleton
public class ApplicationServiceGrpcImpl
extends ApplicationServiceGrpc.ApplicationServiceImplBase
implements ScriptSession.Listener, ApplicationState.Listener
-
Constructor Summary
ConstructorDescriptionApplicationServiceGrpcImpl
(Scheduler scheduler, SessionService sessionService, TypeLookup typeLookup) -
Method Summary
Modifier and TypeMethodDescriptionvoid
listFields
(@NotNull ListFieldsRequest request, @NotNull io.grpc.stub.StreamObserver<FieldsChangeUpdate> responseObserver) Request the list of the fields exposed via the worker.void
onNewField
(ApplicationState app, Field<?> field) void
onRemoveField
(ApplicationState app, Field<?> oldField) void
onScopeChanges
(ScriptSession scriptSession, ScriptSession.Changes changes) Methods inherited from class io.deephaven.proto.backplane.grpc.ApplicationServiceGrpc.ApplicationServiceImplBase
bindService
-
Constructor Details
-
ApplicationServiceGrpcImpl
@Inject public ApplicationServiceGrpcImpl(Scheduler scheduler, SessionService sessionService, TypeLookup typeLookup)
-
-
Method Details
-
onScopeChanges
- Specified by:
onScopeChanges
in interfaceScriptSession.Listener
-
onRemoveField
- Specified by:
onRemoveField
in interfaceApplicationState.Listener
-
onNewField
- Specified by:
onNewField
in interfaceApplicationState.Listener
-
listFields
public void listFields(@NotNull @NotNull ListFieldsRequest request, @NotNull @NotNull io.grpc.stub.StreamObserver<FieldsChangeUpdate> responseObserver) Description copied from interface:ApplicationServiceGrpc.AsyncService
Request the list of the fields exposed via the worker. - The first received message contains all fields that are currently available on the worker. None of these fields will be RemovedFields. - Subsequent messages modify the existing state. Fields are identified by their ticket and may be replaced or removed.
- Specified by:
listFields
in interfaceApplicationServiceGrpc.AsyncService
-