org.littleshoot.util.mina
Interface DecodingState
- All Known Implementing Classes:
- ConsumeToCrlfDecodingState, ConsumeToLinearWhitespaceDecodingState, ConsumeToTerminatorDecodingState, CrlfDecodingState, DecodingStateMachine, FixedLengthDecodingState, SkippingState, SpaceSkippingState, UnsignedIntDecodingState, UnsignedShortDecodingState
public interface DecodingState
Interface for the various decoding states. From AsyncWeb.
|
Method Summary |
DecodingState |
decode(org.littleshoot.mina.common.ByteBuffer in,
org.littleshoot.mina.filter.codec.ProtocolDecoderOutput out)
Decodes the input for this state. |
decode
DecodingState decode(org.littleshoot.mina.common.ByteBuffer in,
org.littleshoot.mina.filter.codec.ProtocolDecoderOutput out)
throws Exception
- Decodes the input for this state.
- Parameters:
in - The read data.out - The output to write to.
- Returns:
- The next decoding state.
- Throws:
Exception - If any error occurs.
Copyright © 2013 LittleShoot. All Rights Reserved.