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