程序包 | 说明 |
---|---|
org.apache.mina.example.sumup.codec |
Protocol codec implementation for SumUp protocol.
|
org.apache.mina.example.sumup.message |
Protocol mmessage classes for SumUp protocol.
|
限定符和类型 | 方法和说明 |
---|---|
protected AbstractMessage |
ResultMessageDecoder.decodeBody(IoSession session,
ByteBuffer in) |
protected AbstractMessage |
AddMessageDecoder.decodeBody(IoSession session,
ByteBuffer in) |
protected abstract AbstractMessage |
AbstractMessageDecoder.decodeBody(IoSession session,
ByteBuffer in) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
ResultMessageEncoder.encodeBody(IoSession session,
AbstractMessage message,
ByteBuffer out) |
protected void |
AddMessageEncoder.encodeBody(IoSession session,
AbstractMessage message,
ByteBuffer out) |
protected abstract void |
AbstractMessageEncoder.encodeBody(IoSession session,
AbstractMessage message,
ByteBuffer out) |
限定符和类型 | 类和说明 |
---|---|
class |
AddMessage
ADD message in SumUp protocol. |
class |
ResultMessage
RESULT message in SumUp protocol. |