public class ServerSessionTimeoutListener extends java.lang.Object implements SessionListener, java.lang.Runnable
ServerSessions and checks each of them for timeouts. If
the ServerSession has timed out (either auth or idle timeout), the session will be disconnected.ServerSession.checkForTimeouts()SessionListener.Event| Constructor and Description |
|---|
ServerSessionTimeoutListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
void |
sessionClosed(Session s)
A session has been closed
|
void |
sessionCreated(Session session)
A new session just been created
|
void |
sessionEvent(Session sesssion,
SessionListener.Event event)
An event has been triggered
|
public void sessionCreated(Session session)
SessionListenersessionCreated in interface SessionListenerpublic void sessionEvent(Session sesssion, SessionListener.Event event)
SessionListenersessionEvent in interface SessionListenerpublic void sessionClosed(Session s)
SessionListenersessionClosed in interface SessionListenerpublic void run()
run in interface java.lang.RunnableCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.