Class JavaAutoCompleteObserver
java.lang.Object
io.deephaven.server.session.SessionCloseableObserver<AutoCompleteResponse>
io.deephaven.server.console.completer.JavaAutoCompleteObserver
- All Implemented Interfaces:
io.grpc.stub.StreamObserver<AutoCompleteRequest>
,Closeable
,AutoCloseable
public class JavaAutoCompleteObserver
extends SessionCloseableObserver<AutoCompleteResponse>
implements io.grpc.stub.StreamObserver<AutoCompleteRequest>
Autocomplete handling for JVM languages, that directly can interact with Java instances without any name mangling,
and are able to use our flexible parser.
-
Field Summary
Fields inherited from class io.deephaven.server.session.SessionCloseableObserver
responseObserver, session
-
Constructor Summary
ConstructorDescriptionJavaAutoCompleteObserver
(SessionState session, io.grpc.stub.StreamObserver<AutoCompleteResponse> responseObserver, Set<CustomCompletion.Factory> customCompletionFactory) -
Method Summary
Methods inherited from class io.deephaven.server.session.SessionCloseableObserver
close, onClose
-
Constructor Details
-
JavaAutoCompleteObserver
public JavaAutoCompleteObserver(SessionState session, io.grpc.stub.StreamObserver<AutoCompleteResponse> responseObserver, Set<CustomCompletion.Factory> customCompletionFactory)
-
-
Method Details
-
onNext
- Specified by:
onNext
in interfaceio.grpc.stub.StreamObserver<AutoCompleteRequest>
-
onError
- Specified by:
onError
in interfaceio.grpc.stub.StreamObserver<AutoCompleteRequest>
-
onCompleted
public void onCompleted()- Specified by:
onCompleted
in interfaceio.grpc.stub.StreamObserver<AutoCompleteRequest>
-