CWlmScanRequest Class Reference
class CWlmScanRequest : public CActive |
Active Object for asynchronous scan request.
This class implements an Active Object that is used for handling an asynchronous scan request.
Constructor & Destructor Documentation
CWlmScanRequest(RWLMServer &)
Parameters
RWLMServer & aClient | Handle to client-side interface to WLAN engine. |
~CWlmScanRequest()
~CWlmScanRequest | ( | ) | [virtual] |
Member Functions Documentation
ClientStatus()
Return the request status of the client.
ConstructL()
void | ConstructL | ( | ) | [private] |
Second-phase constructor.
IssueRequest(ScanList &, const TDesC8 &, TInt &, TUint &, TRequestStatus *)
Parameters
ScanList & aScanList | ScanList used for storing the results. |
const TDesC8 & aSsid | SSID used for scanning. |
TInt & aCacheLifetime | how old cached results (in seconds) the client is willing to accept. |
TUint & aMaxDelay | maximum time (in seconds) the client is willing to wait for the scan results. |
TRequestStatus * aStatus | Request status of the client that will be completed when scan has been completed. NULL if synchronous request. |
NewL(RWLMServer &)
Parameters
RWLMServer & aClient | Handle to client-side interface to WLAN engine. |
RunError(TInt)
From CActive. Called by the framework if RunL leaves.
Parameters
TInt aError | The error code RunL leaved with. |
RunL()
From CActive. Called when the request has been completed.
UpdateResults()
TInt
| UpdateResults | ( | ) | [private] |
Updates the scan list contents after a successful scan.
Member Data Documentation
TInt * iCacheLifetime
TInt * | iCacheLifetime | [private] |
Pointer to cache lifetime parameter. Not owned by this pointer.
RWLMServer & iClient
Handle to client-side interface.
TRequestStatus * iClientStatus
Request status of the client. Not owned by this pointer.
TPckgBuf< TDynamicScanList > iDynamicScanListBuf
Buffer for storing scan list count and scan list size.
TUint * iMaxDelay
TUint * | iMaxDelay | [private] |
Pointer to max delay parameter. Not owned by this pointer.
ScanList * iScanList
Scan list used for storing the results. Not owned by this pointer.
TPtr8
iScanListPtr
TPtr8
| iScanListPtr | [private] |
Descriptor for scan list.
TPckgBuf< TScanScheduling > iScanSchedulingBuf
Buffer for storing scan scheduling parameters
TPckgBuf< TSSID > iSsidBuf
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.