Changeset 5151 for source/ariba/overlay/messages/OverlayMsg.cpp
- Timestamp:
- Jul 21, 2009, 1:54:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/messages/OverlayMsg.cpp
r3690 r5151 44 44 vsznDefault(OverlayMsg); 45 45 46 OverlayMsg::OverlayMsg(OverlayMessageType _type, const ServiceID _service, const NodeID _sourceNode)47 : type( (uint8_t)_type), service( _service ), sourceNode( _sourceNode ) {48 }49 50 OverlayMsg::OverlayMsg(OverlayMessageType _type, const NodeID _sourceNode)51 : type( (uint8_t)_type), service( ServiceID::UNSPECIFIED ), sourceNode( _sourceNode ){52 }53 54 46 OverlayMsg::~OverlayMsg(){ 55 47 } 56 48 57 OverlayMsg::OverlayMessageType OverlayMsg::getType(){58 return (OverlayMessageType)type;59 }60 61 const ServiceID& OverlayMsg::getService(){62 return service;63 }64 65 bool OverlayMsg::isType(OverlayMessageType _type){66 return (OverlayMessageType)type == _type;67 }68 69 const NodeID& OverlayMsg::getSourceNode(){70 return sourceNode;71 }72 73 49 }} // ariba::overlay
Note:
See TracChangeset
for help on using the changeset viewer.