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