#include <cMsg.hxx>
Definition at line 70 of file cMsg.hxx.
Public Member Functions | |
cMsgMessage (void) throw (cMsgException) | |
Default constructor creates message. | |
cMsgMessage (const cMsgMessage &m) throw (cMsgException) | |
Copy constructor creates message object from another message object. | |
cMsgMessage (void *msgPointer) throw (cMsgException) | |
Constructor creates message object from C message pointer. | |
virtual | ~cMsgMessage (void) |
Destructor frees C message pointer struct. | |
virtual string | getSubject (void) const throw (cMsgException) |
Gets message subject. | |
virtual void | setSubject (const string &subject) throw (cMsgException) |
Sets message subject. | |
virtual string | getType (void) const throw (cMsgException) |
Gets message type. | |
virtual void | setType (const string &type) throw (cMsgException) |
Sets message type. | |
virtual string | getText (void) const throw (cMsgException) |
Gets message text. | |
virtual void | setText (const string &text) throw (cMsgException) |
Sets message text. | |
virtual void | setByteArrayLength (int length) throw (cMsgException) |
Sets message byte array length. | |
virtual int | getByteArrayLength (void) const throw (cMsgException) |
Gets message byte array length. | |
virtual void | setByteArrayOffset (int offset) throw (cMsgException) |
Specifies offset in byte array. | |
virtual int | getByteArrayOffset (void) const throw (cMsgException) |
Gets offset in byte array. | |
virtual int | getByteArrayEndian (void) const throw (cMsgException) |
Gets endian-ness of message byte array. | |
virtual void | setByteArrayEndian (int endian) throw (cMsgException) |
Sets endian-ness of message byte array. | |
virtual bool | needToSwap (void) const throw (cMsgException) |
True if need to swap byte array. | |
virtual void | setByteArray (char *array) throw (cMsgException) |
Specifies byte array. | |
virtual char * | getByteArray (void) const throw (cMsgException) |
Gets byte array. | |
virtual void | setByteArrayAndLimits (char *array, int offset, int length) throw (cMsgException) |
Specifies byte array, offset and length. | |
virtual void | copyByteArray (char *array, int offset, int length) throw (cMsgException) |
Copies byte array. | |
virtual int | getUserInt (void) const throw (cMsgException) |
Gets message user int. | |
virtual void | setUserInt (int i) throw (cMsgException) |
Sets message user int. | |
virtual struct timespec | getUserTime (void) const throw (cMsgException) |
Gets message user time. | |
virtual void | setUserTime (const struct timespec &userTime) throw (cMsgException) |
Sets message user time. | |
virtual int | getVersion (void) const throw (cMsgException) |
Gets cMsg version. | |
virtual string | getDomain (void) const throw (cMsgException) |
Gets message domain. | |
virtual string | getReceiver (void) const throw (cMsgException) |
Gets message receiver. | |
virtual string | getReceiverHost (void) const throw (cMsgException) |
Gets message receiver host. | |
virtual string | getSender (void) const throw (cMsgException) |
Gets message sender. | |
virtual string | getSenderHost (void) const throw (cMsgException) |
Gets message sender host. | |
virtual struct timespec | getReceiverTime (void) const throw (cMsgException) |
Gets message receiver time. | |
virtual struct timespec | getSenderTime (void) const throw (cMsgException) |
Gets message sender time. | |
virtual bool | isGetRequest (void) const throw (cMsgException) |
True if message is a get request. | |
virtual bool | isGetResponse (void) const throw (cMsgException) |
True if message is a get response. | |
virtual bool | isNullGetResponse (void) const throw (cMsgException) |
True if message is a NULL get response. | |
virtual void | makeNullResponse (cMsgMessage &msg) throw (cMsgException) |
Makes a message a null response message. | |
virtual void | makeNullResponse (cMsgMessage *msg) throw (cMsgException) |
Makes a message a null response message. | |
virtual void | makeResponse (cMsgMessage &msg) throw (cMsgException) |
Makes a message a response message. | |
virtual void | makeResponse (cMsgMessage *msg) throw (cMsgException) |
Makes a message a response message. | |
virtual void | setGetResponse (bool b) throw (cMsgException) |
Makes message a get response message. | |
virtual void | setNullGetResponse (bool b) throw (cMsgException) |
Makes message a null response message. | |
virtual string | toString (void) const throw (cMsgException) |
Gets xml representation of message. | |
virtual cMsgMessage * | copy (void) const throw (cMsgException) |
Copies a message. | |
virtual cMsgMessage * | nullResponse (void) const throw (cMsgException) |
Creates a null response message. | |
virtual cMsgMessage * | response (void) const throw (cMsgException) |
Creates a response message. | |
virtual string | getSubscriptionDomain () const throw (cMsgException) |
Gets subscription domain. | |
virtual string | getSubscriptionSubject () const throw (cMsgException) |
Gets subscription subject. | |
virtual string | getSubscriptionType () const throw (cMsgException) |
Gets subscription type. | |
virtual string | getSubscriptionUDL () const throw (cMsgException) |
Gets subscription UDL. | |
virtual int | getSubscriptionCueSize (void) const throw (cMsgException) |
Gets current subscription cue size. | |
virtual bool | getReliableSend (void) const throw (cMsgException) |
True if message sent via reliable send. | |
virtual void | setReliableSend (bool b) throw (cMsgException) |
Sets message reliable send flag. | |
virtual bool | hasPayload () const |
This method returns whether a message has a compound payload or not. | |
virtual void | payloadClear (void) |
This method removes all the user-added items in the payload. | |
virtual void | payloadWipeout (void) |
This method removes all items (including those added by the cMsg system) in the payload. | |
virtual void | payloadPrint (void) const |
This method prints out the message payload in a readable form. | |
virtual void | payloadCopy (cMsgMessage &msg) throw (cMsgException) |
This method copies the payload from another message. | |
virtual bool | payloadRemoveField (const string &name) |
This method removes the named field if its exists. | |
virtual string | payloadGetFieldDescription (const string &name) const throw (cMsgException) |
This method returns the current field name. | |
virtual map< string, int > * | payloadGet () const throw (cMsgException) |
This method returns a pointer to a map containing all name/type pairs of the payload. | |
virtual int | payloadGetCount () const |
This method returns the number of payload items a message has. | |
virtual bool | payloadContainsName (const string &name) const |
This method returns whether an item in the payload has the given name or not. | |
virtual int | payloadGetType (const string &name) const throw (cMsgException) |
This method returns the type of data associated with the payload field given by the name argument. | |
virtual void | getBinary (string name, const char **val, int &len, int &endian) const throw (cMsgException) |
This method returns the value of the given field as a binary array if it exists. | |
virtual const cMsgMessage * | getMessage (string name) const throw (cMsgException) |
This method returns the value of the given field as a cMsgMessage object pointer if its exists. | |
virtual vector< cMsgMessage > * | getMessageVector (string name) const throw (cMsgException) |
This method returns the value of the given field as a pointer to a vector of cMsgMessage objects if its exists. | |
virtual string | getString (string name) const throw (cMsgException) |
This method returns the value of the given field as a string if its exists. | |
virtual vector< string > * | getStringVector (string name) const throw (cMsgException) |
This method returns the value of the given field as a pointer to a vector of strings if its exists. | |
virtual float | getFloat (string name) const throw (cMsgException) |
This method returns the value of the given field as a float if its exists. | |
virtual double | getDouble (string name) const throw (cMsgException) |
This method returns the value of the given field as a double if its exists. | |
virtual vector< float > * | getFloatVector (string name) const throw (cMsgException) |
This method returns the value of the given field as a pointer to a vector of floats if its exists. | |
virtual vector< double > * | getDoubleVector (string name) const throw (cMsgException) |
This method returns the value of the given field as a pointer to a vector of doubles if its exists. | |
virtual int8_t | getInt8 (string name) const throw (cMsgException) |
This method returns the value of the given field as an 8 bit, signed integer if its exists. | |
virtual int16_t | getInt16 (string name) const throw (cMsgException) |
This method returns the value of the given field as an 16 bit, signed integer if its exists. | |
virtual int32_t | getInt32 (string name) const throw (cMsgException) |
This method returns the value of the given field as an 32 bit, signed integer if its exists. | |
virtual int64_t | getInt64 (string name) const throw (cMsgException) |
This method returns the value of the given field as an 64 bit, signed integer if its exists. | |
virtual uint8_t | getUint8 (string name) const throw (cMsgException) |
This method returns the value of the given field as an 8 bit, unsigned integer if its exists. | |
virtual uint16_t | getUint16 (string name) const throw (cMsgException) |
This method returns the value of the given field as an 16 bit, unsigned integer if its exists. | |
virtual uint32_t | getUint32 (string name) const throw (cMsgException) |
This method returns the value of the given field as an 32 bit, unsigned integer if its exists. | |
virtual uint64_t | getUint64 (string name) const throw (cMsgException) |
This method returns the value of the given field as an 64 bit, unsigned integer if its exists. | |
virtual vector< int8_t > * | getInt8Vector (string name) const throw (cMsgException) |
This method returns the value of the given field as a pointer to a vector of 8-bit, signed ints if its exists. | |
virtual vector< int16_t > * | getInt16Vector (string name) const throw (cMsgException) |
This method returns the value of the given field as a pointer to a vector of 16-bit, signed ints if its exists. | |
virtual vector< int32_t > * | getInt32Vector (string name) const throw (cMsgException) |
This method returns the value of the given field as a pointer to a vector of 32-bit, signed ints if its exists. | |
virtual vector< int64_t > * | getInt64Vector (string name) const throw (cMsgException) |
This method returns the value of the given field as a pointer to a vector of 64-bit, signed ints if its exists. | |
virtual vector< uint8_t > * | getUint8Vector (string name) const throw (cMsgException) |
This method returns the value of the given field as a pointer to a vector of 8-bit, unsigned ints if its exists. | |
virtual vector< uint16_t > * | getUint16Vector (string name) const throw (cMsgException) |
This method returns the value of the given field as a pointer to a vector of 16-bit, unsigned ints if its exists. | |
virtual vector< uint32_t > * | getUint32Vector (string name) const throw (cMsgException) |
This method returns the value of the given field as a pointer to a vector of 32-bit, unsigned ints if its exists. | |
virtual vector< uint64_t > * | getUint64Vector (string name) const throw (cMsgException) |
This method returns the value of the given field as a pointer to a vector of 64-bit, unsigned ints if its exists. | |
virtual void | addBinary (string name, const char *src, int size, int endian) |
This method adds a named binary field to the compound payload of a message. | |
virtual void | addString (string name, string s) |
This method adds a string to the compound payload of a message. | |
virtual void | addStringArray (string name, const char **strs, int len) |
This method adds an array of strings to the compound payload of a message. | |
virtual void | addStringArray (string name, string *strs, int len) |
This method adds an array of strings to the compound payload of a message. | |
virtual void | addStringVector (string name, vector< string > &strs) |
This method adds a vector of strings to the compound payload of a message. | |
virtual void | addMessage (string name, cMsgMessage &msg) |
This method adds a cMsg message to the compound payload of a message. | |
virtual void | addMessageArray (string name, cMsgMessage *msg, int len) |
This method adds an array of cMsg messages to the compound payload of a message. | |
virtual void | addMessageVector (string name, vector< cMsgMessage > &msg) |
This method adds a named vector of cMsgMessage objects to the compound payload of a message. | |
virtual void | addFloat (string name, float val) |
This method adds a named float field to the compound payload of a message. | |
virtual void | addDouble (string name, double val) |
This method adds a named double field to the compound payload of a message. | |
virtual void | addFloatArray (string name, float *vals, int len) |
This method adds a named array of floats to the compound payload of a message. | |
virtual void | addDoubleArray (string name, double *vals, int len) |
This method adds a named array of doubles to the compound payload of a message. | |
virtual void | addFloatVector (string name, vector< float > &vals) |
This method adds a named vector of floats to the compound payload of a message. | |
virtual void | addDoubleVector (string name, vector< double > &vals) |
This method adds a named vector of doubles to the compound payload of a message. | |
virtual void | addInt8 (string name, int8_t val) |
This method adds a named, 8-bit, signed int field to the compound payload of a message. | |
virtual void | addInt16 (string name, int16_t val) |
This method adds a named, 16-bit, signed int field to the compound payload of a message. | |
virtual void | addInt32 (string name, int32_t val) |
This method adds a named, 32-bit, signed int field to the compound payload of a message. | |
virtual void | addInt64 (string name, int64_t val) |
This method adds a named, 64-bit, signed int field to the compound payload of a message. | |
virtual void | addUint8 (string name, uint8_t val) |
This method adds a named, 8-bit, unsigned int field to the compound payload of a message. | |
virtual void | addUint16 (string name, uint16_t val) |
This method adds a named, 16-bit, unsigned int field to the compound payload of a message. | |
virtual void | addUint32 (string name, uint32_t val) |
This method adds a named, 32-bit, unsigned int field to the compound payload of a message. | |
virtual void | addUint64 (string name, uint64_t val) |
This method adds a named, 64-bit, unsigned int field to the compound payload of a message. | |
virtual void | addInt8Array (string name, int8_t *vals, int len) |
This method adds a named array of 8-bit, signed ints to the compound payload of a message. | |
virtual void | addInt16Array (string name, int16_t *vals, int len) |
This method adds a named array of 16-bit, signed ints to the compound payload of a message. | |
virtual void | addInt32Array (string name, int32_t *vals, int len) |
This method adds a named array of 32-bit, signed ints to the compound payload of a message. | |
virtual void | addInt64Array (string name, int64_t *vals, int len) |
This method adds a named array of 64-bit, signed ints to the compound payload of a message. | |
virtual void | addUint8Array (string name, uint8_t *vals, int len) |
This method adds a named array of 8-bit, unsigned ints to the compound payload of a message. | |
virtual void | addUint16Array (string name, uint16_t *vals, int len) |
This method adds a named array of 16-bit, unsigned ints to the compound payload of a message. | |
virtual void | addUint32Array (string name, uint32_t *vals, int len) |
This method adds a named array of 32-bit, unsigned ints to the compound payload of a message. | |
virtual void | addUint64Array (string name, uint64_t *vals, int len) |
This method adds a named array of 64-bit, unsigned ints to the compound payload of a message. | |
virtual void | addInt8Vector (string name, vector< int8_t > &vals) |
This method adds a named vector of 8-bit, signed ints to the compound payload of a message. | |
virtual void | addInt16Vector (string name, vector< int16_t > &vals) |
This method adds a named vector of 16-bit, signed ints to the compound payload of a message. | |
virtual void | addInt32Vector (string name, vector< int32_t > &vals) |
This method adds a named vector of 32-bit, signed ints to the compound payload of a message. | |
virtual void | addInt64Vector (string name, vector< int64_t > &vals) |
This method adds a named vector of 64-bit, signed ints to the compound payload of a message. | |
virtual void | addUint8Vector (string name, vector< uint8_t > &vals) |
This method adds a named vector of 8-bit, unsigned ints to the compound payload of a message. | |
virtual void | addUint16Vector (string name, vector< uint16_t > &vals) |
This method adds a named vector of 16-bit, unsigned ints to the compound payload of a message. | |
virtual void | addUint32Vector (string name, vector< uint32_t > &vals) |
This method adds a named vector of 32-bit, unsigned ints to the compound payload of a message. | |
virtual void | addUint64Vector (string name, vector< uint64_t > &vals) |
This method adds a named vector of 64-bit, unsigned ints to the compound payload of a message. | |
Public Attributes | |
void * | myMsgPointer |
Pointer to C message structure. | |
Friends | |
class | cMsg |
Allows cMsg to see myMsgPointer. |
|
Default constructor creates message.
Definition at line 282 of file cMsgWrapper.cc. References myMsgPointer. Referenced by copy(), nullResponse(), and response(). |
|
Copy constructor creates message object from another message object.
Definition at line 299 of file cMsgWrapper.cc. |
|
Constructor creates message object from C message pointer.
Definition at line 316 of file cMsgWrapper.cc. |
|
Destructor frees C message pointer struct.
Definition at line 331 of file cMsgWrapper.cc. References myMsgPointer. |
|
This method adds a named binary field to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 871 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named double field to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1149 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named array of doubles to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1222 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named vector of doubles to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1245 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named float field to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1126 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named array of floats to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1175 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named vector of floats to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1198 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named, 16-bit, signed int field to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1293 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named array of 16-bit, signed ints to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1507 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named vector of 16-bit, signed ints to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1530 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named, 32-bit, signed int field to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1316 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named array of 32-bit, signed ints to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1557 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named vector of 32-bit, signed ints to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1580 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named, 64-bit, signed int field to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1339 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named array of 64-bit, signed ints to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1607 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named vector of 64-bit, signed ints to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1630 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named, 8-bit, signed int field to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1270 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named array of 8-bit, signed ints to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1457 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named vector of 8-bit, signed ints to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1480 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a cMsg message to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1024 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds an array of cMsg messages to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1047 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named vector of cMsgMessage objects to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1087 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a string to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 896 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds an array of strings to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 945 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds an array of strings to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 919 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a vector of strings to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 985 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named, 16-bit, unsigned int field to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1385 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named array of 16-bit, unsigned ints to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1708 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named vector of 16-bit, unsigned ints to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1731 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named, 32-bit, unsigned int field to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1408 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named array of 32-bit, unsigned ints to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1758 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named vector of 32-bit, unsigned ints to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1781 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named, 64-bit, unsigned int field to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1431 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named array of 64-bit, unsigned ints to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1808 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named vector of 64-bit, unsigned ints to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1831 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named, 8-bit, unsigned int field to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1362 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named array of 8-bit, unsigned ints to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1658 of file cMsgPayload.cc. References myMsgPointer. |
|
This method adds a named vector of 8-bit, unsigned ints to the compound payload of a message. Names may not begin with "cmsg" (case insensitive), be longer than CMSG_PAYLOAD_NAME_LEN, or contain white space or quotes.
Definition at line 1681 of file cMsgPayload.cc. References myMsgPointer. |
|
Copies a message.
Definition at line 714 of file cMsgWrapper.cc. References cMsgMessage(), and myMsgPointer. |
Here is the call graph for this function:
|
Copies byte array.
Definition at line 603 of file cMsgWrapper.cc. |
|
This method returns the value of the given field as a binary array if it exists.
Definition at line 264 of file cMsgPayload.cc. |
|
Gets byte array.
Definition at line 561 of file cMsgWrapper.cc. References myMsgPointer. |
|
Gets endian-ness of message byte array.
Definition at line 954 of file cMsgWrapper.cc. References myMsgPointer. |
|
Gets message byte array length.
Definition at line 487 of file cMsgWrapper.cc. References myMsgPointer. |
|
Gets offset in byte array.
Definition at line 524 of file cMsgWrapper.cc. References myMsgPointer. |
|
Gets message domain.
Definition at line 729 of file cMsgWrapper.cc. References myMsgPointer. |
|
This method returns the value of the given field as a double if its exists.
Definition at line 407 of file cMsgPayload.cc. |
|
This method returns the value of the given field as a pointer to a vector of doubles if its exists. The vector pointer must be deleted by caller to avoid a memory leak.
Definition at line 458 of file cMsgPayload.cc. |
|
This method returns the value of the given field as a float if its exists.
Definition at line 388 of file cMsgPayload.cc. |
|
This method returns the value of the given field as a pointer to a vector of floats if its exists. The vector pointer must be deleted by caller to avoid a memory leak.
Definition at line 431 of file cMsgPayload.cc. |
|
This method returns the value of the given field as an 16 bit, signed integer if its exists.
Definition at line 504 of file cMsgPayload.cc. |
|
This method returns the value of the given field as a pointer to a vector of 16-bit, signed ints if its exists. The vector pointer must be deleted by caller to avoid a memory leak.
Definition at line 668 of file cMsgPayload.cc. |
|
This method returns the value of the given field as an 32 bit, signed integer if its exists.
Definition at line 523 of file cMsgPayload.cc. |
|
This method returns the value of the given field as a pointer to a vector of 32-bit, signed ints if its exists. The vector pointer must be deleted by caller to avoid a memory leak.
Definition at line 695 of file cMsgPayload.cc. |
|
This method returns the value of the given field as an 64 bit, signed integer if its exists.
Definition at line 542 of file cMsgPayload.cc. |
|
This method returns the value of the given field as a pointer to a vector of 64-bit, signed ints if its exists. The vector pointer must be deleted by caller to avoid a memory leak.
Definition at line 722 of file cMsgPayload.cc. |
|
This method returns the value of the given field as an 8 bit, signed integer if its exists.
Definition at line 485 of file cMsgPayload.cc. |
|
This method returns the value of the given field as a pointer to a vector of 8-bit, signed ints if its exists. The vector pointer must be deleted by caller to avoid a memory leak.
Definition at line 641 of file cMsgPayload.cc. |
|
This method returns the value of the given field as a cMsgMessage object pointer if its exists. This object must be deleted to avoid a memory leak.
Definition at line 286 of file cMsgPayload.cc. |
|
This method returns the value of the given field as a pointer to a vector of cMsgMessage objects if its exists. The vector pointer must be deleted by caller to avoid a memory leak.
Definition at line 307 of file cMsgPayload.cc. |
|
Gets message receiver.
Definition at line 754 of file cMsgWrapper.cc. References myMsgPointer. |
|
Gets message receiver host.
Definition at line 779 of file cMsgWrapper.cc. References myMsgPointer. |
|
Gets message receiver time.
Definition at line 854 of file cMsgWrapper.cc. |
|
True if message sent via reliable send.
Definition at line 1303 of file cMsgWrapper.cc. References myMsgPointer. |
|
Gets message sender.
Definition at line 804 of file cMsgWrapper.cc. References myMsgPointer. |
|
Gets message sender host.
Definition at line 829 of file cMsgWrapper.cc. References myMsgPointer. |
|
Gets message sender time.
Definition at line 874 of file cMsgWrapper.cc. |
|
This method returns the value of the given field as a string if its exists.
Definition at line 338 of file cMsgPayload.cc. |
|
This method returns the value of the given field as a pointer to a vector of strings if its exists. The vector pointer must be deleted by caller to avoid a memory leak.
Definition at line 360 of file cMsgPayload.cc. |
|
Gets message subject.
Definition at line 344 of file cMsgWrapper.cc. References myMsgPointer. |
|
Gets current subscription cue size.
Definition at line 1283 of file cMsgWrapper.cc. References myMsgPointer. |
|
Gets subscription domain.
Definition at line 1183 of file cMsgWrapper.cc. References myMsgPointer. |
|
Gets subscription subject.
Definition at line 1208 of file cMsgWrapper.cc. References myMsgPointer. |
|
Gets subscription type.
Definition at line 1233 of file cMsgWrapper.cc. References myMsgPointer. |
|
Gets subscription UDL.
Definition at line 1258 of file cMsgWrapper.cc. References myMsgPointer. |
|
Gets message text.
Definition at line 428 of file cMsgWrapper.cc. References myMsgPointer. |
|
Gets message type.
Definition at line 386 of file cMsgWrapper.cc. References myMsgPointer. |
|
This method returns the value of the given field as an 16 bit, unsigned integer if its exists.
Definition at line 580 of file cMsgPayload.cc. |
|
This method returns the value of the given field as a pointer to a vector of 16-bit, unsigned ints if its exists. The vector pointer must be deleted by caller to avoid a memory leak.
Definition at line 778 of file cMsgPayload.cc. |
|
This method returns the value of the given field as an 32 bit, unsigned integer if its exists.
Definition at line 599 of file cMsgPayload.cc. |
|
This method returns the value of the given field as a pointer to a vector of 32-bit, unsigned ints if its exists. The vector pointer must be deleted by caller to avoid a memory leak.
Definition at line 805 of file cMsgPayload.cc. |
|
This method returns the value of the given field as an 64 bit, unsigned integer if its exists.
Definition at line 618 of file cMsgPayload.cc. |
|
This method returns the value of the given field as a pointer to a vector of 64-bit, unsigned ints if its exists. The vector pointer must be deleted by caller to avoid a memory leak.
Definition at line 832 of file cMsgPayload.cc. |
|
This method returns the value of the given field as an 8 bit, unsigned integer if its exists.
Definition at line 561 of file cMsgPayload.cc. |
|
This method returns the value of the given field as a pointer to a vector of 8-bit, unsigned ints if its exists. The vector pointer must be deleted by caller to avoid a memory leak.
Definition at line 750 of file cMsgPayload.cc. |
|
Gets message user int.
Definition at line 620 of file cMsgWrapper.cc. References myMsgPointer. |
|
Gets message user time.
Definition at line 657 of file cMsgWrapper.cc. |
|
Gets cMsg version.
Definition at line 694 of file cMsgWrapper.cc. References myMsgPointer. |
|
This method returns whether a message has a compound payload or not.
Definition at line 78 of file cMsgPayload.cc. References myMsgPointer. |
|
True if message is a get request.
Definition at line 894 of file cMsgWrapper.cc. References myMsgPointer. |
|
True if message is a get response.
Definition at line 914 of file cMsgWrapper.cc. References myMsgPointer. |
|
True if message is a NULL get response.
Definition at line 934 of file cMsgWrapper.cc. References myMsgPointer. |
|
Makes a message a null response message.
Definition at line 1032 of file cMsgWrapper.cc. |
|
Makes a message a null response message.
Definition at line 1013 of file cMsgWrapper.cc. |
|
Makes a message a response message.
Definition at line 1070 of file cMsgWrapper.cc. |
|
Makes a message a response message.
Definition at line 1051 of file cMsgWrapper.cc. |
|
True if need to swap byte array.
Definition at line 993 of file cMsgWrapper.cc. References myMsgPointer. |
|
Creates a null response message.
Definition at line 1089 of file cMsgWrapper.cc. References cMsgMessage(), and myMsgPointer. |
Here is the call graph for this function:
|
This method removes all the user-added items in the payload. The payload may still contain fields added by the cMsg system. If there are no items left in the payload, this method is equivalent to cMsgMessage#payloadWipeout. Definition at line 46 of file cMsgPayload.cc. References myMsgPointer. |
|
This method returns whether an item in the payload has the given name or not.
Definition at line 92 of file cMsgPayload.cc. References myMsgPointer. |
|
This method copies the payload from another message. The original payload is overwritten.
Definition at line 172 of file cMsgPayload.cc. |
|
This method returns a pointer to a map containing all name/type pairs of the payload. A field's name is the key and type is the value. The map must be deleted to avoid a memory leak.
Definition at line 209 of file cMsgPayload.cc. References myMsgPointer. |
|
This method returns the number of payload items a message has.
Definition at line 103 of file cMsgPayload.cc. References myMsgPointer. |
|
This method returns the current field name.
Definition at line 186 of file cMsgPayload.cc. |
|
This method returns the type of data associated with the payload field given by the name argument. The returned type may have the following values:
Definition at line 150 of file cMsgPayload.cc. |
|
This method prints out the message payload in a readable form.
Definition at line 67 of file cMsgPayload.cc. References myMsgPointer. |
|
This method removes the named field if its exists.
Definition at line 240 of file cMsgPayload.cc. References myMsgPointer. |
|
This method removes all items (including those added by the cMsg system) in the payload. This method frees the allocated memory of the given message's entire payload and then initializes the payload components of the message. Definition at line 58 of file cMsgPayload.cc. References myMsgPointer. |
|
Creates a response message.
Definition at line 1108 of file cMsgWrapper.cc. References cMsgMessage(), and myMsgPointer. |
Here is the call graph for this function:
|
Specifies byte array.
Definition at line 544 of file cMsgWrapper.cc. |
|
Specifies byte array, offset and length.
Definition at line 584 of file cMsgWrapper.cc. |
|
Sets endian-ness of message byte array.
Definition at line 974 of file cMsgWrapper.cc. |
|
Sets message byte array length.
Definition at line 470 of file cMsgWrapper.cc. |
|
Specifies offset in byte array.
Definition at line 507 of file cMsgWrapper.cc. |
|
Makes message a get response message.
Definition at line 1127 of file cMsgWrapper.cc. |
|
Makes message a null response message.
Definition at line 1144 of file cMsgWrapper.cc. |
|
Sets message reliable send flag.
Definition at line 1323 of file cMsgWrapper.cc. |
|
Sets message subject.
Definition at line 369 of file cMsgWrapper.cc. |
|
Sets message text.
Definition at line 453 of file cMsgWrapper.cc. |
|
Sets message type.
Definition at line 411 of file cMsgWrapper.cc. |
|
Sets message user int.
Definition at line 640 of file cMsgWrapper.cc. |
|
Sets message user time.
Definition at line 677 of file cMsgWrapper.cc. |
|
Gets xml representation of message.
Definition at line 1161 of file cMsgWrapper.cc. References myMsgPointer. |
|
Allows cMsg to see myMsgPointer.
|
|