AMPS C/C++ Client Class Reference
AMPS C/C++ Client Version 5.3.4.4
|
Message encapsulates a single message sent to or received from an AMPS server, and provides methods for every header that can be present, whether or not that header will be populated or used in a particular context. More...
#include <Message.hpp>
Classes | |
struct | AckType |
Valid values for the setAckTypeEnum() and getAckTypeEnum() methods. More... | |
struct | Command |
Valid values for setCommandEnum() and getCommandEnum(). More... | |
class | Options |
Class for constructing the options string to pass to AMPS in a Message. More... | |
Public Types |
Public Member Functions | |
Message (CtorFlag) | |
Constructs a new empty, invalid Message. | |
Message (amps_handle message_, bool owner_=false) | |
Constructs a new Message to wrap message. More... | |
Message () | |
Construct a new, empty Message. | |
Message | deepCopy (void) const |
Returns a deep copy of self. | |
void | deepCopy (const Message &rhs_) |
Makes self a deep copy of rhs_. | |
unsigned | getAckTypeEnum () const |
Decode self's "ack type" field and return the corresponding bitmask of values from AckType. More... | |
Message & | setAckTypeEnum (unsigned ackType_) |
Encode self's "ack type" field from a bitmask of values from AckType. More... | |
Command::Type | getCommandEnum () const |
Decode self's "command" field and return one of the values from Command. | |
Message & | setCommandEnum (Command::Type command_) |
Set self's "command" field from one of the values in Command. | |
Field | getTransmissionTime () const |
void | getRawTransmissionTime (const char **dataptr, size_t *sizeptr) const |
Field | getData () const |
Returns the data from this message. More... | |
Message & | setData (const std::string &v_) |
Sets the data portion of self. More... | |
Message & | setData (const char *data_, size_t length_) |
Sets the data portion of self from a char array. More... | |
Message & | setData (const char *data_) |
Sets the data portion of self from a null-terminated string. More... | |
AckType Functions | |
Field | getAckType () const |
Retrieves the value of the AckType header of the Message as a new Field. More... | |
void | getRawAckType (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the AckType header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setAckType (const std::string &v) |
Sets the value of the AckType header for this Message. More... | |
Message & | setAckType (amps_uint64_t v) |
Sets the value of the AckType header for this Message. More... | |
Message & | assignAckType (const std::string &v) |
Sets the value of the AckType header for this Message. More... | |
Message & | assignAckType (const char *data, size_t len) |
Sets the value of the AckType header for this Message. More... | |
Message & | setAckType (const char *str) |
Sets the value of the AckType header for this Message. More... | |
Message & | setAckType (const char *str, size_t len) |
Sets the value of the AckType header for this Message. More... | |
Message & | newAckType () |
Creates and sets a new sequential value for the AckType header for this Message. More... | |
BatchSize Functions | |
Field | getBatchSize () const |
Retrieves the value of the BatchSize header of the Message as a new Field. More... | |
void | getRawBatchSize (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the BatchSize header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setBatchSize (const std::string &v) |
Sets the value of the BatchSize header for this Message. More... | |
Message & | setBatchSize (amps_uint64_t v) |
Sets the value of the BatchSize header for this Message. More... | |
Message & | assignBatchSize (const std::string &v) |
Sets the value of the BatchSize header for this Message. More... | |
Message & | assignBatchSize (const char *data, size_t len) |
Sets the value of the BatchSize header for this Message. More... | |
Message & | setBatchSize (const char *str) |
Sets the value of the BatchSize header for this Message. More... | |
Message & | setBatchSize (const char *str, size_t len) |
Sets the value of the BatchSize header for this Message. More... | |
Message & | newBatchSize () |
Creates and sets a new sequential value for the BatchSize header for this Message. More... | |
Bookmark Functions | |
Field | getBookmark () const |
Retrieves the value of the Bookmark header of the Message as a new Field. More... | |
void | getRawBookmark (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the Bookmark header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setBookmark (const std::string &v) |
Sets the value of the Bookmark header for this Message. More... | |
Message & | setBookmark (amps_uint64_t v) |
Sets the value of the Bookmark header for this Message. More... | |
Message & | assignBookmark (const std::string &v) |
Sets the value of the Bookmark header for this Message. More... | |
Message & | assignBookmark (const char *data, size_t len) |
Sets the value of the Bookmark header for this Message. More... | |
Message & | setBookmark (const char *str) |
Sets the value of the Bookmark header for this Message. More... | |
Message & | setBookmark (const char *str, size_t len) |
Sets the value of the Bookmark header for this Message. More... | |
Message & | newBookmark () |
Creates and sets a new sequential value for the Bookmark header for this Message. More... | |
Command Functions | |
Field | getCommand () const |
Retrieves the value of the Command header of the Message as a new Field. More... | |
void | getRawCommand (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the Command header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setCommand (const std::string &v) |
Sets the value of the Command header for this Message. More... | |
Message & | setCommand (amps_uint64_t v) |
Sets the value of the Command header for this Message. More... | |
Message & | assignCommand (const std::string &v) |
Sets the value of the Command header for this Message. More... | |
Message & | assignCommand (const char *data, size_t len) |
Sets the value of the Command header for this Message. More... | |
Message & | setCommand (const char *str) |
Sets the value of the Command header for this Message. More... | |
Message & | setCommand (const char *str, size_t len) |
Sets the value of the Command header for this Message. More... | |
Message & | newCommand () |
Creates and sets a new sequential value for the Command header for this Message. More... | |
CommandId Functions | |
Field | getCommandId () const |
Retrieves the value of the CommandId header of the Message as a new Field. More... | |
void | getRawCommandId (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the CommandId header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setCommandId (const std::string &v) |
Sets the value of the CommandId header for this Message. More... | |
Message & | setCommandId (amps_uint64_t v) |
Sets the value of the CommandId header for this Message. More... | |
Message & | assignCommandId (const std::string &v) |
Sets the value of the CommandId header for this Message. More... | |
Message & | assignCommandId (const char *data, size_t len) |
Sets the value of the CommandId header for this Message. More... | |
Message & | setCommandId (const char *str) |
Sets the value of the CommandId header for this Message. More... | |
Message & | setCommandId (const char *str, size_t len) |
Sets the value of the CommandId header for this Message. More... | |
Message & | newCommandId () |
Creates and sets a new sequential value for the CommandId header for this Message. More... | |
ClientName Functions | |
Field | getClientName () const |
Retrieves the value of the ClientName header of the Message as a new Field. More... | |
void | getRawClientName (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the ClientName header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setClientName (const std::string &v) |
Sets the value of the ClientName header for this Message. More... | |
Message & | setClientName (amps_uint64_t v) |
Sets the value of the ClientName header for this Message. More... | |
Message & | assignClientName (const std::string &v) |
Sets the value of the ClientName header for this Message. More... | |
Message & | assignClientName (const char *data, size_t len) |
Sets the value of the ClientName header for this Message. More... | |
Message & | setClientName (const char *str) |
Sets the value of the ClientName header for this Message. More... | |
Message & | setClientName (const char *str, size_t len) |
Sets the value of the ClientName header for this Message. More... | |
Message & | newClientName () |
Creates and sets a new sequential value for the ClientName header for this Message. More... | |
CorrelationId Functions | |
Field | getCorrelationId () const |
Retrieves the value of the CorrelationId header of the Message as a new Field. More... | |
void | getRawCorrelationId (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the CorrelationId header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setCorrelationId (const std::string &v) |
Sets the value of the CorrelationId header for this Message. More... | |
Message & | setCorrelationId (amps_uint64_t v) |
Sets the value of the CorrelationId header for this Message. More... | |
Message & | assignCorrelationId (const std::string &v) |
Sets the value of the CorrelationId header for this Message. More... | |
Message & | assignCorrelationId (const char *data, size_t len) |
Sets the value of the CorrelationId header for this Message. More... | |
Message & | setCorrelationId (const char *str) |
Sets the value of the CorrelationId header for this Message. More... | |
Message & | setCorrelationId (const char *str, size_t len) |
Sets the value of the CorrelationId header for this Message. More... | |
Message & | newCorrelationId () |
Creates and sets a new sequential value for the CorrelationId header for this Message. More... | |
Expiration Functions | |
Field | getExpiration () const |
Retrieves the value of the Expiration header of the Message as a new Field. More... | |
void | getRawExpiration (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the Expiration header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setExpiration (const std::string &v) |
Sets the value of the Expiration header for this Message. More... | |
Message & | setExpiration (amps_uint64_t v) |
Sets the value of the Expiration header for this Message. More... | |
Message & | assignExpiration (const std::string &v) |
Sets the value of the Expiration header for this Message. More... | |
Message & | assignExpiration (const char *data, size_t len) |
Sets the value of the Expiration header for this Message. More... | |
Message & | setExpiration (const char *str) |
Sets the value of the Expiration header for this Message. More... | |
Message & | setExpiration (const char *str, size_t len) |
Sets the value of the Expiration header for this Message. More... | |
Message & | newExpiration () |
Creates and sets a new sequential value for the Expiration header for this Message. More... | |
Filter Functions | |
Field | getFilter () const |
Retrieves the value of the Filter header of the Message as a new Field. More... | |
void | getRawFilter (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the Filter header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setFilter (const std::string &v) |
Sets the value of the Filter header for this Message. More... | |
Message & | setFilter (amps_uint64_t v) |
Sets the value of the Filter header for this Message. More... | |
Message & | assignFilter (const std::string &v) |
Sets the value of the Filter header for this Message. More... | |
Message & | assignFilter (const char *data, size_t len) |
Sets the value of the Filter header for this Message. More... | |
Message & | setFilter (const char *str) |
Sets the value of the Filter header for this Message. More... | |
Message & | setFilter (const char *str, size_t len) |
Sets the value of the Filter header for this Message. More... | |
Message & | newFilter () |
Creates and sets a new sequential value for the Filter header for this Message. More... | |
GroupSequenceNumber Functions | |
Field | getGroupSequenceNumber () const |
Retrieves the value of the GroupSequenceNumber header of the Message as a new Field. More... | |
void | getRawGroupSequenceNumber (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the GroupSequenceNumber header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setGroupSequenceNumber (const std::string &v) |
Sets the value of the GroupSequenceNumber header for this Message. More... | |
Message & | setGroupSequenceNumber (amps_uint64_t v) |
Sets the value of the GroupSequenceNumber header for this Message. More... | |
Message & | assignGroupSequenceNumber (const std::string &v) |
Sets the value of the GroupSequenceNumber header for this Message. More... | |
Message & | assignGroupSequenceNumber (const char *data, size_t len) |
Sets the value of the GroupSequenceNumber header for this Message. More... | |
Message & | setGroupSequenceNumber (const char *str) |
Sets the value of the GroupSequenceNumber header for this Message. More... | |
Message & | setGroupSequenceNumber (const char *str, size_t len) |
Sets the value of the GroupSequenceNumber header for this Message. More... | |
Message & | newGroupSequenceNumber () |
Creates and sets a new sequential value for the GroupSequenceNumber header for this Message. More... | |
Heartbeat Functions | |
Field | getHeartbeat () const |
Retrieves the value of the Heartbeat header of the Message as a new Field. More... | |
void | getRawHeartbeat (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the Heartbeat header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setHeartbeat (const std::string &v) |
Sets the value of the Heartbeat header for this Message. More... | |
Message & | setHeartbeat (amps_uint64_t v) |
Sets the value of the Heartbeat header for this Message. More... | |
Message & | assignHeartbeat (const std::string &v) |
Sets the value of the Heartbeat header for this Message. More... | |
Message & | assignHeartbeat (const char *data, size_t len) |
Sets the value of the Heartbeat header for this Message. More... | |
Message & | setHeartbeat (const char *str) |
Sets the value of the Heartbeat header for this Message. More... | |
Message & | setHeartbeat (const char *str, size_t len) |
Sets the value of the Heartbeat header for this Message. More... | |
Message & | newHeartbeat () |
Creates and sets a new sequential value for the Heartbeat header for this Message. More... | |
LeasePeriod Functions | |
Field | getLeasePeriod () const |
Retrieves the value of the LeasePeriod header of the Message as a new Field. More... | |
void | getRawLeasePeriod (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the LeasePeriod header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setLeasePeriod (const std::string &v) |
Sets the value of the LeasePeriod header for this Message. More... | |
Message & | setLeasePeriod (amps_uint64_t v) |
Sets the value of the LeasePeriod header for this Message. More... | |
Message & | assignLeasePeriod (const std::string &v) |
Sets the value of the LeasePeriod header for this Message. More... | |
Message & | assignLeasePeriod (const char *data, size_t len) |
Sets the value of the LeasePeriod header for this Message. More... | |
Message & | setLeasePeriod (const char *str) |
Sets the value of the LeasePeriod header for this Message. More... | |
Message & | setLeasePeriod (const char *str, size_t len) |
Sets the value of the LeasePeriod header for this Message. More... | |
Message & | newLeasePeriod () |
Creates and sets a new sequential value for the LeasePeriod header for this Message. More... | |
Matches Functions | |
Field | getMatches () const |
Retrieves the value of the Matches header of the Message as a new Field. More... | |
void | getRawMatches (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the Matches header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setMatches (const std::string &v) |
Sets the value of the Matches header for this Message. More... | |
Message & | setMatches (amps_uint64_t v) |
Sets the value of the Matches header for this Message. More... | |
Message & | assignMatches (const std::string &v) |
Sets the value of the Matches header for this Message. More... | |
Message & | assignMatches (const char *data, size_t len) |
Sets the value of the Matches header for this Message. More... | |
Message & | setMatches (const char *str) |
Sets the value of the Matches header for this Message. More... | |
Message & | setMatches (const char *str, size_t len) |
Sets the value of the Matches header for this Message. More... | |
Message & | newMatches () |
Creates and sets a new sequential value for the Matches header for this Message. More... | |
MessageLength Functions | |
Field | getMessageLength () const |
Retrieves the value of the MessageLength header of the Message as a new Field. More... | |
void | getRawMessageLength (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the MessageLength header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setMessageLength (const std::string &v) |
Sets the value of the MessageLength header for this Message. More... | |
Message & | setMessageLength (amps_uint64_t v) |
Sets the value of the MessageLength header for this Message. More... | |
Message & | assignMessageLength (const std::string &v) |
Sets the value of the MessageLength header for this Message. More... | |
Message & | assignMessageLength (const char *data, size_t len) |
Sets the value of the MessageLength header for this Message. More... | |
Message & | setMessageLength (const char *str) |
Sets the value of the MessageLength header for this Message. More... | |
Message & | setMessageLength (const char *str, size_t len) |
Sets the value of the MessageLength header for this Message. More... | |
Message & | newMessageLength () |
Creates and sets a new sequential value for the MessageLength header for this Message. More... | |
MessageType Functions | |
Field | getMessageType () const |
Retrieves the value of the MessageType header of the Message as a new Field. More... | |
void | getRawMessageType (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the MessageType header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setMessageType (const std::string &v) |
Sets the value of the MessageType header for this Message. More... | |
Message & | setMessageType (amps_uint64_t v) |
Sets the value of the MessageType header for this Message. More... | |
Message & | assignMessageType (const std::string &v) |
Sets the value of the MessageType header for this Message. More... | |
Message & | assignMessageType (const char *data, size_t len) |
Sets the value of the MessageType header for this Message. More... | |
Message & | setMessageType (const char *str) |
Sets the value of the MessageType header for this Message. More... | |
Message & | setMessageType (const char *str, size_t len) |
Sets the value of the MessageType header for this Message. More... | |
Message & | newMessageType () |
Creates and sets a new sequential value for the MessageType header for this Message. More... | |
Options Functions | |
Field | getOptions () const |
Retrieves the value of the Options header of the Message as a new Field. More... | |
void | getRawOptions (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the Options header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setOptions (const std::string &v) |
Sets the value of the Options header for this Message. More... | |
Message & | assignOptions (const std::string &v) |
Sets the value of the Options header for this Message. More... | |
Message & | assignOptions (const char *data, size_t len) |
Sets the value of the Options header for this Message. More... | |
Message & | setOptions (const char *str) |
Sets the value of the Options header for this Message. More... | |
Message & | setOptions (const char *str, size_t len) |
Sets the value of the Options header for this Message. More... | |
OrderBy Functions | |
Field | getOrderBy () const |
Retrieves the value of the OrderBy header of the Message as a new Field. More... | |
void | getRawOrderBy (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the OrderBy header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setOrderBy (const std::string &v) |
Sets the value of the OrderBy header for this Message. More... | |
Message & | setOrderBy (amps_uint64_t v) |
Sets the value of the OrderBy header for this Message. More... | |
Message & | assignOrderBy (const std::string &v) |
Sets the value of the OrderBy header for this Message. More... | |
Message & | assignOrderBy (const char *data, size_t len) |
Sets the value of the OrderBy header for this Message. More... | |
Message & | setOrderBy (const char *str) |
Sets the value of the OrderBy header for this Message. More... | |
Message & | setOrderBy (const char *str, size_t len) |
Sets the value of the OrderBy header for this Message. More... | |
Message & | newOrderBy () |
Creates and sets a new sequential value for the OrderBy header for this Message. More... | |
Password Functions | |
Field | getPassword () const |
Retrieves the value of the Password header of the Message as a new Field. More... | |
void | getRawPassword (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the Password header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setPassword (const std::string &v) |
Sets the value of the Password header for this Message. More... | |
Message & | setPassword (amps_uint64_t v) |
Sets the value of the Password header for this Message. More... | |
Message & | assignPassword (const std::string &v) |
Sets the value of the Password header for this Message. More... | |
Message & | assignPassword (const char *data, size_t len) |
Sets the value of the Password header for this Message. More... | |
Message & | setPassword (const char *str) |
Sets the value of the Password header for this Message. More... | |
Message & | setPassword (const char *str, size_t len) |
Sets the value of the Password header for this Message. More... | |
Message & | newPassword () |
Creates and sets a new sequential value for the Password header for this Message. More... | |
QueryID Functions | |
Field | getQueryID () const |
Retrieves the value of the QueryID header of the Message as a new Field. More... | |
void | getRawQueryID (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the QueryID header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setQueryID (const std::string &v) |
Sets the value of the QueryID header for this Message. More... | |
Message & | setQueryID (amps_uint64_t v) |
Sets the value of the QueryID header for this Message. More... | |
Message & | assignQueryID (const std::string &v) |
Sets the value of the QueryID header for this Message. More... | |
Message & | assignQueryID (const char *data, size_t len) |
Sets the value of the QueryID header for this Message. More... | |
Message & | setQueryID (const char *str) |
Sets the value of the QueryID header for this Message. More... | |
Message & | setQueryID (const char *str, size_t len) |
Sets the value of the QueryID header for this Message. More... | |
Message & | newQueryID () |
Creates and sets a new sequential value for the QueryID header for this Message. More... | |
Field | getQueryId () const |
Retrieves the value of the QueryID header of the Message as a new Field. More... | |
void | getRawQueryId (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the QueryID header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setQueryId (const std::string &v) |
Sets the value of the QueryID header for this Message. More... | |
Message & | setQueryId (amps_uint64_t v) |
Sets the value of the QueryID header for this Message. More... | |
Message & | assignQueryId (const std::string &v) |
Sets the value of the QueryID header for this Message. More... | |
Message & | assignQueryId (const char *data, size_t len) |
Sets the value of the QueryID header for this Message. More... | |
Message & | setQueryId (const char *str) |
Sets the value of the QueryID header for this Message. More... | |
Message & | setQueryId (const char *str, size_t len) |
Sets the value of the QueryID header for this Message. More... | |
Message & | newQueryId () |
Creates and sets a new sequential value for the QueryID header for this Message. More... | |
Reason Functions | |
Field | getReason () const |
Retrieves the value of the Reason header of the Message as a new Field. More... | |
void | getRawReason (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the Reason header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setReason (const std::string &v) |
Sets the value of the Reason header for this Message. More... | |
Message & | setReason (amps_uint64_t v) |
Sets the value of the Reason header for this Message. More... | |
Message & | assignReason (const std::string &v) |
Sets the value of the Reason header for this Message. More... | |
Message & | assignReason (const char *data, size_t len) |
Sets the value of the Reason header for this Message. More... | |
Message & | setReason (const char *str) |
Sets the value of the Reason header for this Message. More... | |
Message & | setReason (const char *str, size_t len) |
Sets the value of the Reason header for this Message. More... | |
Message & | newReason () |
Creates and sets a new sequential value for the Reason header for this Message. More... | |
RecordsInserted Functions | |
Field | getRecordsInserted () const |
Retrieves the value of the RecordsInserted header of the Message as a new Field. More... | |
void | getRawRecordsInserted (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the RecordsInserted header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setRecordsInserted (const std::string &v) |
Sets the value of the RecordsInserted header for this Message. More... | |
Message & | setRecordsInserted (amps_uint64_t v) |
Sets the value of the RecordsInserted header for this Message. More... | |
Message & | assignRecordsInserted (const std::string &v) |
Sets the value of the RecordsInserted header for this Message. More... | |
Message & | assignRecordsInserted (const char *data, size_t len) |
Sets the value of the RecordsInserted header for this Message. More... | |
Message & | setRecordsInserted (const char *str) |
Sets the value of the RecordsInserted header for this Message. More... | |
Message & | setRecordsInserted (const char *str, size_t len) |
Sets the value of the RecordsInserted header for this Message. More... | |
Message & | newRecordsInserted () |
Creates and sets a new sequential value for the RecordsInserted header for this Message. More... | |
RecordsReturned Functions | |
Field | getRecordsReturned () const |
Retrieves the value of the RecordsReturned header of the Message as a new Field. More... | |
void | getRawRecordsReturned (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the RecordsReturned header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setRecordsReturned (const std::string &v) |
Sets the value of the RecordsReturned header for this Message. More... | |
Message & | setRecordsReturned (amps_uint64_t v) |
Sets the value of the RecordsReturned header for this Message. More... | |
Message & | assignRecordsReturned (const std::string &v) |
Sets the value of the RecordsReturned header for this Message. More... | |
Message & | assignRecordsReturned (const char *data, size_t len) |
Sets the value of the RecordsReturned header for this Message. More... | |
Message & | setRecordsReturned (const char *str) |
Sets the value of the RecordsReturned header for this Message. More... | |
Message & | setRecordsReturned (const char *str, size_t len) |
Sets the value of the RecordsReturned header for this Message. More... | |
Message & | newRecordsReturned () |
Creates and sets a new sequential value for the RecordsReturned header for this Message. More... | |
RecordsUpdated Functions | |
Field | getRecordsUpdated () const |
Retrieves the value of the RecordsUpdated header of the Message as a new Field. More... | |
void | getRawRecordsUpdated (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the RecordsUpdated header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setRecordsUpdated (const std::string &v) |
Sets the value of the RecordsUpdated header for this Message. More... | |
Message & | setRecordsUpdated (amps_uint64_t v) |
Sets the value of the RecordsUpdated header for this Message. More... | |
Message & | assignRecordsUpdated (const std::string &v) |
Sets the value of the RecordsUpdated header for this Message. More... | |
Message & | assignRecordsUpdated (const char *data, size_t len) |
Sets the value of the RecordsUpdated header for this Message. More... | |
Message & | setRecordsUpdated (const char *str) |
Sets the value of the RecordsUpdated header for this Message. More... | |
Message & | setRecordsUpdated (const char *str, size_t len) |
Sets the value of the RecordsUpdated header for this Message. More... | |
Message & | newRecordsUpdated () |
Creates and sets a new sequential value for the RecordsUpdated header for this Message. More... | |
Sequence Functions | |
Field | getSequence () const |
Retrieves the value of the Sequence header of the Message as a new Field. More... | |
void | getRawSequence (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the Sequence header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setSequence (const std::string &v) |
Sets the value of the Sequence header for this Message. More... | |
Message & | setSequence (amps_uint64_t v) |
Sets the value of the Sequence header for this Message. More... | |
Message & | assignSequence (const std::string &v) |
Sets the value of the Sequence header for this Message. More... | |
Message & | assignSequence (const char *data, size_t len) |
Sets the value of the Sequence header for this Message. More... | |
Message & | setSequence (const char *str) |
Sets the value of the Sequence header for this Message. More... | |
Message & | setSequence (const char *str, size_t len) |
Sets the value of the Sequence header for this Message. More... | |
Message & | newSequence () |
Creates and sets a new sequential value for the Sequence header for this Message. More... | |
SowDelete Functions | |
Field | getSowDelete () const |
Retrieves the value of the SowDelete header of the Message as a new Field. More... | |
void | getRawSowDelete (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the SowDelete header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setSowDelete (const std::string &v) |
Sets the value of the SowDelete header for this Message. More... | |
Message & | setSowDelete (amps_uint64_t v) |
Sets the value of the SowDelete header for this Message. More... | |
Message & | assignSowDelete (const std::string &v) |
Sets the value of the SowDelete header for this Message. More... | |
Message & | assignSowDelete (const char *data, size_t len) |
Sets the value of the SowDelete header for this Message. More... | |
Message & | setSowDelete (const char *str) |
Sets the value of the SowDelete header for this Message. More... | |
Message & | setSowDelete (const char *str, size_t len) |
Sets the value of the SowDelete header for this Message. More... | |
Message & | newSowDelete () |
Creates and sets a new sequential value for the SowDelete header for this Message. More... | |
SowKey Functions | |
Field | getSowKey () const |
Retrieves the value of the SowKey header of the Message as a new Field. More... | |
void | getRawSowKey (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the SowKey header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setSowKey (const std::string &v) |
Sets the value of the SowKey header for this Message. More... | |
Message & | setSowKey (amps_uint64_t v) |
Sets the value of the SowKey header for this Message. More... | |
Message & | assignSowKey (const std::string &v) |
Sets the value of the SowKey header for this Message. More... | |
Message & | assignSowKey (const char *data, size_t len) |
Sets the value of the SowKey header for this Message. More... | |
Message & | setSowKey (const char *str) |
Sets the value of the SowKey header for this Message. More... | |
Message & | setSowKey (const char *str, size_t len) |
Sets the value of the SowKey header for this Message. More... | |
Message & | newSowKey () |
Creates and sets a new sequential value for the SowKey header for this Message. More... | |
SowKeys Functions | |
Field | getSowKeys () const |
Retrieves the value of the SowKeys header of the Message as a new Field. More... | |
void | getRawSowKeys (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the SowKeys header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setSowKeys (const std::string &v) |
Sets the value of the SowKeys header for this Message. More... | |
Message & | setSowKeys (amps_uint64_t v) |
Sets the value of the SowKeys header for this Message. More... | |
Message & | assignSowKeys (const std::string &v) |
Sets the value of the SowKeys header for this Message. More... | |
Message & | assignSowKeys (const char *data, size_t len) |
Sets the value of the SowKeys header for this Message. More... | |
Message & | setSowKeys (const char *str) |
Sets the value of the SowKeys header for this Message. More... | |
Message & | setSowKeys (const char *str, size_t len) |
Sets the value of the SowKeys header for this Message. More... | |
Message & | newSowKeys () |
Creates and sets a new sequential value for the SowKeys header for this Message. More... | |
Status Functions | |
Field | getStatus () const |
Retrieves the value of the Status header of the Message as a new Field. More... | |
void | getRawStatus (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the Status header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setStatus (const std::string &v) |
Sets the value of the Status header for this Message. More... | |
Message & | setStatus (amps_uint64_t v) |
Sets the value of the Status header for this Message. More... | |
Message & | assignStatus (const std::string &v) |
Sets the value of the Status header for this Message. More... | |
Message & | assignStatus (const char *data, size_t len) |
Sets the value of the Status header for this Message. More... | |
Message & | setStatus (const char *str) |
Sets the value of the Status header for this Message. More... | |
Message & | setStatus (const char *str, size_t len) |
Sets the value of the Status header for this Message. More... | |
Message & | newStatus () |
Creates and sets a new sequential value for the Status header for this Message. More... | |
SubscriptionId Functions | |
Field | getSubscriptionId () const |
Retrieves the value of the SubscriptionId header of the Message as a new Field. More... | |
void | getRawSubscriptionId (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the SubscriptionId header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setSubscriptionId (const std::string &v) |
Sets the value of the SubscriptionId header for this Message. More... | |
Message & | setSubscriptionId (amps_uint64_t v) |
Sets the value of the SubscriptionId header for this Message. More... | |
Message & | assignSubscriptionId (const std::string &v) |
Sets the value of the SubscriptionId header for this Message. More... | |
Message & | assignSubscriptionId (const char *data, size_t len) |
Sets the value of the SubscriptionId header for this Message. More... | |
Message & | setSubscriptionId (const char *str) |
Sets the value of the SubscriptionId header for this Message. More... | |
Message & | setSubscriptionId (const char *str, size_t len) |
Sets the value of the SubscriptionId header for this Message. More... | |
Message & | newSubscriptionId () |
Creates and sets a new sequential value for the SubscriptionId header for this Message. More... | |
Field | getSubId () const |
Retrieves the value of the SubscriptionId header of the Message as a new Field. More... | |
void | getRawSubId (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the SubscriptionId header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setSubId (const std::string &v) |
Sets the value of the SubscriptionId header for this Message. More... | |
Message & | setSubId (amps_uint64_t v) |
Sets the value of the SubscriptionId header for this Message. More... | |
Message & | assignSubId (const std::string &v) |
Sets the value of the SubscriptionId header for this Message. More... | |
Message & | assignSubId (const char *data, size_t len) |
Sets the value of the SubscriptionId header for this Message. More... | |
Message & | setSubId (const char *str) |
Sets the value of the SubscriptionId header for this Message. More... | |
Message & | setSubId (const char *str, size_t len) |
Sets the value of the SubscriptionId header for this Message. More... | |
Message & | newSubId () |
Creates and sets a new sequential value for the SubscriptionId header for this Message. More... | |
SubscriptionIds Functions | |
Field | getSubscriptionIds () const |
Retrieves the value of the SubscriptionIds header of the Message as a new Field. More... | |
void | getRawSubscriptionIds (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the SubscriptionIds header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setSubscriptionIds (const std::string &v) |
Sets the value of the SubscriptionIds header for this Message. More... | |
Message & | setSubscriptionIds (amps_uint64_t v) |
Sets the value of the SubscriptionIds header for this Message. More... | |
Message & | assignSubscriptionIds (const std::string &v) |
Sets the value of the SubscriptionIds header for this Message. More... | |
Message & | assignSubscriptionIds (const char *data, size_t len) |
Sets the value of the SubscriptionIds header for this Message. More... | |
Message & | setSubscriptionIds (const char *str) |
Sets the value of the SubscriptionIds header for this Message. More... | |
Message & | setSubscriptionIds (const char *str, size_t len) |
Sets the value of the SubscriptionIds header for this Message. More... | |
Message & | newSubscriptionIds () |
Creates and sets a new sequential value for the SubscriptionIds header for this Message. More... | |
TimeoutInterval Functions | |
Field | getTimeoutInterval () const |
Retrieves the value of the TimeoutInterval header of the Message as a new Field. More... | |
void | getRawTimeoutInterval (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the TimeoutInterval header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setTimeoutInterval (const std::string &v) |
Sets the value of the TimeoutInterval header for this Message. More... | |
Message & | setTimeoutInterval (amps_uint64_t v) |
Sets the value of the TimeoutInterval header for this Message. More... | |
Message & | assignTimeoutInterval (const std::string &v) |
Sets the value of the TimeoutInterval header for this Message. More... | |
Message & | assignTimeoutInterval (const char *data, size_t len) |
Sets the value of the TimeoutInterval header for this Message. More... | |
Message & | setTimeoutInterval (const char *str) |
Sets the value of the TimeoutInterval header for this Message. More... | |
Message & | setTimeoutInterval (const char *str, size_t len) |
Sets the value of the TimeoutInterval header for this Message. More... | |
Message & | newTimeoutInterval () |
Creates and sets a new sequential value for the TimeoutInterval header for this Message. More... | |
Timestamp Functions | |
Field | getTimestamp () const |
Retrieves the value of the Timestamp header of the Message as a new Field. More... | |
void | getRawTimestamp (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the Timestamp header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setTimestamp (const std::string &v) |
Sets the value of the Timestamp header for this Message. More... | |
Message & | setTimestamp (amps_uint64_t v) |
Sets the value of the Timestamp header for this Message. More... | |
Message & | assignTimestamp (const std::string &v) |
Sets the value of the Timestamp header for this Message. More... | |
Message & | assignTimestamp (const char *data, size_t len) |
Sets the value of the Timestamp header for this Message. More... | |
Message & | setTimestamp (const char *str) |
Sets the value of the Timestamp header for this Message. More... | |
Message & | setTimestamp (const char *str, size_t len) |
Sets the value of the Timestamp header for this Message. More... | |
Message & | newTimestamp () |
Creates and sets a new sequential value for the Timestamp header for this Message. More... | |
Topic Functions | |
Field | getTopic () const |
Retrieves the value of the Topic header of the Message as a new Field. More... | |
void | getRawTopic (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the Topic header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setTopic (const std::string &v) |
Sets the value of the Topic header for this Message. More... | |
Message & | setTopic (amps_uint64_t v) |
Sets the value of the Topic header for this Message. More... | |
Message & | assignTopic (const std::string &v) |
Sets the value of the Topic header for this Message. More... | |
Message & | assignTopic (const char *data, size_t len) |
Sets the value of the Topic header for this Message. More... | |
Message & | setTopic (const char *str) |
Sets the value of the Topic header for this Message. More... | |
Message & | setTopic (const char *str, size_t len) |
Sets the value of the Topic header for this Message. More... | |
Message & | newTopic () |
Creates and sets a new sequential value for the Topic header for this Message. More... | |
TopicMatches Functions | |
Field | getTopicMatches () const |
Retrieves the value of the TopicMatches header of the Message as a new Field. More... | |
void | getRawTopicMatches (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the TopicMatches header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setTopicMatches (const std::string &v) |
Sets the value of the TopicMatches header for this Message. More... | |
Message & | setTopicMatches (amps_uint64_t v) |
Sets the value of the TopicMatches header for this Message. More... | |
Message & | assignTopicMatches (const std::string &v) |
Sets the value of the TopicMatches header for this Message. More... | |
Message & | assignTopicMatches (const char *data, size_t len) |
Sets the value of the TopicMatches header for this Message. More... | |
Message & | setTopicMatches (const char *str) |
Sets the value of the TopicMatches header for this Message. More... | |
Message & | setTopicMatches (const char *str, size_t len) |
Sets the value of the TopicMatches header for this Message. More... | |
Message & | newTopicMatches () |
Creates and sets a new sequential value for the TopicMatches header for this Message. More... | |
TopNRecordsReturned Functions | |
Field | getTopNRecordsReturned () const |
Retrieves the value of the TopNRecordsReturned header of the Message as a new Field. More... | |
void | getRawTopNRecordsReturned (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the TopNRecordsReturned header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setTopNRecordsReturned (const std::string &v) |
Sets the value of the TopNRecordsReturned header for this Message. More... | |
Message & | setTopNRecordsReturned (amps_uint64_t v) |
Sets the value of the TopNRecordsReturned header for this Message. More... | |
Message & | assignTopNRecordsReturned (const std::string &v) |
Sets the value of the TopNRecordsReturned header for this Message. More... | |
Message & | assignTopNRecordsReturned (const char *data, size_t len) |
Sets the value of the TopNRecordsReturned header for this Message. More... | |
Message & | setTopNRecordsReturned (const char *str) |
Sets the value of the TopNRecordsReturned header for this Message. More... | |
Message & | setTopNRecordsReturned (const char *str, size_t len) |
Sets the value of the TopNRecordsReturned header for this Message. More... | |
Message & | newTopNRecordsReturned () |
Creates and sets a new sequential value for the TopNRecordsReturned header for this Message. More... | |
Version Functions | |
Field | getVersion () const |
Retrieves the value of the Version header of the Message as a new Field. More... | |
void | getRawVersion (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the Version header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setVersion (const std::string &v) |
Sets the value of the Version header for this Message. More... | |
Message & | setVersion (amps_uint64_t v) |
Sets the value of the Version header for this Message. More... | |
Message & | assignVersion (const std::string &v) |
Sets the value of the Version header for this Message. More... | |
Message & | assignVersion (const char *data, size_t len) |
Sets the value of the Version header for this Message. More... | |
Message & | setVersion (const char *str) |
Sets the value of the Version header for this Message. More... | |
Message & | setVersion (const char *str, size_t len) |
Sets the value of the Version header for this Message. More... | |
Message & | newVersion () |
Creates and sets a new sequential value for the Version header for this Message. More... | |
UserId Functions | |
Field | getUserId () const |
Retrieves the value of the UserId header of the Message as a new Field. More... | |
void | getRawUserId (const char **dataptr, size_t *sizeptr) const |
Retrieves the value of the UserId header of self as a Field that references the underlying buffer managed by this Message. More... | |
Message & | setUserId (const std::string &v) |
Sets the value of the UserId header for this Message. More... | |
Message & | setUserId (amps_uint64_t v) |
Sets the value of the UserId header for this Message. More... | |
Message & | assignUserId (const std::string &v) |
Sets the value of the UserId header for this Message. More... | |
Message & | assignUserId (const char *data, size_t len) |
Sets the value of the UserId header for this Message. More... | |
Message & | setUserId (const char *str) |
Sets the value of the UserId header for this Message. More... | |
Message & | setUserId (const char *str, size_t len) |
Sets the value of the UserId header for this Message. More... | |
Message & | newUserId () |
Creates and sets a new sequential value for the UserId header for this Message. More... | |
Static Public Member Functions | |
static AckType::Type | decodeSingleAckType (const char *begin, const char *end) |
Decodes a single ack string. More... | |
Static Public Attributes | |
static const unsigned int | IdentifierLength = 32 |
The length of identifiers used for unique identification of commands and subscriptions. More... | |
static const size_t | BOOKMARK_NONE = AMPS_UNSET_INDEX |
An indicator of no bookmark value. | |
Message encapsulates a single message sent to or received from an AMPS server, and provides methods for every header that can be present, whether or not that header will be populated or used in a particular context.
Applications typically use a Command to create outgoing requests to AMPS, and receive instances of Message in response.
The AMPS Command Reference provides details on which headers are used by AMPS and which will be populated on messages received from AMPS, depending on the command the Message responds to, the options and headers set on that command, and the type of the response Message.
Message is based on a handle-body metaphor, so you can copy Message objects around with fairly high performance, and without worrying about resource leaks or double-frees.
The Message class has been designed to minimize unnecessary memory allocation. Copying a Message copies the handle, but does not copy the underlying body. When the AMPS client provides a Message to a MessageHandler function, the data in that Message refers to the buffer that the AMPS client uses to read from the socket. If your application will use the Message after the MessageHandler returns (for example, by dispatching the message to a worker thread), you should use the deepCopy() function to copy the underlying data, since in this case the AMPS client will reuse the underlying buffer once the MessageHandler returns.
If your application has the need to bypass most of the Client infrastructure for some reason when sending commands to AMPS, the Message / Client.send() interface provides the flexibility to do so. In return, your application must provide functionality that is normally provided automatically by the Client (for example, tracking subscriptions for failover, recording the message in the publish store and managing success or failure of the publish, and so on). Although this functionality is available for flexibility, it is rarely needed in practice. 60East recommends using Command objects with Client.execute() and Client.executeAsync() for sending commands to AMPS.
|
inline |
|
inline |
|
inline |
|
inline |
Sets the value of the BatchSize header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the BatchSize header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Bookmark header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Bookmark header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the ClientName header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the ClientName header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
|
inline |
|
inline |
Sets the value of the CommandId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the CommandId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the CorrelationId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the CorrelationId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Expiration header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Expiration header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Filter header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Filter header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the GroupSequenceNumber header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the GroupSequenceNumber header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Heartbeat header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Heartbeat header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the LeasePeriod header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the LeasePeriod header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Matches header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Matches header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the MessageLength header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the MessageLength header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the MessageType header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the MessageType header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
|
inline |
|
inline |
Sets the value of the OrderBy header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the OrderBy header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Password header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Password header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the QueryID header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the QueryID header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the QueryID header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the QueryID header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
|
inline |
|
inline |
Sets the value of the RecordsInserted header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the RecordsInserted header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the RecordsReturned header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the RecordsReturned header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the RecordsUpdated header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the RecordsUpdated header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Sequence header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Sequence header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SowDelete header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SowDelete header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SowKey header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SowKey header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SowKeys header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SowKeys header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Status header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Status header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SubscriptionId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SubscriptionId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SubscriptionId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SubscriptionId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SubscriptionIds header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SubscriptionIds header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the TimeoutInterval header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the TimeoutInterval header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Timestamp header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Timestamp header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Topic header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Topic header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the TopicMatches header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the TopicMatches header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the TopNRecordsReturned header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the TopNRecordsReturned header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the UserId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the UserId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Version header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Version header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inlinestatic |
Decodes a single ack string.
Use getAckTypeEnum for strings that may contain multiple acks (e.g. 'processed,persisted')
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Returns the data from this message.
This function returns a Field that contains a pointer to the data in the message. This function does not make a copy of the data.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Retrieves the value of the AckType header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the BatchSize header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the Bookmark header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the ClientName header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the Command header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the CommandId header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the CorrelationId header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the Expiration header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the Filter header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the GroupSequenceNumber header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the Heartbeat header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the LeasePeriod header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the Matches header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the MessageLength header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the MessageType header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the Options header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the OrderBy header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the Password header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the QueryID header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the QueryID header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the Reason header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the RecordsInserted header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the RecordsReturned header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the RecordsUpdated header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the Sequence header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the SowDelete header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the SowKey header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the SowKeys header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the Status header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the SubscriptionId header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the SubscriptionId header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the SubscriptionIds header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the TimeoutInterval header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the Timestamp header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the Topic header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the TopicMatches header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the TopNRecordsReturned header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Get self's "timestamp" field.
dataptr | The pointer to be set to the timestamp. |
sizeptr | The pointer to be set with the timestamp length. |
|
inline |
Retrieves the value of the UserId header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
Retrieves the value of the Version header of self as a Field that references the underlying buffer managed by this Message.
Notice that not all headers are present on all messages returned by AMPS. See the AMPS Command Reference for details on which fields will be present in response to a specific command.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Creates and sets a new sequential value for the BatchSize header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the Bookmark header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the ClientName header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
|
inline |
Creates and sets a new sequential value for the CommandId header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the CorrelationId header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the Expiration header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the Filter header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the GroupSequenceNumber header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the Heartbeat header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the LeasePeriod header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the Matches header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the MessageLength header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the MessageType header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the OrderBy header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the Password header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the QueryID header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the QueryID header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
|
inline |
Creates and sets a new sequential value for the RecordsInserted header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the RecordsReturned header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the RecordsUpdated header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the Sequence header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the SowDelete header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the SowKey header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the SowKeys header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the Status header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the SubscriptionId header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the SubscriptionId header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the SubscriptionIds header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the TimeoutInterval header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the Timestamp header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the Topic header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the TopicMatches header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the TopNRecordsReturned header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the UserId header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
Creates and sets a new sequential value for the Version header for this Message.
This function is most useful for headers such as CommandId and SubId.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Sets the value of the BatchSize header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the BatchSize header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the BatchSize header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the BatchSize header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Bookmark header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Bookmark header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Bookmark header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Bookmark header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the ClientName header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the ClientName header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the ClientName header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the ClientName header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Sets the value of the CommandId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the CommandId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the CommandId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the CommandId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the CorrelationId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the CorrelationId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the CorrelationId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the CorrelationId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the data portion of self.
v_ | the string containing your data |
|
inline |
Sets the data portion of self from a char array.
data_ | a pointer to your data |
length_ | the length, in bytes, of your data (excluding any null-terminator) |
|
inline |
Sets the data portion of self from a null-terminated string.
data_ | a pointer to your null-terminated data. |
|
inline |
Sets the value of the Expiration header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Expiration header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Expiration header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Expiration header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Filter header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Filter header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Filter header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Filter header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the GroupSequenceNumber header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the GroupSequenceNumber header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the GroupSequenceNumber header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the GroupSequenceNumber header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Heartbeat header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Heartbeat header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Heartbeat header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Heartbeat header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the LeasePeriod header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the LeasePeriod header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the LeasePeriod header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the LeasePeriod header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Matches header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Matches header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Matches header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Matches header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the MessageLength header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the MessageLength header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the MessageLength header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the MessageLength header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the MessageType header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the MessageType header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the MessageType header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the MessageType header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
|
inline |
|
inline |
|
inline |
Sets the value of the OrderBy header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the OrderBy header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the OrderBy header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the OrderBy header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Password header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Password header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Password header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Password header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the QueryID header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the QueryID header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the QueryID header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the QueryID header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the QueryID header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the QueryID header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the QueryID header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the QueryID header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Sets the value of the RecordsInserted header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the RecordsInserted header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the RecordsInserted header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the RecordsInserted header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the RecordsReturned header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the RecordsReturned header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the RecordsReturned header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the RecordsReturned header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the RecordsUpdated header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the RecordsUpdated header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the RecordsUpdated header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the RecordsUpdated header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Sequence header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Sequence header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Sequence header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Sequence header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SowDelete header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SowDelete header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SowDelete header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SowDelete header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SowKey header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SowKey header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SowKey header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SowKey header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SowKeys header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SowKeys header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SowKeys header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SowKeys header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Status header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Status header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Status header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Status header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SubscriptionId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SubscriptionId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SubscriptionId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SubscriptionId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SubscriptionId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SubscriptionId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SubscriptionId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SubscriptionId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SubscriptionIds header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SubscriptionIds header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SubscriptionIds header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the SubscriptionIds header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the TimeoutInterval header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the TimeoutInterval header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the TimeoutInterval header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the TimeoutInterval header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Timestamp header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Timestamp header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Timestamp header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Timestamp header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Topic header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Topic header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Topic header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Topic header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the TopicMatches header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the TopicMatches header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the TopicMatches header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the TopicMatches header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the TopNRecordsReturned header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the TopNRecordsReturned header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the TopNRecordsReturned header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the TopNRecordsReturned header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the UserId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the UserId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the UserId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the UserId header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Version header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Version header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Version header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
inline |
Sets the value of the Version header for this Message.
Not all headers are processed by AMPS for all commands. See the AMPS Command Reference for which headers are used by AMPS for a specific command.
|
static |
The length of identifiers used for unique identification of commands and subscriptions.