public class ProtocolMessage
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProtocolMessage.Action |
static class |
ProtocolMessage.ActionSerializer |
static class |
ProtocolMessage.AuthDetails |
static class |
ProtocolMessage.Flag |
| Modifier and Type | Field and Description |
|---|---|
ProtocolMessage.Action |
action |
ProtocolMessage.AuthDetails |
auth |
java.lang.String |
channel |
java.lang.String |
channelSerial |
ConnectionDetails |
connectionDetails |
java.lang.String |
connectionId |
java.lang.Long |
connectionSerial |
int |
count |
ErrorInfo |
error |
int |
flags |
java.lang.String |
id |
Message[] |
messages |
java.lang.Long |
msgSerial |
PresenceMessage[] |
presence |
long |
timestamp |
| Constructor and Description |
|---|
ProtocolMessage() |
ProtocolMessage(ProtocolMessage.Action action) |
ProtocolMessage(ProtocolMessage.Action action,
java.lang.String channel) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ackRequired(ProtocolMessage msg) |
public ProtocolMessage.Action action
public int flags
public int count
public ErrorInfo error
public java.lang.String id
public java.lang.String channel
public java.lang.String channelSerial
public java.lang.String connectionId
public java.lang.Long connectionSerial
public java.lang.Long msgSerial
public long timestamp
public Message[] messages
public PresenceMessage[] presence
public ConnectionDetails connectionDetails
public ProtocolMessage.AuthDetails auth
public ProtocolMessage()
public ProtocolMessage(ProtocolMessage.Action action)
public ProtocolMessage(ProtocolMessage.Action action, java.lang.String channel)
public static boolean ackRequired(ProtocolMessage msg)