CGbaUtility Class Reference
class CGbaUtility : public CBase |
Interface for handling gba bootstrapping
Constructor & Destructor Documentation
Member Functions Documentation
Bootstrap(const TGBABootstrapInputParams, TGBABootstrapOutputParams &)
Bootstrap function. It is a asynchronous function with callback function. Performs a bootstrap and calls the callback function when bootstrap is done. This function should be used when the instance of CGbaUtility is created by factory function with observer. This function requires ReadDeviceData capability
Bootstrap(const TGBABootstrapInputParams, TGBABootstrapOutputParams &, TRequestStatus &)
Performs asynchronous bootstrap. This function should be used when the instance of CGbaUtility is created by factory function without observer. This function requires ReadDeviceData capability
Parameters
const TGBABootstrapInputParams aInput | - structure to hold input parameters, aOutput - structure to hold output parameters client must ensure that ouput buffer is available when boostrapping is completed aStatus - KErrNone - in case the bootstrap request is completed successfullyKErrCancel - in case the bootstrap request is cancelledKErrInUse - if there any outstanding bootstrap request in place |
TGBABootstrapOutputParams & aOutput | |
TRequestStatus & aStatus | |
CancelBootstrap()
IMPORT_C TInt | CancelBootstrap | ( | ) | |
Cancel Bootstrap function
ConstructL(MGbaObserver &)
ConstructL()
void | ConstructL | ( | ) | [private] |
NewL(MGbaObserver &)
NewL factory function with an observer. It is used with callback function which should be implemented by the client. The interface is defined in class MGbaObserver
Parameters
MGbaObserver & aObserver | Client implemented observer that will be called when the bootstrap is done |
NewL()
NewL factory function without observer. User should create its own state machine.
NewLC(MGbaObserver &)
NewLC factory function with an observer. It is used with callback function which should be implemented by the client. The interface is defined in class MGbaObserver
Parameters
MGbaObserver & aObserver | Client implemented observer that will be called when the bootstrap is done |
NewLC()
NewLC factory function without observer. User should create its own state machine.
SetBSFAddress(const TDesC8 &)
IMPORT_C TInt | SetBSFAddress | ( | const TDesC8 & | aAddress | ) | |
Set the BSF address. required WriteDeviceData capability. The BSF address set by this function will overwrite the one calculated from IMPI.
- Since
- S60 3.2
Member Data Documentation
CGbaClientRequestHandler * iGbaRequestHandler
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.