org.apache.mina.filter.codec.statemachine
Class DecodingStateMachine
java.lang.Object
org.apache.mina.filter.codec.statemachine.DecodingStateMachine
- All Implemented Interfaces:
- DecodingState
public abstract class DecodingStateMachine
- extends Object
- implements DecodingState
- Version:
- $Rev: 602837 $, $Date: 2007-12-10 11:03:42 +0100 (Mon, 10 Dec 2007) $
- Author:
- The Apache MINA Project (dev@mina.apache.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecodingStateMachine
public DecodingStateMachine()
init
protected abstract DecodingState init()
throws Exception
- Throws:
Exception
finishDecode
protected abstract DecodingState finishDecode(List<Object> childProducts,
ProtocolDecoderOutput out)
throws Exception
- Throws:
Exception
destroy
protected abstract void destroy()
throws Exception
- Throws:
Exception
decode
public DecodingState decode(IoBuffer in,
ProtocolDecoderOutput out)
throws Exception
- Description copied from interface:
DecodingState
- Invoked when data is available for this state.
- Specified by:
decode
in interface DecodingState
- Throws:
Exception
finishDecode
public DecodingState finishDecode(ProtocolDecoderOutput out)
throws Exception
- Description copied from interface:
DecodingState
- Invoked when the associated
IoSession
is closed.
- Specified by:
finishDecode
in interface DecodingState
- Throws:
Exception
Copyright © 2004-2009 Apache MINA Project. All Rights Reserved.