| Modifier and Type | Method and Description |
|---|---|
Session |
Event.getSession()
Returns the session which is related with this event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SessionListener.connectionClosed(Session session)
Invoked when the connection is closed.
|
void |
SessionListener.connectionEstablished(Session session)
Invoked when the connection is established.
|
static void |
SessionLog.debug(org.apache.commons.logging.Log log,
Session session,
java.lang.Object obj) |
static void |
SessionLog.debug(org.apache.commons.logging.Log log,
Session session,
java.lang.Object obj,
java.lang.Throwable cause) |
static void |
SessionLog.error(org.apache.commons.logging.Log log,
Session session,
java.lang.Object obj) |
static void |
SessionLog.error(org.apache.commons.logging.Log log,
Session session,
java.lang.Object obj,
java.lang.Throwable cause) |
void |
SessionListener.exceptionCaught(Session session,
java.lang.Throwable cause)
Invoked when an exception is caught while communicating.
|
static void |
SessionLog.fatal(org.apache.commons.logging.Log log,
Session session,
java.lang.Object obj) |
static void |
SessionLog.fatal(org.apache.commons.logging.Log log,
Session session,
java.lang.Object obj,
java.lang.Throwable cause) |
static void |
SessionLog.info(org.apache.commons.logging.Log log,
Session session,
java.lang.Object obj) |
static void |
SessionLog.info(org.apache.commons.logging.Log log,
Session session,
java.lang.Object obj,
java.lang.Throwable cause) |
void |
SessionListener.messageReceived(Session session,
Message message)
Invoked when a message has arrived.
|
void |
SessionListener.messageSent(Session session,
Message message)
Invoked when a message has been sent.
|
protected abstract void |
AbstractThreadPooledEventDispatcher.AbstractWorker.onDisconnection(Session session) |
void |
SessionListener.sessionIdle(Session session)
Invoked when the session is idle for predefined amount of time.
|
static void |
SessionLog.trace(org.apache.commons.logging.Log log,
Session session,
java.lang.Object obj) |
static void |
SessionLog.trace(org.apache.commons.logging.Log log,
Session session,
java.lang.Object obj,
java.lang.Throwable cause) |
static void |
SessionLog.warn(org.apache.commons.logging.Log log,
Session session,
java.lang.Object obj) |
static void |
SessionLog.warn(org.apache.commons.logging.Log log,
Session session,
java.lang.Object obj,
java.lang.Throwable cause) |
| Constructor and Description |
|---|
Event(EventType type,
Session session,
java.lang.Object item)
Creates a new instance.
|
SessionLog(Session session,
org.apache.commons.logging.Log log) |
Copyright © 2004-2012 Trustin Lee. All Rights Reserved.