1 // ServerNodeID.cpp 2 3 #include "ServerNodeID.h" 4 5 // constructor ServerNodeID()6ServerNodeID::ServerNodeID() 7 : RequestMember(), 8 NodeID() 9 { 10 } 11 12 // constructor ServerNodeID(dev_t volumeID,ino_t nodeID)13ServerNodeID::ServerNodeID(dev_t volumeID, ino_t nodeID) 14 : RequestMember(), 15 NodeID(volumeID, nodeID) 16 { 17 } 18 19 // destructor ~ServerNodeID()20ServerNodeID::~ServerNodeID() 21 { 22 } 23 24 // ShowAround 25 void ShowAround(RequestMemberVisitor * visitor)26ServerNodeID::ShowAround(RequestMemberVisitor* visitor) 27 { 28 visitor->Visit(this, volumeID); 29 visitor->Visit(this, nodeID); 30 } 31 32