public interface Protocol
Use it to encode or decode Message
s from other Message
s.
Modifier and Type | Method and Description |
---|---|
org.macroing.cit.messaging.Message |
decode(org.macroing.cit.messaging.Message message)
Returns a
Message representing the decoded version of another Message . |
org.macroing.cit.messaging.Message |
encode(org.macroing.cit.messaging.Message message)
Returns a
Message representing the encoded version of another Message . |
org.macroing.cit.messaging.Message decode(org.macroing.cit.messaging.Message message)
Message
representing the decoded version of another Message
.message
- the Message
to decodeMessage
representing the decoded version of another Message
org.macroing.cit.messaging.Message encode(org.macroing.cit.messaging.Message message)
Message
representing the encoded version of another Message
.message
- the Message
to encodeMessage
representing the encoded version of another Message