xref: /haiku/src/add-ons/kernel/file_systems/userlandfs/private/RequestHandler.cpp (revision 83812f67529c88d4fb4b942162a9f21142e683fa)
1 // RequestHandler.cpp
2 
3 #include "RequestHandler.h"
4 
5 // constructor
RequestHandler()6 RequestHandler::RequestHandler()
7 	: fPort(NULL),
8 	  fDone(false)
9 {
10 }
11 
12 // destructor
~RequestHandler()13 RequestHandler::~RequestHandler()
14 {
15 }
16 
17 // SetPort
18 void
SetPort(RequestPort * port)19 RequestHandler::SetPort(RequestPort* port)
20 {
21 	fPort = port;
22 }
23 
24 // IsDone
25 bool
IsDone() const26 RequestHandler::IsDone() const
27 {
28 	return fDone;
29 }
30 
31