#include <oscl_socket_method.h>
Inheritance diagram for OsclSocketRequestAO:
Public Methods | |
void | ConstructL () |
Protected Methods | |
OsclSocketRequestAO (OsclSocketMethod &aContainer, const char *name) | |
virtual | ~OsclSocketRequestAO () |
OsclAny * | NewRequest (const uint32 size) |
void | CleanupParam (bool deallocate=false) |
void | Abort () |
void | RequestDone () |
int | GetSocketError () |
void | DoCancel () |
void | Run () |
virtual void | Success () |
OsclSocketI * | SocketI () |
OsclSocketObserver * | SocketObserver () |
uint32 | Id () |
Oscl_DefAlloc & | Alloc () |
Protected Attributes | |
OsclSocketMethod & | iContainer |
int32 | iSocketError |
SocketRequestParam * | iParam |
uint32 | iParamSize |
Friends | |
class | OsclSocketI |
class | OsclSocketMethod |
class | OsclSocketRequest |
|
|
|
|
|
|
|
|
|
|
|
|
|
Cancel request handler. This gets called by scheduler when the request is cancelled. The default routine will complete the request. If any additional action is needed, the derived class may override this. If the derived class does override DoCancel, it must complete the request. Reimplemented from OsclActiveObject. |
|
|
|
|
|
|
|
|
|
Handles an active object's request completion event. A derived class must provide an implementation to handle the completed request. If appropriate, it may issue another request. The function is called by the active scheduler when a request completion event occurs, i.e. after the active scheduler's WaitForAnyRequest() function completes. Before calling this active object's Run() function, the active scheduler has: 1. decided that this is the highest priority active object with a completed request 2. marked this active object's request as complete (i.e. the request is no longer outstanding) Run() runs under a trap harness in the active scheduler. If it leaves, then the active scheduler calls ExecError() to handle the leave. Note that once the active scheduler's Start() function has been called, all user code is run under one of the program's active object's Run() or RunError() functions. Implements PVActiveBase. |
|
|
|
|
|
Reimplemented in OsclRecvRequest, OsclRecvFromRequest, OsclSendRequest, and OsclSendToRequest. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|