org.lastbamboo.common.tcp.frame
Class TcpFrameIoHandler
java.lang.Object
org.littleshoot.mina.common.IoHandlerAdapter
org.littleshoot.util.mina.SocketIoHandler
org.lastbamboo.common.tcp.frame.TcpFrameIoHandler
- All Implemented Interfaces:
- org.littleshoot.mina.common.IoHandler
public class TcpFrameIoHandler
- extends org.littleshoot.util.mina.SocketIoHandler
IoHandler that reads framed TCP messages and makes the bytes from
those messages available.
| Methods inherited from class org.littleshoot.util.mina.SocketIoHandler |
exceptionCaught, getReadTimeout, getWriteTimeout, sessionClosed, sessionIdle, sessionOpened, setReadTimeout, setWriteTimeout |
| Methods inherited from class org.littleshoot.mina.common.IoHandlerAdapter |
sessionCreated |
TcpFrameIoHandler
public TcpFrameIoHandler()
- Creates a new
TcpFrameIoHandler.
messageReceived
public void messageReceived(org.littleshoot.mina.common.IoSession session,
Object message)
- Specified by:
messageReceived in interface org.littleshoot.mina.common.IoHandler- Overrides:
messageReceived in class org.littleshoot.util.mina.SocketIoHandler
messageSent
public void messageSent(org.littleshoot.mina.common.IoSession session,
Object message)
throws Exception
- Specified by:
messageSent in interface org.littleshoot.mina.common.IoHandler- Overrides:
messageSent in class org.littleshoot.mina.common.IoHandlerAdapter
- Throws:
Exception
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 LittleShoot. All Rights Reserved.