Package io.deephaven.server.session
Class SessionCloseableObserver<T>
java.lang.Object
io.deephaven.server.session.SessionCloseableObserver<T>
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
JavaAutoCompleteObserver
,PythonAutoCompleteObserver
-
Field Summary
Modifier and TypeFieldDescriptionprotected final io.grpc.stub.StreamObserver<T>
protected final SessionState
-
Constructor Summary
ConstructorDescriptionSessionCloseableObserver
(SessionState session, io.grpc.stub.StreamObserver<T> responseObserver) -
Method Summary
-
Field Details
-
session
-
responseObserver
-
-
Constructor Details
-
SessionCloseableObserver
public SessionCloseableObserver(SessionState session, io.grpc.stub.StreamObserver<T> responseObserver)
-
-
Method Details
-
close
public final void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
onClose
protected void onClose()Override this to perform any additional specific clean up that must be performed.
-