public class ServerSessionTimeoutListener extends Object implements SessionListener, Runnable
ServerSession
s 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)
SessionListener
sessionCreated
in interface SessionListener
public void sessionEvent(Session sesssion, SessionListener.Event event)
SessionListener
sessionEvent
in interface SessionListener
public void sessionClosed(Session s)
SessionListener
sessionClosed
in interface SessionListener
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.