public class SessionTimeoutListener extends AbstractLoggingBean implements SessionListener, Runnable
AbstractSessions and checks each of them for timeouts. If
the AbstractSession has timed out (either auth or idle timeout), the session will be disconnected.AbstractSession.checkForTimeouts()SessionListener.Eventlog| Constructor and Description |
|---|
SessionTimeoutListener() |
| 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 SessionListenersession - The created Sessionpublic void sessionEvent(Session session, SessionListener.Event event)
SessionListenersessionEvent in interface SessionListenersession - The referenced Sessionevent - The generated SessionListener.Eventpublic void sessionClosed(Session s)
SessionListenersessionClosed in interface SessionListeners - The closed SessionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.