Node Director
|
Interface for communication between a running protocol handler and the session control. More...
Inherited by sfi.director.cli.frinterface.SessionControl.
Public Member Functions | |
void | heartbeat () |
notify session control of activity | |
void | shutdown () |
notify session control of a shutdown request | |
void | abort () |
notify session control of an abort ("immediate shutdown") request | |
int | getTimeout () |
ask session control for the current session timeout. | |
void | setTimeout (int timeout) throws DirectorException |
set the current session timeout | |
void | remember (FrontendDisposable disposable) |
store a disposable object and ask the session controller to remove it on timeout | |
void | dispose (FrontendDisposable disposable) |
explicitly dispose a disposable object |
Interface for communication between a running protocol handler and the session control.
void sfi.director.application.FrontendCallback.abort | ( | ) |
notify session control of an abort ("immediate shutdown") request
Referenced by sfi.director.application.FrontendInterface.executeCommand().
void sfi.director.application.FrontendCallback.dispose | ( | FrontendDisposable | disposable | ) |
explicitly dispose a disposable object
Referenced by sfi.director.application.FrontendHTTPServer.db_searchdispose(), and sfi.director.application.FrontendInterface.executeCommand().
int sfi.director.application.FrontendCallback.getTimeout | ( | ) |
ask session control for the current session timeout.
Referenced by sfi.director.application.FrontendInterface.executeCommand().
void sfi.director.application.FrontendCallback.heartbeat | ( | ) |
notify session control of activity
Referenced by sfi.director.application.FrontendInterface.flush(), sfi.director.application.FrontendInterface.receive_data(), sfi.director.application.FrontendHTTPServer.serve(), and sfi.director.application.FrontendInterface.talk().
void sfi.director.application.FrontendCallback.remember | ( | FrontendDisposable | disposable | ) |
store a disposable object and ask the session controller to remove it on timeout
Referenced by sfi.director.application.FrontendHTTPServer.db_search(), sfi.director.application.FrontendHTTPServer.edit_editor(), and sfi.director.application.FrontendInterface.executeCommand().
void sfi.director.application.FrontendCallback.setTimeout | ( | int | timeout | ) | throws DirectorException |
set the current session timeout
Referenced by sfi.director.application.FrontendInterface.executeCommand().
void sfi.director.application.FrontendCallback.shutdown | ( | ) |
notify session control of a shutdown request
Referenced by sfi.director.application.FrontendInterface.executeCommand().