AMPS C/C++ Client Class Reference
AMPS C/C++ Client Version 5.3.4.4
AMPS::Message Class Reference

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...
 
MessagesetAckTypeEnum (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.
 
MessagesetCommandEnum (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...
 
MessagesetData (const std::string &v_)
 Sets the data portion of self. More...
 
MessagesetData (const char *data_, size_t length_)
 Sets the data portion of self from a char array. More...
 
MessagesetData (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...
 
MessagesetAckType (const std::string &v)
 Sets the value of the AckType header for this Message. More...
 
MessagesetAckType (amps_uint64_t v)
 Sets the value of the AckType header for this Message. More...
 
MessageassignAckType (const std::string &v)
 Sets the value of the AckType header for this Message. More...
 
MessageassignAckType (const char *data, size_t len)
 Sets the value of the AckType header for this Message. More...
 
MessagesetAckType (const char *str)
 Sets the value of the AckType header for this Message. More...
 
MessagesetAckType (const char *str, size_t len)
 Sets the value of the AckType header for this Message. More...
 
MessagenewAckType ()
 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...
 
MessagesetBatchSize (const std::string &v)
 Sets the value of the BatchSize header for this Message. More...
 
MessagesetBatchSize (amps_uint64_t v)
 Sets the value of the BatchSize header for this Message. More...
 
MessageassignBatchSize (const std::string &v)
 Sets the value of the BatchSize header for this Message. More...
 
MessageassignBatchSize (const char *data, size_t len)
 Sets the value of the BatchSize header for this Message. More...
 
MessagesetBatchSize (const char *str)
 Sets the value of the BatchSize header for this Message. More...
 
MessagesetBatchSize (const char *str, size_t len)
 Sets the value of the BatchSize header for this Message. More...
 
MessagenewBatchSize ()
 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...
 
MessagesetBookmark (const std::string &v)
 Sets the value of the Bookmark header for this Message. More...
 
MessagesetBookmark (amps_uint64_t v)
 Sets the value of the Bookmark header for this Message. More...
 
MessageassignBookmark (const std::string &v)
 Sets the value of the Bookmark header for this Message. More...
 
MessageassignBookmark (const char *data, size_t len)
 Sets the value of the Bookmark header for this Message. More...
 
MessagesetBookmark (const char *str)
 Sets the value of the Bookmark header for this Message. More...
 
MessagesetBookmark (const char *str, size_t len)
 Sets the value of the Bookmark header for this Message. More...
 
MessagenewBookmark ()
 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...
 
MessagesetCommand (const std::string &v)
 Sets the value of the Command header for this Message. More...
 
MessagesetCommand (amps_uint64_t v)
 Sets the value of the Command header for this Message. More...
 
MessageassignCommand (const std::string &v)
 Sets the value of the Command header for this Message. More...
 
MessageassignCommand (const char *data, size_t len)
 Sets the value of the Command header for this Message. More...
 
MessagesetCommand (const char *str)
 Sets the value of the Command header for this Message. More...
 
MessagesetCommand (const char *str, size_t len)
 Sets the value of the Command header for this Message. More...
 
MessagenewCommand ()
 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...
 
MessagesetCommandId (const std::string &v)
 Sets the value of the CommandId header for this Message. More...
 
MessagesetCommandId (amps_uint64_t v)
 Sets the value of the CommandId header for this Message. More...
 
MessageassignCommandId (const std::string &v)
 Sets the value of the CommandId header for this Message. More...
 
MessageassignCommandId (const char *data, size_t len)
 Sets the value of the CommandId header for this Message. More...
 
MessagesetCommandId (const char *str)
 Sets the value of the CommandId header for this Message. More...
 
MessagesetCommandId (const char *str, size_t len)
 Sets the value of the CommandId header for this Message. More...
 
MessagenewCommandId ()
 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...
 
MessagesetClientName (const std::string &v)
 Sets the value of the ClientName header for this Message. More...
 
MessagesetClientName (amps_uint64_t v)
 Sets the value of the ClientName header for this Message. More...
 
MessageassignClientName (const std::string &v)
 Sets the value of the ClientName header for this Message. More...
 
MessageassignClientName (const char *data, size_t len)
 Sets the value of the ClientName header for this Message. More...
 
MessagesetClientName (const char *str)
 Sets the value of the ClientName header for this Message. More...
 
MessagesetClientName (const char *str, size_t len)
 Sets the value of the ClientName header for this Message. More...
 
MessagenewClientName ()
 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...
 
MessagesetCorrelationId (const std::string &v)
 Sets the value of the CorrelationId header for this Message. More...
 
MessagesetCorrelationId (amps_uint64_t v)
 Sets the value of the CorrelationId header for this Message. More...
 
MessageassignCorrelationId (const std::string &v)
 Sets the value of the CorrelationId header for this Message. More...
 
MessageassignCorrelationId (const char *data, size_t len)
 Sets the value of the CorrelationId header for this Message. More...
 
MessagesetCorrelationId (const char *str)
 Sets the value of the CorrelationId header for this Message. More...
 
MessagesetCorrelationId (const char *str, size_t len)
 Sets the value of the CorrelationId header for this Message. More...
 
MessagenewCorrelationId ()
 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...
 
MessagesetExpiration (const std::string &v)
 Sets the value of the Expiration header for this Message. More...
 
MessagesetExpiration (amps_uint64_t v)
 Sets the value of the Expiration header for this Message. More...
 
MessageassignExpiration (const std::string &v)
 Sets the value of the Expiration header for this Message. More...
 
MessageassignExpiration (const char *data, size_t len)
 Sets the value of the Expiration header for this Message. More...
 
MessagesetExpiration (const char *str)
 Sets the value of the Expiration header for this Message. More...
 
MessagesetExpiration (const char *str, size_t len)
 Sets the value of the Expiration header for this Message. More...
 
MessagenewExpiration ()
 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...
 
MessagesetFilter (const std::string &v)
 Sets the value of the Filter header for this Message. More...
 
MessagesetFilter (amps_uint64_t v)
 Sets the value of the Filter header for this Message. More...
 
MessageassignFilter (const std::string &v)
 Sets the value of the Filter header for this Message. More...
 
MessageassignFilter (const char *data, size_t len)
 Sets the value of the Filter header for this Message. More...
 
MessagesetFilter (const char *str)
 Sets the value of the Filter header for this Message. More...
 
MessagesetFilter (const char *str, size_t len)
 Sets the value of the Filter header for this Message. More...
 
MessagenewFilter ()
 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...
 
MessagesetGroupSequenceNumber (const std::string &v)
 Sets the value of the GroupSequenceNumber header for this Message. More...
 
MessagesetGroupSequenceNumber (amps_uint64_t v)
 Sets the value of the GroupSequenceNumber header for this Message. More...
 
MessageassignGroupSequenceNumber (const std::string &v)
 Sets the value of the GroupSequenceNumber header for this Message. More...
 
MessageassignGroupSequenceNumber (const char *data, size_t len)
 Sets the value of the GroupSequenceNumber header for this Message. More...
 
MessagesetGroupSequenceNumber (const char *str)
 Sets the value of the GroupSequenceNumber header for this Message. More...
 
MessagesetGroupSequenceNumber (const char *str, size_t len)
 Sets the value of the GroupSequenceNumber header for this Message. More...
 
MessagenewGroupSequenceNumber ()
 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...
 
MessagesetHeartbeat (const std::string &v)
 Sets the value of the Heartbeat header for this Message. More...
 
MessagesetHeartbeat (amps_uint64_t v)
 Sets the value of the Heartbeat header for this Message. More...
 
MessageassignHeartbeat (const std::string &v)
 Sets the value of the Heartbeat header for this Message. More...
 
MessageassignHeartbeat (const char *data, size_t len)
 Sets the value of the Heartbeat header for this Message. More...
 
MessagesetHeartbeat (const char *str)
 Sets the value of the Heartbeat header for this Message. More...
 
MessagesetHeartbeat (const char *str, size_t len)
 Sets the value of the Heartbeat header for this Message. More...
 
MessagenewHeartbeat ()
 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...
 
MessagesetLeasePeriod (const std::string &v)
 Sets the value of the LeasePeriod header for this Message. More...
 
MessagesetLeasePeriod (amps_uint64_t v)
 Sets the value of the LeasePeriod header for this Message. More...
 
MessageassignLeasePeriod (const std::string &v)
 Sets the value of the LeasePeriod header for this Message. More...
 
MessageassignLeasePeriod (const char *data, size_t len)
 Sets the value of the LeasePeriod header for this Message. More...
 
MessagesetLeasePeriod (const char *str)
 Sets the value of the LeasePeriod header for this Message. More...
 
MessagesetLeasePeriod (const char *str, size_t len)
 Sets the value of the LeasePeriod header for this Message. More...
 
MessagenewLeasePeriod ()
 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...
 
MessagesetMatches (const std::string &v)
 Sets the value of the Matches header for this Message. More...
 
MessagesetMatches (amps_uint64_t v)
 Sets the value of the Matches header for this Message. More...
 
MessageassignMatches (const std::string &v)
 Sets the value of the Matches header for this Message. More...
 
MessageassignMatches (const char *data, size_t len)
 Sets the value of the Matches header for this Message. More...
 
MessagesetMatches (const char *str)
 Sets the value of the Matches header for this Message. More...
 
MessagesetMatches (const char *str, size_t len)
 Sets the value of the Matches header for this Message. More...
 
MessagenewMatches ()
 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...
 
MessagesetMessageLength (const std::string &v)
 Sets the value of the MessageLength header for this Message. More...
 
MessagesetMessageLength (amps_uint64_t v)
 Sets the value of the MessageLength header for this Message. More...
 
MessageassignMessageLength (const std::string &v)
 Sets the value of the MessageLength header for this Message. More...
 
MessageassignMessageLength (const char *data, size_t len)
 Sets the value of the MessageLength header for this Message. More...
 
MessagesetMessageLength (const char *str)
 Sets the value of the MessageLength header for this Message. More...
 
MessagesetMessageLength (const char *str, size_t len)
 Sets the value of the MessageLength header for this Message. More...
 
MessagenewMessageLength ()
 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...
 
MessagesetMessageType (const std::string &v)
 Sets the value of the MessageType header for this Message. More...
 
MessagesetMessageType (amps_uint64_t v)
 Sets the value of the MessageType header for this Message. More...
 
MessageassignMessageType (const std::string &v)
 Sets the value of the MessageType header for this Message. More...
 
MessageassignMessageType (const char *data, size_t len)
 Sets the value of the MessageType header for this Message. More...
 
MessagesetMessageType (const char *str)
 Sets the value of the MessageType header for this Message. More...
 
MessagesetMessageType (const char *str, size_t len)
 Sets the value of the MessageType header for this Message. More...
 
MessagenewMessageType ()
 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...
 
MessagesetOptions (const std::string &v)
 Sets the value of the Options header for this Message. More...
 
MessageassignOptions (const std::string &v)
 Sets the value of the Options header for this Message. More...
 
MessageassignOptions (const char *data, size_t len)
 Sets the value of the Options header for this Message. More...
 
MessagesetOptions (const char *str)
 Sets the value of the Options header for this Message. More...
 
MessagesetOptions (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...
 
MessagesetOrderBy (const std::string &v)
 Sets the value of the OrderBy header for this Message. More...
 
MessagesetOrderBy (amps_uint64_t v)
 Sets the value of the OrderBy header for this Message. More...
 
MessageassignOrderBy (const std::string &v)
 Sets the value of the OrderBy header for this Message. More...
 
MessageassignOrderBy (const char *data, size_t len)
 Sets the value of the OrderBy header for this Message. More...
 
MessagesetOrderBy (const char *str)
 Sets the value of the OrderBy header for this Message. More...
 
MessagesetOrderBy (const char *str, size_t len)
 Sets the value of the OrderBy header for this Message. More...
 
MessagenewOrderBy ()
 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...
 
MessagesetPassword (const std::string &v)
 Sets the value of the Password header for this Message. More...
 
MessagesetPassword (amps_uint64_t v)
 Sets the value of the Password header for this Message. More...
 
MessageassignPassword (const std::string &v)
 Sets the value of the Password header for this Message. More...
 
MessageassignPassword (const char *data, size_t len)
 Sets the value of the Password header for this Message. More...
 
MessagesetPassword (const char *str)
 Sets the value of the Password header for this Message. More...
 
MessagesetPassword (const char *str, size_t len)
 Sets the value of the Password header for this Message. More...
 
MessagenewPassword ()
 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...
 
MessagesetQueryID (const std::string &v)
 Sets the value of the QueryID header for this Message. More...
 
MessagesetQueryID (amps_uint64_t v)
 Sets the value of the QueryID header for this Message. More...
 
MessageassignQueryID (const std::string &v)
 Sets the value of the QueryID header for this Message. More...
 
MessageassignQueryID (const char *data, size_t len)
 Sets the value of the QueryID header for this Message. More...
 
MessagesetQueryID (const char *str)
 Sets the value of the QueryID header for this Message. More...
 
MessagesetQueryID (const char *str, size_t len)
 Sets the value of the QueryID header for this Message. More...
 
MessagenewQueryID ()
 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...
 
MessagesetQueryId (const std::string &v)
 Sets the value of the QueryID header for this Message. More...
 
MessagesetQueryId (amps_uint64_t v)
 Sets the value of the QueryID header for this Message. More...
 
MessageassignQueryId (const std::string &v)
 Sets the value of the QueryID header for this Message. More...
 
MessageassignQueryId (const char *data, size_t len)
 Sets the value of the QueryID header for this Message. More...
 
MessagesetQueryId (const char *str)
 Sets the value of the QueryID header for this Message. More...
 
MessagesetQueryId (const char *str, size_t len)
 Sets the value of the QueryID header for this Message. More...
 
MessagenewQueryId ()
 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...
 
MessagesetReason (const std::string &v)
 Sets the value of the Reason header for this Message. More...
 
MessagesetReason (amps_uint64_t v)
 Sets the value of the Reason header for this Message. More...
 
MessageassignReason (const std::string &v)
 Sets the value of the Reason header for this Message. More...
 
MessageassignReason (const char *data, size_t len)
 Sets the value of the Reason header for this Message. More...
 
MessagesetReason (const char *str)
 Sets the value of the Reason header for this Message. More...
 
MessagesetReason (const char *str, size_t len)
 Sets the value of the Reason header for this Message. More...
 
MessagenewReason ()
 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...
 
MessagesetRecordsInserted (const std::string &v)
 Sets the value of the RecordsInserted header for this Message. More...
 
MessagesetRecordsInserted (amps_uint64_t v)
 Sets the value of the RecordsInserted header for this Message. More...
 
MessageassignRecordsInserted (const std::string &v)
 Sets the value of the RecordsInserted header for this Message. More...
 
MessageassignRecordsInserted (const char *data, size_t len)
 Sets the value of the RecordsInserted header for this Message. More...
 
MessagesetRecordsInserted (const char *str)
 Sets the value of the RecordsInserted header for this Message. More...
 
MessagesetRecordsInserted (const char *str, size_t len)
 Sets the value of the RecordsInserted header for this Message. More...
 
MessagenewRecordsInserted ()
 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...
 
MessagesetRecordsReturned (const std::string &v)
 Sets the value of the RecordsReturned header for this Message. More...
 
MessagesetRecordsReturned (amps_uint64_t v)
 Sets the value of the RecordsReturned header for this Message. More...
 
MessageassignRecordsReturned (const std::string &v)
 Sets the value of the RecordsReturned header for this Message. More...
 
MessageassignRecordsReturned (const char *data, size_t len)
 Sets the value of the RecordsReturned header for this Message. More...
 
MessagesetRecordsReturned (const char *str)
 Sets the value of the RecordsReturned header for this Message. More...
 
MessagesetRecordsReturned (const char *str, size_t len)
 Sets the value of the RecordsReturned header for this Message. More...
 
MessagenewRecordsReturned ()
 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...
 
MessagesetRecordsUpdated (const std::string &v)
 Sets the value of the RecordsUpdated header for this Message. More...
 
MessagesetRecordsUpdated (amps_uint64_t v)
 Sets the value of the RecordsUpdated header for this Message. More...
 
MessageassignRecordsUpdated (const std::string &v)
 Sets the value of the RecordsUpdated header for this Message. More...
 
MessageassignRecordsUpdated (const char *data, size_t len)
 Sets the value of the RecordsUpdated header for this Message. More...
 
MessagesetRecordsUpdated (const char *str)
 Sets the value of the RecordsUpdated header for this Message. More...
 
MessagesetRecordsUpdated (const char *str, size_t len)
 Sets the value of the RecordsUpdated header for this Message. More...
 
MessagenewRecordsUpdated ()
 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...
 
MessagesetSequence (const std::string &v)
 Sets the value of the Sequence header for this Message. More...
 
MessagesetSequence (amps_uint64_t v)
 Sets the value of the Sequence header for this Message. More...
 
MessageassignSequence (const std::string &v)
 Sets the value of the Sequence header for this Message. More...
 
MessageassignSequence (const char *data, size_t len)
 Sets the value of the Sequence header for this Message. More...
 
MessagesetSequence (const char *str)
 Sets the value of the Sequence header for this Message. More...
 
MessagesetSequence (const char *str, size_t len)
 Sets the value of the Sequence header for this Message. More...
 
MessagenewSequence ()
 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...
 
MessagesetSowDelete (const std::string &v)
 Sets the value of the SowDelete header for this Message. More...
 
MessagesetSowDelete (amps_uint64_t v)
 Sets the value of the SowDelete header for this Message. More...
 
MessageassignSowDelete (const std::string &v)
 Sets the value of the SowDelete header for this Message. More...
 
MessageassignSowDelete (const char *data, size_t len)
 Sets the value of the SowDelete header for this Message. More...
 
MessagesetSowDelete (const char *str)
 Sets the value of the SowDelete header for this Message. More...
 
MessagesetSowDelete (const char *str, size_t len)
 Sets the value of the SowDelete header for this Message. More...
 
MessagenewSowDelete ()
 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...
 
MessagesetSowKey (const std::string &v)
 Sets the value of the SowKey header for this Message. More...
 
MessagesetSowKey (amps_uint64_t v)
 Sets the value of the SowKey header for this Message. More...
 
MessageassignSowKey (const std::string &v)
 Sets the value of the SowKey header for this Message. More...
 
MessageassignSowKey (const char *data, size_t len)
 Sets the value of the SowKey header for this Message. More...
 
MessagesetSowKey (const char *str)
 Sets the value of the SowKey header for this Message. More...
 
MessagesetSowKey (const char *str, size_t len)
 Sets the value of the SowKey header for this Message. More...
 
MessagenewSowKey ()
 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...
 
MessagesetSowKeys (const std::string &v)
 Sets the value of the SowKeys header for this Message. More...
 
MessagesetSowKeys (amps_uint64_t v)
 Sets the value of the SowKeys header for this Message. More...
 
MessageassignSowKeys (const std::string &v)
 Sets the value of the SowKeys header for this Message. More...
 
MessageassignSowKeys (const char *data, size_t len)
 Sets the value of the SowKeys header for this Message. More...
 
MessagesetSowKeys (const char *str)
 Sets the value of the SowKeys header for this Message. More...
 
MessagesetSowKeys (const char *str, size_t len)
 Sets the value of the SowKeys header for this Message. More...
 
MessagenewSowKeys ()
 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...
 
MessagesetStatus (const std::string &v)
 Sets the value of the Status header for this Message. More...
 
MessagesetStatus (amps_uint64_t v)
 Sets the value of the Status header for this Message. More...
 
MessageassignStatus (const std::string &v)
 Sets the value of the Status header for this Message. More...
 
MessageassignStatus (const char *data, size_t len)
 Sets the value of the Status header for this Message. More...
 
MessagesetStatus (const char *str)
 Sets the value of the Status header for this Message. More...
 
MessagesetStatus (const char *str, size_t len)
 Sets the value of the Status header for this Message. More...
 
MessagenewStatus ()
 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...
 
MessagesetSubscriptionId (const std::string &v)
 Sets the value of the SubscriptionId header for this Message. More...
 
MessagesetSubscriptionId (amps_uint64_t v)
 Sets the value of the SubscriptionId header for this Message. More...
 
MessageassignSubscriptionId (const std::string &v)
 Sets the value of the SubscriptionId header for this Message. More...
 
MessageassignSubscriptionId (const char *data, size_t len)
 Sets the value of the SubscriptionId header for this Message. More...
 
MessagesetSubscriptionId (const char *str)
 Sets the value of the SubscriptionId header for this Message. More...
 
MessagesetSubscriptionId (const char *str, size_t len)
 Sets the value of the SubscriptionId header for this Message. More...
 
MessagenewSubscriptionId ()
 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...
 
MessagesetSubId (const std::string &v)
 Sets the value of the SubscriptionId header for this Message. More...
 
MessagesetSubId (amps_uint64_t v)
 Sets the value of the SubscriptionId header for this Message. More...
 
MessageassignSubId (const std::string &v)
 Sets the value of the SubscriptionId header for this Message. More...
 
MessageassignSubId (const char *data, size_t len)
 Sets the value of the SubscriptionId header for this Message. More...
 
MessagesetSubId (const char *str)
 Sets the value of the SubscriptionId header for this Message. More...
 
MessagesetSubId (const char *str, size_t len)
 Sets the value of the SubscriptionId header for this Message. More...
 
MessagenewSubId ()
 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...
 
MessagesetSubscriptionIds (const std::string &v)
 Sets the value of the SubscriptionIds header for this Message. More...
 
MessagesetSubscriptionIds (amps_uint64_t v)
 Sets the value of the SubscriptionIds header for this Message. More...
 
MessageassignSubscriptionIds (const std::string &v)
 Sets the value of the SubscriptionIds header for this Message. More...
 
MessageassignSubscriptionIds (const char *data, size_t len)
 Sets the value of the SubscriptionIds header for this Message. More...
 
MessagesetSubscriptionIds (const char *str)
 Sets the value of the SubscriptionIds header for this Message. More...
 
MessagesetSubscriptionIds (const char *str, size_t len)
 Sets the value of the SubscriptionIds header for this Message. More...
 
MessagenewSubscriptionIds ()
 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...
 
MessagesetTimeoutInterval (const std::string &v)
 Sets the value of the TimeoutInterval header for this Message. More...
 
MessagesetTimeoutInterval (amps_uint64_t v)
 Sets the value of the TimeoutInterval header for this Message. More...
 
MessageassignTimeoutInterval (const std::string &v)
 Sets the value of the TimeoutInterval header for this Message. More...
 
MessageassignTimeoutInterval (const char *data, size_t len)
 Sets the value of the TimeoutInterval header for this Message. More...
 
MessagesetTimeoutInterval (const char *str)
 Sets the value of the TimeoutInterval header for this Message. More...
 
MessagesetTimeoutInterval (const char *str, size_t len)
 Sets the value of the TimeoutInterval header for this Message. More...
 
MessagenewTimeoutInterval ()
 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...
 
MessagesetTimestamp (const std::string &v)
 Sets the value of the Timestamp header for this Message. More...
 
MessagesetTimestamp (amps_uint64_t v)
 Sets the value of the Timestamp header for this Message. More...
 
MessageassignTimestamp (const std::string &v)
 Sets the value of the Timestamp header for this Message. More...
 
MessageassignTimestamp (const char *data, size_t len)
 Sets the value of the Timestamp header for this Message. More...
 
MessagesetTimestamp (const char *str)
 Sets the value of the Timestamp header for this Message. More...
 
MessagesetTimestamp (const char *str, size_t len)
 Sets the value of the Timestamp header for this Message. More...
 
MessagenewTimestamp ()
 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...
 
MessagesetTopic (const std::string &v)
 Sets the value of the Topic header for this Message. More...
 
MessagesetTopic (amps_uint64_t v)
 Sets the value of the Topic header for this Message. More...
 
MessageassignTopic (const std::string &v)
 Sets the value of the Topic header for this Message. More...
 
MessageassignTopic (const char *data, size_t len)
 Sets the value of the Topic header for this Message. More...
 
MessagesetTopic (const char *str)
 Sets the value of the Topic header for this Message. More...
 
MessagesetTopic (const char *str, size_t len)
 Sets the value of the Topic header for this Message. More...
 
MessagenewTopic ()
 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...
 
MessagesetTopicMatches (const std::string &v)
 Sets the value of the TopicMatches header for this Message. More...
 
MessagesetTopicMatches (amps_uint64_t v)
 Sets the value of the TopicMatches header for this Message. More...
 
MessageassignTopicMatches (const std::string &v)
 Sets the value of the TopicMatches header for this Message. More...
 
MessageassignTopicMatches (const char *data, size_t len)
 Sets the value of the TopicMatches header for this Message. More...
 
MessagesetTopicMatches (const char *str)
 Sets the value of the TopicMatches header for this Message. More...
 
MessagesetTopicMatches (const char *str, size_t len)
 Sets the value of the TopicMatches header for this Message. More...
 
MessagenewTopicMatches ()
 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...
 
MessagesetTopNRecordsReturned (const std::string &v)
 Sets the value of the TopNRecordsReturned header for this Message. More...
 
MessagesetTopNRecordsReturned (amps_uint64_t v)
 Sets the value of the TopNRecordsReturned header for this Message. More...
 
MessageassignTopNRecordsReturned (const std::string &v)
 Sets the value of the TopNRecordsReturned header for this Message. More...
 
MessageassignTopNRecordsReturned (const char *data, size_t len)
 Sets the value of the TopNRecordsReturned header for this Message. More...
 
MessagesetTopNRecordsReturned (const char *str)
 Sets the value of the TopNRecordsReturned header for this Message. More...
 
MessagesetTopNRecordsReturned (const char *str, size_t len)
 Sets the value of the TopNRecordsReturned header for this Message. More...
 
MessagenewTopNRecordsReturned ()
 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...
 
MessagesetVersion (const std::string &v)
 Sets the value of the Version header for this Message. More...
 
MessagesetVersion (amps_uint64_t v)
 Sets the value of the Version header for this Message. More...
 
MessageassignVersion (const std::string &v)
 Sets the value of the Version header for this Message. More...
 
MessageassignVersion (const char *data, size_t len)
 Sets the value of the Version header for this Message. More...
 
MessagesetVersion (const char *str)
 Sets the value of the Version header for this Message. More...
 
MessagesetVersion (const char *str, size_t len)
 Sets the value of the Version header for this Message. More...
 
MessagenewVersion ()
 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...
 
MessagesetUserId (const std::string &v)
 Sets the value of the UserId header for this Message. More...
 
MessagesetUserId (amps_uint64_t v)
 Sets the value of the UserId header for this Message. More...
 
MessageassignUserId (const std::string &v)
 Sets the value of the UserId header for this Message. More...
 
MessageassignUserId (const char *data, size_t len)
 Sets the value of the UserId header for this Message. More...
 
MessagesetUserId (const char *str)
 Sets the value of the UserId header for this Message. More...
 
MessagesetUserId (const char *str, size_t len)
 Sets the value of the UserId header for this Message. More...
 
MessagenewUserId ()
 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.
 

Detailed Description

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.

Member Enumeration Documentation

A flag to indicate not to create a body.

Useful for creating a Message that is only going to copy another Message.

Constructor & Destructor Documentation

AMPS::Message::Message ( amps_handle  message_,
bool  owner_ = false 
)
inline

Constructs a new Message to wrap message.

Only necessary if you're using both the C client and C++.

Parameters
message_the C-client message handle to wrap.
owner_Flag to indicate if this Message object is the owner of message handle and responsible for destroying it.

Member Function Documentation

Message& AMPS::Message::assignAckType ( const std::string &  v)
inline

Sets the value of the AckType 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.

Message& AMPS::Message::assignAckType ( const char *  data,
size_t  len 
)
inline

Sets the value of the AckType 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.

Message& AMPS::Message::assignBatchSize ( const std::string &  v)
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.

Message& AMPS::Message::assignBatchSize ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignBookmark ( const std::string &  v)
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.

Message& AMPS::Message::assignBookmark ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignClientName ( const std::string &  v)
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.

Message& AMPS::Message::assignClientName ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignCommand ( const std::string &  v)
inline

Sets the value of the Command 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.

Message& AMPS::Message::assignCommand ( const char *  data,
size_t  len 
)
inline

Sets the value of the Command 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.

Message& AMPS::Message::assignCommandId ( const std::string &  v)
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.

Message& AMPS::Message::assignCommandId ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignCorrelationId ( const std::string &  v)
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.

Message& AMPS::Message::assignCorrelationId ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignExpiration ( const std::string &  v)
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.

Message& AMPS::Message::assignExpiration ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignFilter ( const std::string &  v)
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.

Message& AMPS::Message::assignFilter ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignGroupSequenceNumber ( const std::string &  v)
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.

Message& AMPS::Message::assignGroupSequenceNumber ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignHeartbeat ( const std::string &  v)
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.

Message& AMPS::Message::assignHeartbeat ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignLeasePeriod ( const std::string &  v)
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.

Message& AMPS::Message::assignLeasePeriod ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignMatches ( const std::string &  v)
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.

Message& AMPS::Message::assignMatches ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignMessageLength ( const std::string &  v)
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.

Message& AMPS::Message::assignMessageLength ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignMessageType ( const std::string &  v)
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.

Message& AMPS::Message::assignMessageType ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignOptions ( const std::string &  v)
inline

Sets the value of the Options 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.

Message& AMPS::Message::assignOptions ( const char *  data,
size_t  len 
)
inline

Sets the value of the Options 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.

Message& AMPS::Message::assignOrderBy ( const std::string &  v)
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.

Message& AMPS::Message::assignOrderBy ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignPassword ( const std::string &  v)
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.

Message& AMPS::Message::assignPassword ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignQueryID ( const std::string &  v)
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.

Message& AMPS::Message::assignQueryID ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignQueryId ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignQueryId ( const std::string &  v)
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.

Message& AMPS::Message::assignReason ( const std::string &  v)
inline

Sets the value of the Reason 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.

Message& AMPS::Message::assignReason ( const char *  data,
size_t  len 
)
inline

Sets the value of the Reason 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.

Message& AMPS::Message::assignRecordsInserted ( const std::string &  v)
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.

Message& AMPS::Message::assignRecordsInserted ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignRecordsReturned ( const std::string &  v)
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.

Message& AMPS::Message::assignRecordsReturned ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignRecordsUpdated ( const std::string &  v)
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.

Message& AMPS::Message::assignRecordsUpdated ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignSequence ( const std::string &  v)
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.

Message& AMPS::Message::assignSequence ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignSowDelete ( const std::string &  v)
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.

Message& AMPS::Message::assignSowDelete ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignSowKey ( const std::string &  v)
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.

Message& AMPS::Message::assignSowKey ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignSowKeys ( const std::string &  v)
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.

Message& AMPS::Message::assignSowKeys ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignStatus ( const std::string &  v)
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.

Message& AMPS::Message::assignStatus ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignSubId ( const std::string &  v)
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.

Message& AMPS::Message::assignSubId ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignSubscriptionId ( const std::string &  v)
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.

Message& AMPS::Message::assignSubscriptionId ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignSubscriptionIds ( const std::string &  v)
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.

Message& AMPS::Message::assignSubscriptionIds ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignTimeoutInterval ( const std::string &  v)
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.

Message& AMPS::Message::assignTimeoutInterval ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignTimestamp ( const std::string &  v)
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.

Message& AMPS::Message::assignTimestamp ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignTopic ( const std::string &  v)
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.

Message& AMPS::Message::assignTopic ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignTopicMatches ( const std::string &  v)
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.

Message& AMPS::Message::assignTopicMatches ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignTopNRecordsReturned ( const std::string &  v)
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.

Message& AMPS::Message::assignTopNRecordsReturned ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignUserId ( const std::string &  v)
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.

Message& AMPS::Message::assignUserId ( const char *  data,
size_t  len 
)
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.

Message& AMPS::Message::assignVersion ( const std::string &  v)
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.

Message& AMPS::Message::assignVersion ( const char *  data,
size_t  len 
)
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 AckType::Type AMPS::Message::decodeSingleAckType ( const char *  begin,
const char *  end 
)
inlinestatic

Decodes a single ack string.

Use getAckTypeEnum for strings that may contain multiple acks (e.g. 'processed,persisted')

Field AMPS::Message::getAckType ( ) const
inline

Retrieves the value of the AckType header of the Message as a new Field.

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.

unsigned AMPS::Message::getAckTypeEnum ( ) const
inline

Decode self's "ack type" field and return the corresponding bitmask of values from AckType.

This method returns unsigned instead of AckType::Type since AckType does not contain unique entries for every possible combination of ack types.

Field AMPS::Message::getBatchSize ( void  ) const
inline

Retrieves the value of the BatchSize header of the Message as a new Field.

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.

Field AMPS::Message::getBookmark ( ) const
inline

Retrieves the value of the Bookmark header of the Message as a new Field.

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.

Field AMPS::Message::getClientName ( ) const
inline

Retrieves the value of the ClientName header of the Message as a new Field.

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.

Field AMPS::Message::getCommand ( ) const
inline

Retrieves the value of the Command header of the Message as a new Field.

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.

Field AMPS::Message::getCommandId ( ) const
inline

Retrieves the value of the CommandId header of the Message as a new Field.

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.

Field AMPS::Message::getCorrelationId ( ) const
inline

Retrieves the value of the CorrelationId header of the Message as a new Field.

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.

Field AMPS::Message::getData ( ) const
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.

Field AMPS::Message::getExpiration ( ) const
inline

Retrieves the value of the Expiration header of the Message as a new Field.

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.

Field AMPS::Message::getFilter ( ) const
inline

Retrieves the value of the Filter header of the Message as a new Field.

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.

Field AMPS::Message::getGroupSequenceNumber ( ) const
inline

Retrieves the value of the GroupSequenceNumber header of the Message as a new Field.

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.

Field AMPS::Message::getHeartbeat ( ) const
inline

Retrieves the value of the Heartbeat header of the Message as a new Field.

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.

Field AMPS::Message::getLeasePeriod ( ) const
inline

Retrieves the value of the LeasePeriod header of the Message as a new Field.

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.

Field AMPS::Message::getMatches ( ) const
inline

Retrieves the value of the Matches header of the Message as a new Field.

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.

Field AMPS::Message::getMessageLength ( ) const
inline

Retrieves the value of the MessageLength header of the Message as a new Field.

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.

Field AMPS::Message::getMessageType ( ) const
inline

Retrieves the value of the MessageType header of the Message as a new Field.

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.

Field AMPS::Message::getOptions ( ) const
inline

Retrieves the value of the Options header of the Message as a new Field.

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.

Field AMPS::Message::getOrderBy ( ) const
inline

Retrieves the value of the OrderBy header of the Message as a new Field.

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.

Field AMPS::Message::getPassword ( ) const
inline

Retrieves the value of the Password header of the Message as a new Field.

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.

Field AMPS::Message::getQueryID ( ) const
inline

Retrieves the value of the QueryID header of the Message as a new Field.

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.

Field AMPS::Message::getQueryId ( ) const
inline

Retrieves the value of the QueryID header of the Message as a new Field.

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.

void AMPS::Message::getRawAckType ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawBatchSize ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawBookmark ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawClientName ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawCommand ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawCommandId ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawCorrelationId ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawExpiration ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawFilter ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawGroupSequenceNumber ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawHeartbeat ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawLeasePeriod ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawMatches ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawMessageLength ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawMessageType ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawOptions ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawOrderBy ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawPassword ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawQueryID ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawQueryId ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawReason ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawRecordsInserted ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawRecordsReturned ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawRecordsUpdated ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawSequence ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawSowDelete ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawSowKey ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawSowKeys ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawStatus ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawSubId ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawSubscriptionId ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawSubscriptionIds ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawTimeoutInterval ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawTimestamp ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawTopic ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawTopicMatches ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawTopNRecordsReturned ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawTransmissionTime ( const char **  dataptr,
size_t *  sizeptr 
) const
inline
Deprecated:
Use getRawTimestamp.

Get self's "timestamp" field.

Parameters
dataptrThe pointer to be set to the timestamp.
sizeptrThe pointer to be set with the timestamp length.
void AMPS::Message::getRawUserId ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

void AMPS::Message::getRawVersion ( const char **  dataptr,
size_t *  sizeptr 
) const
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.

Field AMPS::Message::getReason ( ) const
inline

Retrieves the value of the Reason header of the Message as a new Field.

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.

Field AMPS::Message::getRecordsInserted ( ) const
inline

Retrieves the value of the RecordsInserted header of the Message as a new Field.

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.

Field AMPS::Message::getRecordsReturned ( ) const
inline

Retrieves the value of the RecordsReturned header of the Message as a new Field.

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.

Field AMPS::Message::getRecordsUpdated ( ) const
inline

Retrieves the value of the RecordsUpdated header of the Message as a new Field.

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.

Field AMPS::Message::getSequence ( ) const
inline

Retrieves the value of the Sequence header of the Message as a new Field.

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.

Field AMPS::Message::getSowDelete ( ) const
inline

Retrieves the value of the SowDelete header of the Message as a new Field.

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.

Field AMPS::Message::getSowKey ( ) const
inline

Retrieves the value of the SowKey header of the Message as a new Field.

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.

Field AMPS::Message::getSowKeys ( ) const
inline

Retrieves the value of the SowKeys header of the Message as a new Field.

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.

Field AMPS::Message::getStatus ( ) const
inline

Retrieves the value of the Status header of the Message as a new Field.

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.

Field AMPS::Message::getSubId ( ) const
inline

Retrieves the value of the SubscriptionId header of the Message as a new Field.

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.

Field AMPS::Message::getSubscriptionId ( ) const
inline

Retrieves the value of the SubscriptionId header of the Message as a new Field.

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.

Field AMPS::Message::getSubscriptionIds ( ) const
inline

Retrieves the value of the SubscriptionIds header of the Message as a new Field.

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.

Field AMPS::Message::getTimeoutInterval ( ) const
inline

Retrieves the value of the TimeoutInterval header of the Message as a new Field.

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.

Field AMPS::Message::getTimestamp ( ) const
inline

Retrieves the value of the Timestamp header of the Message as a new Field.

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.

Field AMPS::Message::getTopic ( ) const
inline

Retrieves the value of the Topic header of the Message as a new Field.

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.

Field AMPS::Message::getTopicMatches ( ) const
inline

Retrieves the value of the TopicMatches header of the Message as a new Field.

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.

Field AMPS::Message::getTopNRecordsReturned ( ) const
inline

Retrieves the value of the TopNRecordsReturned header of the Message as a new Field.

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.

Field AMPS::Message::getTransmissionTime ( ) const
inline
Deprecated:
Use getTimestamp.

Get self's "timestamp" field.

Returns
The timestamp Field
Field AMPS::Message::getUserId ( ) const
inline

Retrieves the value of the UserId header of the Message as a new Field.

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.

Field AMPS::Message::getVersion ( ) const
inline

Retrieves the value of the Version header of the Message as a new Field.

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.

Message& AMPS::Message::newAckType ( )
inline

Creates and sets a new sequential value for the AckType header for this Message.

This function is most useful for headers such as CommandId and SubId.

Message& AMPS::Message::newBatchSize ( )
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.

Message& AMPS::Message::newBookmark ( )
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.

Message& AMPS::Message::newClientName ( )
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.

Message& AMPS::Message::newCommand ( )
inline

Creates and sets a new sequential value for the Command header for this Message.

This function is most useful for headers such as CommandId and SubId.

Message& AMPS::Message::newCommandId ( )
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.

Message& AMPS::Message::newCorrelationId ( )
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.

Message& AMPS::Message::newExpiration ( )
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.

Message& AMPS::Message::newFilter ( )
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.

Message& AMPS::Message::newGroupSequenceNumber ( )
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.

Message& AMPS::Message::newHeartbeat ( )
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.

Message& AMPS::Message::newLeasePeriod ( )
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.

Message& AMPS::Message::newMatches ( )
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.

Message& AMPS::Message::newMessageLength ( )
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.

Message& AMPS::Message::newMessageType ( )
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.

Message& AMPS::Message::newOrderBy ( )
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.

Message& AMPS::Message::newPassword ( )
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.

Message& AMPS::Message::newQueryId ( )
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.

Message& AMPS::Message::newQueryID ( )
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.

Message& AMPS::Message::newReason ( )
inline

Creates and sets a new sequential value for the Reason header for this Message.

This function is most useful for headers such as CommandId and SubId.

Message& AMPS::Message::newRecordsInserted ( )
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.

Message& AMPS::Message::newRecordsReturned ( )
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.

Message& AMPS::Message::newRecordsUpdated ( )
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.

Message& AMPS::Message::newSequence ( )
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.

Message& AMPS::Message::newSowDelete ( )
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.

Message& AMPS::Message::newSowKey ( )
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.

Message& AMPS::Message::newSowKeys ( )
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.

Message& AMPS::Message::newStatus ( )
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.

Message& AMPS::Message::newSubId ( )
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.

Message& AMPS::Message::newSubscriptionId ( )
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.

Message& AMPS::Message::newSubscriptionIds ( )
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.

Message& AMPS::Message::newTimeoutInterval ( )
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.

Message& AMPS::Message::newTimestamp ( )
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.

Message& AMPS::Message::newTopic ( )
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.

Message& AMPS::Message::newTopicMatches ( )
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.

Message& AMPS::Message::newTopNRecordsReturned ( )
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.

Message& AMPS::Message::newUserId ( )
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.

Message& AMPS::Message::newVersion ( )
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.

Message& AMPS::Message::setAckType ( const char *  str)
inline

Sets the value of the AckType 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.

Message& AMPS::Message::setAckType ( const std::string &  v)
inline

Sets the value of the AckType 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.

Message& AMPS::Message::setAckType ( const char *  str,
size_t  len 
)
inline

Sets the value of the AckType 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.

Message& AMPS::Message::setAckType ( amps_uint64_t  v)
inline

Sets the value of the AckType 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.

Message& AMPS::Message::setAckTypeEnum ( unsigned  ackType_)
inline

Encode self's "ack type" field from a bitmask of values from AckType.

This method is passed an unsigned instead of AckType::Type since AckType does not contain unique entries for every possible combination of ack types.

Message& AMPS::Message::setBatchSize ( const std::string &  v)
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.

Message& AMPS::Message::setBatchSize ( amps_uint64_t  v)
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.

Message& AMPS::Message::setBatchSize ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setBatchSize ( const char *  str)
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.

Message& AMPS::Message::setBookmark ( const std::string &  v)
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.

Message& AMPS::Message::setBookmark ( amps_uint64_t  v)
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.

Message& AMPS::Message::setBookmark ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setBookmark ( const char *  str)
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.

Message& AMPS::Message::setClientName ( const std::string &  v)
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.

Message& AMPS::Message::setClientName ( amps_uint64_t  v)
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.

Message& AMPS::Message::setClientName ( const char *  str)
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.

Message& AMPS::Message::setClientName ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setCommand ( const std::string &  v)
inline

Sets the value of the Command 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.

Message& AMPS::Message::setCommand ( amps_uint64_t  v)
inline

Sets the value of the Command 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.

Message& AMPS::Message::setCommand ( const char *  str)
inline

Sets the value of the Command 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.

Message& AMPS::Message::setCommand ( const char *  str,
size_t  len 
)
inline

Sets the value of the Command 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.

Message& AMPS::Message::setCommandId ( const std::string &  v)
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.

Message& AMPS::Message::setCommandId ( amps_uint64_t  v)
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.

Message& AMPS::Message::setCommandId ( const char *  str)
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.

Message& AMPS::Message::setCommandId ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setCorrelationId ( amps_uint64_t  v)
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.

Message& AMPS::Message::setCorrelationId ( const char *  str)
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.

Message& AMPS::Message::setCorrelationId ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setCorrelationId ( const std::string &  v)
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.

Message& AMPS::Message::setData ( const std::string &  v_)
inline

Sets the data portion of self.

Parameters
v_the string containing your data
Message& AMPS::Message::setData ( const char *  data_,
size_t  length_ 
)
inline

Sets the data portion of self from a char array.

Parameters
data_a pointer to your data
length_the length, in bytes, of your data (excluding any null-terminator)
Message& AMPS::Message::setData ( const char *  data_)
inline

Sets the data portion of self from a null-terminated string.

Parameters
data_a pointer to your null-terminated data.
Message& AMPS::Message::setExpiration ( amps_uint64_t  v)
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.

Message& AMPS::Message::setExpiration ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setExpiration ( const char *  str)
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.

Message& AMPS::Message::setExpiration ( const std::string &  v)
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.

Message& AMPS::Message::setFilter ( amps_uint64_t  v)
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.

Message& AMPS::Message::setFilter ( const char *  str)
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.

Message& AMPS::Message::setFilter ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setFilter ( const std::string &  v)
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.

Message& AMPS::Message::setGroupSequenceNumber ( const std::string &  v)
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.

Message& AMPS::Message::setGroupSequenceNumber ( const char *  str)
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.

Message& AMPS::Message::setGroupSequenceNumber ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setGroupSequenceNumber ( amps_uint64_t  v)
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.

Message& AMPS::Message::setHeartbeat ( const char *  str)
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.

Message& AMPS::Message::setHeartbeat ( const std::string &  v)
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.

Message& AMPS::Message::setHeartbeat ( amps_uint64_t  v)
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.

Message& AMPS::Message::setHeartbeat ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setLeasePeriod ( const std::string &  v)
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.

Message& AMPS::Message::setLeasePeriod ( amps_uint64_t  v)
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.

Message& AMPS::Message::setLeasePeriod ( const char *  str)
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.

Message& AMPS::Message::setLeasePeriod ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setMatches ( const std::string &  v)
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.

Message& AMPS::Message::setMatches ( amps_uint64_t  v)
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.

Message& AMPS::Message::setMatches ( const char *  str)
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.

Message& AMPS::Message::setMatches ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setMessageLength ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setMessageLength ( amps_uint64_t  v)
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.

Message& AMPS::Message::setMessageLength ( const char *  str)
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.

Message& AMPS::Message::setMessageLength ( const std::string &  v)
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.

Message& AMPS::Message::setMessageType ( const char *  str)
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.

Message& AMPS::Message::setMessageType ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setMessageType ( amps_uint64_t  v)
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.

Message& AMPS::Message::setMessageType ( const std::string &  v)
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.

Message& AMPS::Message::setOptions ( const std::string &  v)
inline

Sets the value of the Options 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.

Message& AMPS::Message::setOptions ( const char *  str)
inline

Sets the value of the Options 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.

Message& AMPS::Message::setOptions ( const char *  str,
size_t  len 
)
inline

Sets the value of the Options 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.

Message& AMPS::Message::setOrderBy ( amps_uint64_t  v)
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.

Message& AMPS::Message::setOrderBy ( const char *  str)
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.

Message& AMPS::Message::setOrderBy ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setOrderBy ( const std::string &  v)
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.

Message& AMPS::Message::setPassword ( amps_uint64_t  v)
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.

Message& AMPS::Message::setPassword ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setPassword ( const char *  str)
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.

Message& AMPS::Message::setPassword ( const std::string &  v)
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.

Message& AMPS::Message::setQueryID ( const char *  str)
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.

Message& AMPS::Message::setQueryID ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setQueryId ( const std::string &  v)
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.

Message& AMPS::Message::setQueryId ( const char *  str)
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.

Message& AMPS::Message::setQueryID ( amps_uint64_t  v)
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.

Message& AMPS::Message::setQueryId ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setQueryID ( const std::string &  v)
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.

Message& AMPS::Message::setQueryId ( amps_uint64_t  v)
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.

Message& AMPS::Message::setReason ( const char *  str,
size_t  len 
)
inline

Sets the value of the Reason 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.

Message& AMPS::Message::setReason ( amps_uint64_t  v)
inline

Sets the value of the Reason 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.

Message& AMPS::Message::setReason ( const char *  str)
inline

Sets the value of the Reason 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.

Message& AMPS::Message::setReason ( const std::string &  v)
inline

Sets the value of the Reason 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.

Message& AMPS::Message::setRecordsInserted ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setRecordsInserted ( amps_uint64_t  v)
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.

Message& AMPS::Message::setRecordsInserted ( const std::string &  v)
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.

Message& AMPS::Message::setRecordsInserted ( const char *  str)
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.

Message& AMPS::Message::setRecordsReturned ( const char *  str)
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.

Message& AMPS::Message::setRecordsReturned ( const std::string &  v)
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.

Message& AMPS::Message::setRecordsReturned ( amps_uint64_t  v)
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.

Message& AMPS::Message::setRecordsReturned ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setRecordsUpdated ( const char *  str)
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.

Message& AMPS::Message::setRecordsUpdated ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setRecordsUpdated ( const std::string &  v)
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.

Message& AMPS::Message::setRecordsUpdated ( amps_uint64_t  v)
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.

Message& AMPS::Message::setSequence ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setSequence ( const char *  str)
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.

Message& AMPS::Message::setSequence ( const std::string &  v)
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.

Message& AMPS::Message::setSequence ( amps_uint64_t  v)
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.

Message& AMPS::Message::setSowDelete ( const std::string &  v)
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.

Message& AMPS::Message::setSowDelete ( const char *  str)
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.

Message& AMPS::Message::setSowDelete ( amps_uint64_t  v)
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.

Message& AMPS::Message::setSowDelete ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setSowKey ( const std::string &  v)
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.

Message& AMPS::Message::setSowKey ( const char *  str)
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.

Message& AMPS::Message::setSowKey ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setSowKey ( amps_uint64_t  v)
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.

Message& AMPS::Message::setSowKeys ( const char *  str)
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.

Message& AMPS::Message::setSowKeys ( amps_uint64_t  v)
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.

Message& AMPS::Message::setSowKeys ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setSowKeys ( const std::string &  v)
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.

Message& AMPS::Message::setStatus ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setStatus ( amps_uint64_t  v)
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.

Message& AMPS::Message::setStatus ( const std::string &  v)
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.

Message& AMPS::Message::setStatus ( const char *  str)
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.

Message& AMPS::Message::setSubId ( const std::string &  v)
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.

Message& AMPS::Message::setSubId ( const char *  str)
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.

Message& AMPS::Message::setSubId ( amps_uint64_t  v)
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.

Message& AMPS::Message::setSubId ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setSubscriptionId ( amps_uint64_t  v)
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.

Message& AMPS::Message::setSubscriptionId ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setSubscriptionId ( const char *  str)
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.

Message& AMPS::Message::setSubscriptionId ( const std::string &  v)
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.

Message& AMPS::Message::setSubscriptionIds ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setSubscriptionIds ( const std::string &  v)
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.

Message& AMPS::Message::setSubscriptionIds ( const char *  str)
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.

Message& AMPS::Message::setSubscriptionIds ( amps_uint64_t  v)
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.

Message& AMPS::Message::setTimeoutInterval ( const std::string &  v)
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.

Message& AMPS::Message::setTimeoutInterval ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setTimeoutInterval ( const char *  str)
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.

Message& AMPS::Message::setTimeoutInterval ( amps_uint64_t  v)
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.

Message& AMPS::Message::setTimestamp ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setTimestamp ( const char *  str)
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.

Message& AMPS::Message::setTimestamp ( const std::string &  v)
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.

Message& AMPS::Message::setTimestamp ( amps_uint64_t  v)
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.

Message& AMPS::Message::setTopic ( const std::string &  v)
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.

Message& AMPS::Message::setTopic ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setTopic ( const char *  str)
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.

Message& AMPS::Message::setTopic ( amps_uint64_t  v)
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.

Message& AMPS::Message::setTopicMatches ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setTopicMatches ( const std::string &  v)
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.

Message& AMPS::Message::setTopicMatches ( const char *  str)
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.

Message& AMPS::Message::setTopicMatches ( amps_uint64_t  v)
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.

Message& AMPS::Message::setTopNRecordsReturned ( amps_uint64_t  v)
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.

Message& AMPS::Message::setTopNRecordsReturned ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setTopNRecordsReturned ( const char *  str)
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.

Message& AMPS::Message::setTopNRecordsReturned ( const std::string &  v)
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.

Message& AMPS::Message::setUserId ( const std::string &  v)
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.

Message& AMPS::Message::setUserId ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setUserId ( amps_uint64_t  v)
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.

Message& AMPS::Message::setUserId ( const char *  str)
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.

Message& AMPS::Message::setVersion ( const char *  str,
size_t  len 
)
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.

Message& AMPS::Message::setVersion ( const std::string &  v)
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.

Message& AMPS::Message::setVersion ( amps_uint64_t  v)
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.

Message& AMPS::Message::setVersion ( const char *  str)
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.

Member Data Documentation

const unsigned int AMPS::Message::IdentifierLength = 32
static

The length of identifiers used for unique identification of commands and subscriptions.


The documentation for this class was generated from the following files: