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