Changeset 3710 for source/ariba/utility/messages
- Timestamp:
- May 26, 2009, 5:18:02 PM (15 years ago)
- Location:
- source/ariba/utility/messages
- Files:
-
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/messages/Message.h
r3690 r3710 46 46 #include<boost/shared_array.hpp> 47 47 48 49 // local includes50 #include "MessageControlInfo.h"51 52 48 // forward declaration 53 49 #include "_namespace.h" … … 96 92 const Address* srcAddr; 97 93 const Address* destAddr; 98 const MessageControlInfo* ctrlInfo;99 94 100 95 public: … … 103 98 */ 104 99 inline Message() : 105 root(), releasePayload(true), payload(), srcAddr(NULL),destAddr(NULL) ,ctrlInfo(NULL){100 root(), releasePayload(true), payload(), srcAddr(NULL),destAddr(NULL) { 106 101 } 107 102 … … 111 106 */ 112 107 inline Message( const Data& data ) : 113 srcAddr(NULL),destAddr(NULL), ctrlInfo(NULL),releasePayload(true) {108 srcAddr(NULL),destAddr(NULL), releasePayload(true) { 114 109 this->payload = data.clone(); 115 110 // this->root = shared_array<uint8_t>((uint8_t*)data.getBuffer()); … … 173 168 inline const Address* getSourceAddress() const { 174 169 return srcAddr; 175 }176 177 /**178 * Set optional control information179 *180 * @parm ctrlInfo The optional control information181 */182 inline void setControlInfo(const MessageControlInfo* ctrlInfo) {183 this->ctrlInfo = ctrlInfo;184 }185 186 /**187 * Returns the optional control information or NULL188 *189 * @return The optional control information or NULL190 */191 inline const MessageControlInfo* getControlInfo() const {192 return ctrlInfo;193 170 } 194 171
Note:
See TracChangeset
for help on using the changeset viewer.