public interface ICoder
ICoder defines methods relating to the compression/decompression of messages exchanged
between the client and the Interactive service. Implementing classes must be registered in the
CompressionUtil#coderMap in order to be available for use.| Modifier and Type | Method and Description |
|---|---|
String |
decode(byte[] encodedMessage)
Decodes an encoded message.
|
byte[] |
encode(String message)
Encodes a message.
|
byte[] encode(String message) throws IOException
message - The message to be encodedIOException - If there is problem encoding the messageString decode(byte[] encodedMessage) throws IOException
encodedMessage - The message to be decodedIOException - If there is a problem decoding the messageCopyright © 2018. All rights reserved.