Uses of Interface
org.apache.mina.filter.codec.statemachine.DecodingState

Packages that use DecodingState
org.apache.mina.filter.codec.statemachine   
 

Uses of DecodingState in org.apache.mina.filter.codec.statemachine
 

Classes in org.apache.mina.filter.codec.statemachine that implement DecodingState
 class ConsumeToCrLfDecodingState
          DecodingState which consumes all bytes until a CRLF has been encountered.
 class ConsumeToDynamicTerminatorDecodingState
          DecodingState which consumes all bytes until a fixed (ASCII) character is reached.
 class ConsumeToEndOfSessionDecodingState
          DecodingState which consumes all received bytes until the session is closed.
 class ConsumeToLinearWhitespaceDecodingState
          DecodingState which consumes all bytes until a space (0x20) or tab (0x09) character is reached.
 class ConsumeToTerminatorDecodingState
          DecodingState which consumes all bytes until a fixed (ASCII) character is reached.
 class CrLfDecodingState
          DecodingState which decodes a single CRLF.
 class DecodingStateMachine
          Abstract base class for decoder state machines.
 class FixedLengthDecodingState
          DecodingState which consumes all received bytes until a configured number of read bytes has been reached.
 class IntegerDecodingState
          DecodingState which decodes int values in big-endian order (high bytes come first).
 class LinearWhitespaceSkippingState
          DecodingState which skips space (0x20) and tab (0x09) characters.
 class ShortIntegerDecodingState
          DecodingState which decodes short values in big-endian order (high bytes come first).
 class SingleByteDecodingState
          DecodingState which decodes byte values.
 class SkippingState
          DecodingState which skips data until SkippingState.canSkip(byte) returns false.
 

Methods in org.apache.mina.filter.codec.statemachine that return DecodingState
 DecodingState ShortIntegerDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
          Invoked when data is available for this state.
 DecodingState DecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
          Invoked when data is available for this state.
 DecodingState CrLfDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
          Invoked when data is available for this state.
 DecodingState SkippingState.decode(IoBuffer in, ProtocolDecoderOutput out)
          Invoked when data is available for this state.
 DecodingState ConsumeToTerminatorDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
          Invoked when data is available for this state.
 DecodingState DecodingStateMachine.decode(IoBuffer in, ProtocolDecoderOutput out)
          Invoked when data is available for this state.
 DecodingState ConsumeToDynamicTerminatorDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
          Invoked when data is available for this state.
 DecodingState ConsumeToEndOfSessionDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
          Invoked when data is available for this state.
 DecodingState IntegerDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
          Invoked when data is available for this state.
 DecodingState FixedLengthDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
          Invoked when data is available for this state.
 DecodingState SingleByteDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
           
 DecodingState ConsumeToCrLfDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out)
           
protected abstract  DecodingState CrLfDecodingState.finishDecode(boolean foundCRLF, ProtocolDecoderOutput out)
          Invoked when this state has found a CRLF.
protected abstract  DecodingState SingleByteDecodingState.finishDecode(byte b, ProtocolDecoderOutput out)
          Invoked when this state has consumed a complete byte.
protected abstract  DecodingState SkippingState.finishDecode(int skippedBytes)
          Invoked when this state cannot skip any more bytes.
protected abstract  DecodingState IntegerDecodingState.finishDecode(int value, ProtocolDecoderOutput out)
          Invoked when this state has consumed a complete int.
protected abstract  DecodingState ConsumeToTerminatorDecodingState.finishDecode(IoBuffer product, ProtocolDecoderOutput out)
          Invoked when this state has reached the terminator byte.
protected abstract  DecodingState ConsumeToDynamicTerminatorDecodingState.finishDecode(IoBuffer product, ProtocolDecoderOutput out)
          Invoked when this state has reached the terminator byte.
protected abstract  DecodingState ConsumeToEndOfSessionDecodingState.finishDecode(IoBuffer product, ProtocolDecoderOutput out)
          Invoked when this state has consumed all bytes until the session is closed.
protected abstract  DecodingState FixedLengthDecodingState.finishDecode(IoBuffer product, ProtocolDecoderOutput out)
          Invoked when this state has consumed the configured number of bytes.
protected abstract  DecodingState ConsumeToCrLfDecodingState.finishDecode(IoBuffer product, ProtocolDecoderOutput out)
          Invoked when this state has reached a CRLF.
protected abstract  DecodingState DecodingStateMachine.finishDecode(List<Object> childProducts, ProtocolDecoderOutput out)
          Called once the state machine has reached its end.
 DecodingState ShortIntegerDecodingState.finishDecode(ProtocolDecoderOutput out)
          Invoked when the associated IoSession is closed.
 DecodingState DecodingState.finishDecode(ProtocolDecoderOutput out)
          Invoked when the associated IoSession is closed.
 DecodingState CrLfDecodingState.finishDecode(ProtocolDecoderOutput out)
          Invoked when the associated IoSession is closed.
 DecodingState SkippingState.finishDecode(ProtocolDecoderOutput out)
          Invoked when the associated IoSession is closed.
 DecodingState ConsumeToTerminatorDecodingState.finishDecode(ProtocolDecoderOutput out)
          Invoked when the associated IoSession is closed.
 DecodingState DecodingStateMachine.finishDecode(ProtocolDecoderOutput out)
          Invoked when the associated IoSession is closed.
 DecodingState ConsumeToDynamicTerminatorDecodingState.finishDecode(ProtocolDecoderOutput out)
          Invoked when the associated IoSession is closed.
 DecodingState ConsumeToEndOfSessionDecodingState.finishDecode(ProtocolDecoderOutput out)
          Invoked when the associated IoSession is closed.
 DecodingState IntegerDecodingState.finishDecode(ProtocolDecoderOutput out)
          Invoked when the associated IoSession is closed.
 DecodingState FixedLengthDecodingState.finishDecode(ProtocolDecoderOutput out)
          Invoked when the associated IoSession is closed.
 DecodingState SingleByteDecodingState.finishDecode(ProtocolDecoderOutput out)
          Invoked when the associated IoSession is closed.
 DecodingState ConsumeToCrLfDecodingState.finishDecode(ProtocolDecoderOutput out)
          Invoked when the associated IoSession is closed.
protected abstract  DecodingState ShortIntegerDecodingState.finishDecode(short value, ProtocolDecoderOutput out)
          Invoked when this state has consumed a complete short.
protected abstract  DecodingState DecodingStateMachine.init()
          Invoked to initialize this state machine.
 

Constructors in org.apache.mina.filter.codec.statemachine with parameters of type DecodingState
DecodingStateProtocolDecoder(DecodingState state)
          Creates a new instance using the specified DecodingState instance.
 



Copyright © 2004-2010 Apache MINA Project. All Rights Reserved.