Public Member Functions | |
| virtual | ~CCSAsyncRequestHandler () |
| void | RequestTime () |
| void | CancelRequest () |
| TTime | Time () const |
Static Public Member Functions | |
| static CCSAsyncRequestHandler * | NewL (MAsyncTimeObserver &aObserver) |
| static CCSAsyncRequestHandler * | NewLC (MAsyncTimeObserver &aObserver) |
Protected Member Functions | |
| void | RunL () |
| void | DoCancel () |
CCSAsyncRequestHandler An instance of the request handler object for the ClientServerAsync example application
Definition at line 35 of file csasyncrequesthandler.h.
| CCSAsyncRequestHandler::~CCSAsyncRequestHandler | ( | ) | [virtual] |
~CCSAsyncRequestHandler. Destructor. Destroys the object and release all memory objects.
Definition at line 79 of file csasyncrequesthandler.cpp.
| CCSAsyncRequestHandler * CCSAsyncRequestHandler::NewL | ( | MAsyncTimeObserver & | aObserver | ) | [static] |
NewL. Two-phased constructor. Creates a CCSAsyncRequestHandler object using two phase construction, and return a pointer to the created object.
| aObserver | The object to be used to handle updates from the server. |
Definition at line 32 of file csasyncrequesthandler.cpp.
| CCSAsyncRequestHandler * CCSAsyncRequestHandler::NewLC | ( | MAsyncTimeObserver & | aObserver | ) | [static] |
NewLC. Two-phased constructor. Creates a CCSAsyncRequestHandler object using two phase construction, and return a pointer to the created object.
| aObserver | The object to be used to handle updates from the server. |
Definition at line 44 of file csasyncrequesthandler.cpp.
| void CCSAsyncRequestHandler::RequestTime | ( | ) |
RequestTime. Sends a request to the server for an update to the time.
Definition at line 90 of file csasyncrequesthandler.cpp.
| void CCSAsyncRequestHandler::CancelRequest | ( | ) |
CancelRequest. Cancels an outstanding request.
Definition at line 104 of file csasyncrequesthandler.cpp.
| TTime CCSAsyncRequestHandler::Time | ( | ) | const |
Time. Gets a copy of the last time received from the server.
Definition at line 153 of file csasyncrequesthandler.cpp.
| void CCSAsyncRequestHandler::RunL | ( | ) | [protected] |
From CActive, RunL. Callback function. Invoked to handle responses from the server.
Definition at line 114 of file csasyncrequesthandler.cpp.
| void CCSAsyncRequestHandler::DoCancel | ( | ) | [protected] |
From CActive, DoCancel. Cancels any outstanding operation.
Definition at line 143 of file csasyncrequesthandler.cpp.
1.6.2