Package io.deephaven.server.session
Class DelegatingSessionListener
java.lang.Object
io.deephaven.server.session.DelegatingSessionListener
- All Implemented Interfaces:
SessionListener
Utility class to fan out session events to multiple handlers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonSessionCreate(SessionState session) When a new session is created and has been given a refresh token, this will be invoked.
-
Constructor Details
-
DelegatingSessionListener
-
-
Method Details
-
onSessionCreate
Description copied from interface:SessionListenerWhen a new session is created and has been given a refresh token, this will be invoked.
To track a session closing, useSessionState.addOnCloseCallback(java.io.Closeable).- Specified by:
onSessionCreatein interfaceSessionListener- Parameters:
session- the newly created session
-