public interface Message
Modifier and Type | Method and Description |
---|---|
byte[] |
asBytes()
Get the raw payload of the message.
|
String |
getAckID()
getAckID
|
boolean |
getAckRequired()
getAckRequired
|
int |
getAckTimeout()
getAckTimeout
|
String[] |
getHeaders()
getHeaders
|
int |
getNumberOfHeaders()
getNumberOfHeaders
|
int |
getNumberOfRecords()
getNumberOfRecords
|
Record[] |
getRecords()
getRecords
|
String |
getTopic()
getTopic
|
boolean |
isDeltaMessage()
isDeltaMessage
|
boolean |
isInitialTopicLoad()
isInitialTopicLoad
|
boolean |
isPagedLoad()
Indicates whether this is a load message from a 'paged' topic.
|
boolean |
isServiceLoad()
Indicates whether this is a load message from a 'Service' topic.
|
boolean |
isTopicNotifyLoad()
Indicates whether this is a load message from a 'Topic Notify' topic.
|
String |
setAckRequired(int timeout)
setAckRequired, this messages requires an ack from the server
|
String getTopic()
String[] getHeaders()
Record[] getRecords()
int getNumberOfHeaders()
int getNumberOfRecords()
boolean isDeltaMessage()
boolean isInitialTopicLoad()
boolean isServiceLoad()
boolean isPagedLoad()
boolean isTopicNotifyLoad()
When such a message is received a TopicNotifyTopicHandler
should be
created to handle it.
See TopicNotifyTopicData for full details.
boolean getAckRequired()
String getAckID()
int getAckTimeout()
String setAckRequired(int timeout)
timeout
- byte[] asBytes()
Copyright © 2016 Push Technology Ltd. All Rights Reserved.