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 enumstatic classstatic classContains the token string used to authenticate a client with Ably.static enum - 
Field Summary
FieldsModifier and TypeFieldDescriptionintintMessage[]@Nullable Object[]This will be null if we skipped decoding this property due to user not requesting Objects functionality JsonAdapter annotation supports java version (1.8) mentioned in build.gradle This is targeted and specific to the state field, so won't affect other fieldslong - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic boolean(RTN7a)booleanhasFlag(ProtocolMessage.Flag flag) voidsetFlag(ProtocolMessage.Flag flag) voidsetFlags(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
 - 
annotations
 - 
state
This will be null if we skipped decoding this property due to user not requesting Objects functionality JsonAdapter annotation supports java version (1.8) mentioned in build.gradle This is targeted and specific to the state field, so won't affect other fields 
 - 
 - 
Constructor Details
- 
ProtocolMessage
public ProtocolMessage() - 
ProtocolMessage
 - 
ProtocolMessage
 
 - 
 - 
Method Details
- 
ackRequired
(RTN7a) - 
hasFlag
 - 
setFlag
 - 
setFlags
public void setFlags(int flags)  
 -