Changeset 6266 for source/ariba/overlay/messages
- Timestamp:
- Sep 25, 2009, 2:30:33 PM (15 years ago)
- Location:
- source/ariba/overlay/messages
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/messages/OverlayMsg.h
r5902 r6266 88 88 typeLinkDirect = 0x34, ///< direct connection has been established 89 89 typeLinkAlive = 0x35, ///< keep-alive message 90 91 // DHT routed messages 92 maskDHT = 0x40, ///< bit mask for dht messages 93 typeDHTPut = 0x41, ///< DHT put operation 94 typeDHTGet = 0x42, ///< DHT get operation 95 typeDHTRemove = 0x43, ///< DHT remove operation 96 97 /// DHT response messages 98 maskDHTResponse = 0x50, ///< bit mask for dht responses 99 typeDHTData = 0x51, ///< DHT get data 90 100 91 101 // topology signaling … … 179 189 } 180 190 181 182 191 bool containsSourceEndpoint() const { 183 192 return (flags & 0x20)!=0; … … 186 195 void setContainsSourceEndpoint(bool contains_endpoint) { 187 196 if (contains_endpoint) flags |= 0x20; else flags &= ~0x20; 197 } 198 199 bool isDHTMessage() const { 200 return hasTypeMask(maskDHT); 188 201 } 189 202
Note:
See TracChangeset
for help on using the changeset viewer.