org.lastbamboo.common.tcp.frame
Class TcpFrameDecodingState
java.lang.Object
org.littleshoot.util.mina.DecodingStateMachine
org.lastbamboo.common.tcp.frame.TcpFrameDecodingState
- All Implemented Interfaces:
- org.littleshoot.util.mina.DecodingState
public class TcpFrameDecodingState
- extends org.littleshoot.util.mina.DecodingStateMachine
State machine for decoding framed TCP messages following RFC 4571.
|
Method Summary |
protected void |
destroy()
|
protected org.littleshoot.util.mina.DecodingState |
finishDecode(List<Object> childProducts,
org.littleshoot.mina.filter.codec.ProtocolDecoderOutput out)
|
protected org.littleshoot.util.mina.DecodingState |
init()
|
| Methods inherited from class org.littleshoot.util.mina.DecodingStateMachine |
decode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcpFrameDecodingState
public TcpFrameDecodingState()
init
protected org.littleshoot.util.mina.DecodingState init()
throws Exception
- Specified by:
init in class org.littleshoot.util.mina.DecodingStateMachine
- Throws:
Exception
destroy
protected void destroy()
throws Exception
- Specified by:
destroy in class org.littleshoot.util.mina.DecodingStateMachine
- Throws:
Exception
finishDecode
protected org.littleshoot.util.mina.DecodingState finishDecode(List<Object> childProducts,
org.littleshoot.mina.filter.codec.ProtocolDecoderOutput out)
throws Exception
- Specified by:
finishDecode in class org.littleshoot.util.mina.DecodingStateMachine
- Throws:
Exception
Copyright © 2013 LittleShoot. All Rights Reserved.