public abstract class AbstractIoHandler
extends org.apache.mina.core.service.IoHandlerAdapter
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log |
Constructor and Description |
---|
AbstractIoHandler(NetworkingOptions options,
EventHandlingStrategy eventHandlingStrategy) |
Modifier and Type | Method and Description |
---|---|
void |
exceptionCaught(org.apache.mina.core.session.IoSession ioSession,
Throwable cause) |
protected Session |
findQFSession(org.apache.mina.core.session.IoSession ioSession,
SessionID sessionID) |
protected NetworkingOptions |
getNetworkingOptions() |
void |
messageReceived(org.apache.mina.core.session.IoSession ioSession,
Object message) |
protected abstract void |
processMessage(org.apache.mina.core.session.IoSession ioSession,
Message message) |
void |
sessionClosed(org.apache.mina.core.session.IoSession ioSession) |
public AbstractIoHandler(NetworkingOptions options, EventHandlingStrategy eventHandlingStrategy)
public void exceptionCaught(org.apache.mina.core.session.IoSession ioSession, Throwable cause) throws Exception
exceptionCaught
in interface org.apache.mina.core.service.IoHandler
exceptionCaught
in class org.apache.mina.core.service.IoHandlerAdapter
Exception
public void sessionClosed(org.apache.mina.core.session.IoSession ioSession)
sessionClosed
in interface org.apache.mina.core.service.IoHandler
sessionClosed
in class org.apache.mina.core.service.IoHandlerAdapter
public void messageReceived(org.apache.mina.core.session.IoSession ioSession, Object message) throws Exception
messageReceived
in interface org.apache.mina.core.service.IoHandler
messageReceived
in class org.apache.mina.core.service.IoHandlerAdapter
Exception
protected Session findQFSession(org.apache.mina.core.session.IoSession ioSession, SessionID sessionID)
protected NetworkingOptions getNetworkingOptions()
Copyright © 2021. All rights reserved.