org.littleshoot.stun.stack.decoder
Class StunMessageDecodingState

java.lang.Object
  extended by org.littleshoot.util.mina.DecodingStateMachine
      extended by org.littleshoot.stun.stack.decoder.StunMessageDecodingState
All Implemented Interfaces:
org.littleshoot.util.mina.DecodingState

public class StunMessageDecodingState
extends org.littleshoot.util.mina.DecodingStateMachine

State machine for decoding STUN messages.


Constructor Summary
StunMessageDecodingState()
           
 
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
 

Constructor Detail

StunMessageDecodingState

public StunMessageDecodingState()
Method Detail

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.