org.littleshoot.stun.stack
Class StunDemuxableProtocolCodecFactory
java.lang.Object
org.littleshoot.stun.stack.StunDemuxableProtocolCodecFactory
- All Implemented Interfaces:
- org.littleshoot.util.mina.DemuxableProtocolCodecFactory<StunMessage>
public class StunDemuxableProtocolCodecFactory
- extends Object
- implements org.littleshoot.util.mina.DemuxableProtocolCodecFactory<StunMessage>
DemuxableProtocolCodecFactory for STUN.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StunDemuxableProtocolCodecFactory
public StunDemuxableProtocolCodecFactory()
canDecode
public boolean canDecode(org.littleshoot.mina.common.ByteBuffer in)
- Specified by:
canDecode in interface org.littleshoot.util.mina.DemuxableProtocolCodecFactory<StunMessage>
getClassToEncode
public Class<StunMessage> getClassToEncode()
- Specified by:
getClassToEncode in interface org.littleshoot.util.mina.DemuxableProtocolCodecFactory<StunMessage>
newDecoder
public org.littleshoot.util.mina.DemuxableProtocolDecoder newDecoder()
- Specified by:
newDecoder in interface org.littleshoot.util.mina.DemuxableProtocolCodecFactory<StunMessage>
newEncoder
public org.littleshoot.mina.filter.codec.ProtocolEncoder newEncoder()
- Specified by:
newEncoder in interface org.littleshoot.util.mina.DemuxableProtocolCodecFactory<StunMessage>
enoughData
public boolean enoughData(org.littleshoot.mina.common.ByteBuffer in)
- Specified by:
enoughData in interface org.littleshoot.util.mina.DemuxableProtocolCodecFactory<StunMessage>
Copyright © 2013 LittleShoot. All Rights Reserved.