org.lastbamboo.common.tcp.frame
Class TcpFrameDemuxingDecodingStateFactory
java.lang.Object
org.lastbamboo.common.tcp.frame.TcpFrameDemuxingDecodingStateFactory
- All Implemented Interfaces:
- org.littleshoot.util.mina.DecodingStateFactory
public class TcpFrameDemuxingDecodingStateFactory
- extends Object
- implements org.littleshoot.util.mina.DecodingStateFactory
Decoding state factory for a state that can differentiate between STUN
messages and messages from another protocol.
|
Constructor Summary |
TcpFrameDemuxingDecodingStateFactory(org.littleshoot.util.mina.DecodingStateFactory decodingStateFactory)
Creates a new factory for a state that differentiates between STUN
messages and messages from another protocol. |
|
Method Summary |
org.littleshoot.util.mina.DecodingState |
newState()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcpFrameDemuxingDecodingStateFactory
public TcpFrameDemuxingDecodingStateFactory(org.littleshoot.util.mina.DecodingStateFactory decodingStateFactory)
- Creates a new factory for a state that differentiates between STUN
messages and messages from another protocol.
- Parameters:
decodingStateFactory - The factory for creating the initial
reading state for the other non-STUN protocol.
newState
public org.littleshoot.util.mina.DecodingState newState()
- Specified by:
newState in interface org.littleshoot.util.mina.DecodingStateFactory
Copyright © 2013 LittleShoot. All Rights Reserved.