|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mina.filter.codec.statemachine.ConsumeToDynamicTerminatorDecodingState
public abstract class ConsumeToDynamicTerminatorDecodingState
Consumes until a fixed (ASCII) character is reached. The terminator is skipped.
| Constructor Summary | |
|---|---|
ConsumeToDynamicTerminatorDecodingState()
Creates a new instance. |
|
| Method Summary | |
|---|---|
DecodingState |
decode(IoBuffer in,
ProtocolDecoderOutput out)
Invoked when data is available for this state. |
protected abstract DecodingState |
finishDecode(IoBuffer product,
ProtocolDecoderOutput out)
|
DecodingState |
finishDecode(ProtocolDecoderOutput out)
Invoked when the associated IoSession is closed. |
protected abstract boolean |
isTerminator(byte b)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConsumeToDynamicTerminatorDecodingState()
| Method Detail |
|---|
public DecodingState decode(IoBuffer in,
ProtocolDecoderOutput out)
throws Exception
DecodingState
decode in interface DecodingStateException
public DecodingState finishDecode(ProtocolDecoderOutput out)
throws Exception
DecodingStateIoSession is closed.
finishDecode in interface DecodingStateExceptionprotected abstract boolean isTerminator(byte b)
protected abstract DecodingState finishDecode(IoBuffer product,
ProtocolDecoderOutput out)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||