public interface IRequestEncoder
java.lang.String encode(java.lang.Object r) throws java.io.IOException
r
- Object to serve as the source of the message.java.io.IOException
- Failure of the encoding operation due to IO error.java.lang.Object decode(java.lang.String s) throws java.io.IOException
java.io.IOException
- Failure of the decoding operation due to IO error.