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