|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mina.example.sumup.codec.AbstractMessageDecoder
org.apache.mina.example.sumup.codec.ResultMessageDecoder
public class ResultMessageDecoder
A MessageDecoder
that decodes ResultMessage
.
Field Summary |
---|
Fields inherited from interface org.apache.mina.filter.codec.demux.MessageDecoder |
---|
NEED_DATA, NOT_OK, OK |
Constructor Summary | |
---|---|
ResultMessageDecoder()
|
Method Summary | |
---|---|
protected AbstractMessage |
decodeBody(IoSession session,
IoBuffer in)
|
void |
finishDecode(IoSession session,
ProtocolDecoderOutput out)
Invoked when the specified session is closed while this decoder was parsing the data. |
Methods inherited from class org.apache.mina.example.sumup.codec.AbstractMessageDecoder |
---|
decodable, decode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultMessageDecoder()
Method Detail |
---|
protected AbstractMessage decodeBody(IoSession session, IoBuffer in)
decodeBody
in class AbstractMessageDecoder
public void finishDecode(IoSession session, ProtocolDecoderOutput out) throws java.lang.Exception
MessageDecoder
MessageDecoder.decode(IoSession, IoBuffer, ProtocolDecoderOutput)
method didn't process
completely.
java.lang.Exception
- if the read data violated protocol specification
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |