Package io.ably.lib.types
Class ProtocolMessage
java.lang.Object
io.ably.lib.types.ProtocolMessage
A message sent and received over the Realtime protocol.
A ProtocolMessage always relates to a single channel only, but
can contain multiple individual Messages or PresenceMessages.
ProtocolMessages are serially numbered on a connection.
See the Ably client library developer documentation for further
details on the members of a ProtocolMessage.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static class
static class
Contains the token string used to authenticate a client with Ably.static enum
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
boolean
hasFlag
(ProtocolMessage.Flag flag) void
setFlag
(ProtocolMessage.Flag flag) void
setFlags
(int flags)
-
Field Details
-
action
-
flags
public int flags -
count
public int count -
error
-
id
-
channel
-
channelSerial
-
connectionId
-
msgSerial
-
timestamp
public long timestamp -
messages
-
presence
-
connectionDetails
-
auth
-
params
-
-
Constructor Details
-
ProtocolMessage
public ProtocolMessage() -
ProtocolMessage
-
ProtocolMessage
-
-
Method Details
-
ackRequired
-
hasFlag
-
setFlag
-
setFlags
public void setFlags(int flags)
-