org.lastbamboo.common.sip.stack.codec.decoder
Class SipMessageDecodingState

java.lang.Object
  extended by org.littleshoot.util.mina.DecodingStateMachine
      extended by org.lastbamboo.common.sip.stack.codec.decoder.SipMessageDecodingState
All Implemented Interfaces:
org.littleshoot.util.mina.DecodingState

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

State machine for decoding SIP messages.


Constructor Summary
SipMessageDecodingState(SipHeaderFactory headerFactory)
          Creates a new SIP message decoding state machine.
 
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

SipMessageDecodingState

public SipMessageDecodingState(SipHeaderFactory headerFactory)
Creates a new SIP message decoding state machine.

Parameters:
headerFactory - The factory for creating SIP headers.
Method Detail

init

protected org.littleshoot.util.mina.DecodingState init()
Specified by:
init in class org.littleshoot.util.mina.DecodingStateMachine

finishDecode

protected org.littleshoot.util.mina.DecodingState finishDecode(List<Object> childProducts,
                                                               org.littleshoot.mina.filter.codec.ProtocolDecoderOutput out)
Specified by:
finishDecode in class org.littleshoot.util.mina.DecodingStateMachine

destroy

protected void destroy()
Specified by:
destroy in class org.littleshoot.util.mina.DecodingStateMachine


Copyright © 2013 LittleShoot. All Rights Reserved.