Changeset 7468 for source/ariba/SpoVNetProperties.h
- Timestamp:
- Jan 25, 2010, 10:50:57 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/SpoVNetProperties.h
r5316 r7468 83 83 84 84 /** 85 * Constructs a new SpoVnet property object.86 *87 * TODO: replace with setters! for downwards compatibility88 */89 /*90 SpoVNetProperties(const Name& name, SpoVNetID id, OverlayType type,91 uint16_t idLength, const NodeID& initiator, bool hidden = false) :92 name(name), id(id), type(type), idLength(idLength),93 initiator(initiator), hidden(hidden) {94 }*/95 96 /**97 85 * Copy constructor. 98 86 */ … … 103 91 */ 104 92 virtual ~SpoVNetProperties(); 105 106 /**107 * Returns the canonical SpoVNet name108 */109 const Name& getName() const;110 111 /**112 * Returns the SpoVNet id113 */114 const SpoVNetID& getId() const;115 116 /**117 * Returns the node id of the initiator of the spovnet.118 * If the node id is unspecified, the initiator wanted to be anonymous.119 */120 const NodeID& getInitiator() const;121 122 /**123 * Returns the node identifier length in bites124 */125 uint16_t getIdentifierLength() const;126 127 void setIdentifierLength( uint16_t length ) {128 this->idLength = length;129 }130 93 131 94 /** … … 139 102 140 103 /** 141 * Returns true, if the spovnet is hidden142 */143 bool isHidden() const;144 145 void setHidden( bool is_hidden ) {146 this->hidden = is_hidden;147 }148 149 /**150 104 * Returns a human readable string representation of the SpoVNet properties 151 105 * … … 155 109 156 110 private: 157 Name name; 158 SpoVNetID id; 159 uint8_t type; 160 uint16_t idLength; 161 NodeID initiator; 162 bool hidden; 111 uint8_t type; 163 112 }; 164 113
Note:
See TracChangeset
for help on using the changeset viewer.