public class ServerSessionTimeoutListener extends Object implements SessionListener, 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 session,
SessionListener.Event event)
An event has been triggered
|
public void sessionCreated(Session session)
SessionListenersessionCreated in interface SessionListenerpublic void sessionEvent(Session session, SessionListener.Event event)
SessionListenersessionEvent in interface SessionListenerpublic void sessionClosed(Session s)
SessionListenersessionClosed in interface SessionListenerCopyright © 2008–2014 The Apache Software Foundation. All rights reserved.