public interface SessionListener extends EventListener
Modifier and Type | Interface and Description |
---|---|
static class |
SessionListener.Event |
Modifier and Type | Method and Description |
---|---|
void |
sessionClosed(Session session)
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
|
void sessionCreated(Session session)
session
- The created Session
void sessionEvent(Session session, SessionListener.Event event)
session
- The referenced Session
event
- The generated SessionListener.Event
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.