RRsConfigurator Class Reference
class RRsConfigurator : public RSessionBase |
The client interface to the Configurator server. Allows e.g. the Comms Provider Modules to Load the Comms Process with desired modules and bindings on demand.
Inherited Functions |
---|
| RHandleBase::Attributes()const |
| RHandleBase::BTraceId()const |
| RHandleBase::Close() |
| RHandleBase::DoExtendedClose() |
| RHandleBase::Duplicate(const RThread &,TOwnerType) |
| RHandleBase::FullName()const |
| RHandleBase::FullName(TDes &)const |
| RHandleBase::Handle()const |
| RHandleBase::HandleInfo(THandleInfo *) |
| RHandleBase::Name()const |
| RHandleBase::NotifyDestruction(TRequestStatus &) |
| RHandleBase::Open(const TFindHandleBase &,TOwnerType) |
| RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt) |
| RHandleBase::RHandleBase() |
| RHandleBase::RHandleBase(TInt) |
| RHandleBase::SetHandle(TInt) |
| RHandleBase::SetHandleNC(TInt) |
| RSessionBase::CreateSession(RServer2,const TVersion &) |
| RSessionBase::CreateSession(RServer2,const TVersion &,TInt) |
| RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *) |
| RSessionBase::Open(RMessagePtr2,TInt,TOwnerType) |
| RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType) |
| RSessionBase::Open(TInt,TOwnerType) |
| RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType) |
| RSessionBase::Send(TInt)const |
| RSessionBase::Send(TInt,const TIpcArgs &)const |
| RSessionBase::SendReceive(TInt)const |
| RSessionBase::SendReceive(TInt,TRequestStatus &)const |
| RSessionBase::SendReceive(TInt,const TIpcArgs &)const |
| RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const |
| RSessionBase::SetReturnedHandle(TInt) |
| RSessionBase::SetReturnedHandle(TInt,RHandleBase &) |
| RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &) |
| RSessionBase::ShareAuto() |
| RSessionBase::ShareProtected() |
Constructor & Destructor Documentation
RRsConfigurator()
IMPORT_C | RRsConfigurator | ( | ) | |
Member Functions Documentation
CancelLoadCpm(const CommsFW::TCFModuleName &)
Cancels asynchronous loading of a comms Provider Module. There is no guarantee the module loading is canceled. A best effort is made and the asynchronous request waiting for the module to load returns with KErrCanceled on success. TCFModuleName
- capability
- NetworkControl
CancelUnloadCpm(const CommsFW::TCFModuleName &)
Cancel asynchronous unloading of a comms Provider Module. There is no guarantee the module unloading is canceled. A best effort is made and the asynchronous request waiting for the module to load returns KErrCanceled on success. TCFModuleName
- capability
- NetworkControl PowerMgmt
Connect()
Use this function to open a session to the Configurator Server, which is used to load the modules on demand. Default number of message slots is defined in KDefaultMessageSlots. As with any server, the connection should be closed after use.
RHandleBase provides the necessary
Close() function, which should be called when the server session is no longer required.
- capability
- NetworkControl
EnumerateModules(const TCFGroupName &, RootServer::TRSIter &, CommsFW::TCFModuleName &)
Through repeated calls returns the list of module names that are associated with provided group name. TCFModuleName
TCFGroupName - capability
- NetworkControl
GetModuleIniData(const CommsFW::TCFModuleName &, TDes8 &, TInt &)
Gets you the module [inidata] section, which contains information specific to CPM
- capability
- NetworkControl
Parameters
const CommsFW::TCFModuleName & aModuleName | |
TDes8 & aIniData | contains inidata on return. |
TInt & aRequiredIniDataSize | contains actual size of the inidata on return.Using this the caller may resize the buffer and use the method again in case of KErrOverflow. |
LoadCpm(const CommsFW::TCFModuleName &, TRequestStatus &)
Launch a new Comms Provider Module on demand The name of the new CPM instance must be unique and must be used in any further communication concerning this CPM instance, such as binding. TCFModuleName
- capability
- NetworkControl
UnloadCpm(const CommsFW::TCFModuleName &, RootServer::TRSUnLoadType, TRequestStatus &)
Unloads a Comms Provider Module. This interannly calls root server UnLoadCpm() method TCFModuleName TRSUnLoadType
- capability
- NetworkControl PowerMgmt
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.