public class MessageResume extends Message
Message.MessageType| Constructor and Description |
|---|
MessageResume(int id)
Creates a new message based on the given parameters.
|
MessageResume(javax.json.JsonObject obj)
Creates a new message based on the JSON representation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
toJson(Writer writer)
Serializes this message as JSON onto the given writer.
|
getId, getMessage, readValueFromJson, writeValueToJsonpublic MessageResume(javax.json.JsonObject obj)
throws MessageDecodeException
obj - JSON objectMessageDecodeException - if json format is incorrectpublic MessageResume(int id)
id - the channel idCopyright © 2015. All rights reserved.