public class ClientConnectionHandler extends ConnectionHandler
StanzaHandler should
be created and how to build and configure a NIOConnection.CONNECTION, HANDLER, serverName| Constructor and Description |
|---|
ClientConnectionHandler(String serverName) |
| Modifier and Type | Method and Description |
|---|---|
void |
sessionIdle(org.apache.mina.core.session.IoSession session,
org.apache.mina.core.session.IdleStatus status)
In addition to the functionality provided by the parent class, this
method will send XMPP ping requests to the remote entity on every first
invocation of this method (which will occur after a period of half the
allowed connection idle time has passed, without any IO).
|
exceptionCaught, messageReceived, messageSent, sessionClosed, sessionOpenedpublic ClientConnectionHandler(String serverName)
public void sessionIdle(org.apache.mina.core.session.IoSession session,
org.apache.mina.core.session.IdleStatus status)
throws Exception
sessionIdle in interface org.apache.mina.core.service.IoHandlersessionIdle in class ConnectionHandlerExceptionConnectionHandler.sessionIdle(IoSession, IdleStatus)Copyright © 2003-2008 Jive Software.