public class MessagePause extends Message
Message.MessageType
Constructor and Description |
---|
MessagePause(int id)
Creates a new message based on the given parameters.
|
MessagePause(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, writeValueToJson
public MessagePause(javax.json.JsonObject obj) throws MessageDecodeException
obj
- JSON objectMessageDecodeException
- if json format is incorrectpublic MessagePause(int id)
id
- the channel idCopyright © 2015. All rights reserved.