Uses of Interface
org.apache.mina.filter.codec.statemachine.DecodingState
Packages that use DecodingState
-
Uses of DecodingState in org.apache.mina.filter.codec.statemachine
Classes in org.apache.mina.filter.codec.statemachine that implement DecodingStateModifier and TypeClassDescriptionclassDecodingStatewhich consumes all bytes until aCRLFhas been encountered.classDecodingStatewhich consumes all bytes until a fixed (ASCII) character is reached.classDecodingStatewhich consumes all received bytes until the session is closed.classDecodingStatewhich consumes all bytes until a space (0x20) or tab (0x09) character is reached.classDecodingStatewhich consumes all bytes until a fixed (ASCII) character is reached.classDecodingStatewhich decodes a singleCRLF.classAbstract base class for decoder state machines.classDecodingStatewhich consumes all received bytes until a configured number of read bytes has been reached.classDecodingStatewhich decodesintvalues in big-endian order (high bytes come first).classDecodingStatewhich skips space (0x20) and tab (0x09) characters.classDecodingStatewhich decodesshortvalues in big-endian order (high bytes come first).classDecodingStatewhich decodesbytevalues.classDecodingStatewhich skips data until canSkip(byte) returnsfalse.Fields in org.apache.mina.filter.codec.statemachine declared as DecodingStateModifier and TypeFieldDescriptionprivate DecodingStateDecodingStateMachine.currentStateprivate final DecodingStateDecodingStateProtocolDecoder.stateMethods in org.apache.mina.filter.codec.statemachine that return DecodingStateModifier and TypeMethodDescriptionConsumeToCrLfDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out) Invoked when data is available for this state.ConsumeToDynamicTerminatorDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out) Invoked when data is available for this state.ConsumeToEndOfSessionDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out) Invoked when data is available for this state.ConsumeToTerminatorDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out) Invoked when data is available for this state.CrLfDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out) Invoked when data is available for this state.DecodingState.decode(IoBuffer in, ProtocolDecoderOutput out) Invoked when data is available for this state.DecodingStateMachine.decode(IoBuffer in, ProtocolDecoderOutput out) Invoked when data is available for this state.FixedLengthDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out) Invoked when data is available for this state.IntegerDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out) Invoked when data is available for this state.ShortIntegerDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out) Invoked when data is available for this state.SingleByteDecodingState.decode(IoBuffer in, ProtocolDecoderOutput out) Invoked when data is available for this state.SkippingState.decode(IoBuffer in, ProtocolDecoderOutput out) Invoked when data is available for this state.protected abstract DecodingStateConsumeToCrLfDecodingState.finishDecode(IoBuffer product, ProtocolDecoderOutput out) Invoked when this state has reached aCRLF.ConsumeToCrLfDecodingState.finishDecode(ProtocolDecoderOutput out) Invoked when the associatedIoSessionis closed.protected abstract DecodingStateConsumeToDynamicTerminatorDecodingState.finishDecode(IoBuffer product, ProtocolDecoderOutput out) Invoked when this state has reached the terminator byte.ConsumeToDynamicTerminatorDecodingState.finishDecode(ProtocolDecoderOutput out) Invoked when the associatedIoSessionis closed.protected abstract DecodingStateConsumeToEndOfSessionDecodingState.finishDecode(IoBuffer product, ProtocolDecoderOutput out) Invoked when this state has consumed all bytes until the session is closed.ConsumeToEndOfSessionDecodingState.finishDecode(ProtocolDecoderOutput out) Invoked when the associatedIoSessionis closed.protected abstract DecodingStateConsumeToTerminatorDecodingState.finishDecode(IoBuffer product, ProtocolDecoderOutput out) Invoked when this state has reached the terminator byte.ConsumeToTerminatorDecodingState.finishDecode(ProtocolDecoderOutput out) Invoked when the associatedIoSessionis closed.protected abstract DecodingStateCrLfDecodingState.finishDecode(boolean foundCRLF, ProtocolDecoderOutput out) Invoked when this state has found aCRLF.CrLfDecodingState.finishDecode(ProtocolDecoderOutput out) Invoked when the associatedIoSessionis closed.DecodingState.finishDecode(ProtocolDecoderOutput out) Invoked when the associatedIoSessionis closed.protected abstract DecodingStateDecodingStateMachine.finishDecode(List<Object> childProducts, ProtocolDecoderOutput out) Called once the state machine has reached its end.DecodingStateMachine.finishDecode(ProtocolDecoderOutput out) Invoked when the associatedIoSessionis closed.protected abstract DecodingStateFixedLengthDecodingState.finishDecode(IoBuffer product, ProtocolDecoderOutput out) Invoked when this state has consumed the configured number of bytes.FixedLengthDecodingState.finishDecode(ProtocolDecoderOutput out) Invoked when the associatedIoSessionis closed.protected abstract DecodingStateIntegerDecodingState.finishDecode(int value, ProtocolDecoderOutput out) Invoked when this state has consumed a completeint.IntegerDecodingState.finishDecode(ProtocolDecoderOutput out) Invoked when the associatedIoSessionis closed.protected abstract DecodingStateShortIntegerDecodingState.finishDecode(short value, ProtocolDecoderOutput out) Invoked when this state has consumed a completeshort.ShortIntegerDecodingState.finishDecode(ProtocolDecoderOutput out) Invoked when the associatedIoSessionis closed.protected abstract DecodingStateSingleByteDecodingState.finishDecode(byte b, ProtocolDecoderOutput out) Invoked when this state has consumed a completebyte.SingleByteDecodingState.finishDecode(ProtocolDecoderOutput out) Invoked when the associatedIoSessionis closed.protected abstract DecodingStateSkippingState.finishDecode(int skippedBytes) Invoked when this state cannot skip any more bytes.SkippingState.finishDecode(ProtocolDecoderOutput out) Invoked when the associatedIoSessionis closed.private DecodingStateDecodingStateMachine.getCurrentState()protected abstract DecodingStateDecodingStateMachine.init()Invoked to initialize this state machine.Constructors in org.apache.mina.filter.codec.statemachine with parameters of type DecodingState