org.littleshoot.stun.stack.decoder
Class StunDemuxableDecoderFactory

java.lang.Object
  extended by org.littleshoot.stun.stack.decoder.StunDemuxableDecoderFactory
All Implemented Interfaces:
org.littleshoot.util.mina.DemuxableDecoderFactory

public class StunDemuxableDecoderFactory
extends Object
implements org.littleshoot.util.mina.DemuxableDecoderFactory

MINA decoder for demultiplexing between STUN messages and messages for another protocol working in conjunction with STUN.


Constructor Summary
StunDemuxableDecoderFactory()
           
 
Method Summary
 boolean canDecode(org.littleshoot.mina.common.ByteBuffer in)
           
 org.littleshoot.util.mina.DemuxableProtocolDecoder newDecoder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StunDemuxableDecoderFactory

public StunDemuxableDecoderFactory()
Method Detail

canDecode

public boolean canDecode(org.littleshoot.mina.common.ByteBuffer in)
Specified by:
canDecode in interface org.littleshoot.util.mina.DemuxableDecoderFactory

newDecoder

public org.littleshoot.util.mina.DemuxableProtocolDecoder newDecoder()
Specified by:
newDecoder in interface org.littleshoot.util.mina.DemuxableDecoderFactory

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 LittleShoot. All Rights Reserved.