RConfigDaemon Class Reference

class RConfigDaemon : public RAsyncConnectBase

The RConfigDaemon class Implements the Symbian OS Configuration daemon Client API

Public Member Functions
voidCancel(TRequestStatus &)
voidCancel(TUint, TRequestStatus &)
voidConfigure(const TDes8 &, TRequestStatus &)
voidDeregister(TInt, TDes8 *, TRequestStatus &)
voidIoctl(TUint, TUint, TRequestStatus &, TDes8 *)
voidLinkLayerDown()
voidLinkLayerUp()
voidProgressNotification(TDaemonProgressBuf &, TRequestStatus &)
TVersion Version()
Inherited Functions
RAsyncConnectBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus &)
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()
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Inherited Attributes
RHandleBase::iHandle

Member Functions Documentation

Cancel(TRequestStatus &)

voidCancel(TRequestStatus &aStatus)

Cancels current request asynchronously => just one request at the time could be issued see CNifConfigurationControl::StoreClientStatus functinon in NIFConfigurationControl.cpp

Parameters

TRequestStatus & aStatus- active object iStatus to complete

Cancel(TUint, TRequestStatus &)

voidCancel(TUintaOpMask,
TRequestStatus &aStatus
)

Cancels an asynchronous operation. The operation to be canceled is specified in the mask.

Parameters

TUint aOpMaskSpecifies the operation to be canceled
TRequestStatus & aStatusactive object iStatus to complete

Configure(const TDes8 &, TRequestStatus &)

voidConfigure(const TDes8 &aInfo,
TRequestStatus &aStatus
)

The RConfigDaemon::Connect method

Connect the Handle to the Server Must be called before all other methods except Version()

Parameters

const TDes8 & aInfoThe startup info for the connection
TRequestStatus & aStatusThe request status of the active object to be completed

Deregister(TInt, TDes8 *, TRequestStatus &)

voidDeregister(TIntaCause,
TDes8 *aActionStatus,
TRequestStatus &aStatus
)

Issues a deregistration request.

Parameters

TInt aCauseSpecifies what caused the deregister call (idle timer or Stop call)
TDes8 * aActionStatusReturns the action to be executed by Nifman (shut down the NIF and the agent or keep them up)
TRequestStatus & aStatusActive object iStatus to complete

Ioctl(TUint, TUint, TRequestStatus &, TDes8 *)

voidIoctl(TUintaOptionLevel,
TUintaOptionName,
TRequestStatus &aStatus,
TDes8 *aDes = NULL
)

Issues an asynchronous command. Various option's levels & names could be supported by the loaded daemon

Parameters

TUint aOptionLevel- Control level
TUint aOptionName- Name of control request
TRequestStatus & aStatus- active object iStatus to complete
TDes8 * aDes = NULL

LinkLayerDown()

voidLinkLayerDown()

Informs the daemon of the start of link layer renegotiation.

LinkLayerUp()

voidLinkLayerUp()

Informs the daemon of the completion of link layer renegotiation.

ProgressNotification(TDaemonProgressBuf &, TRequestStatus &)

voidProgressNotification(TDaemonProgressBuf &aProgress,
TRequestStatus &aStatus
)

Issues a progress notification request. This request will be completed when the daemon has something to report.

Parameters

TDaemonProgressBuf & aProgressReturns the progress information
TRequestStatus & aStatusActive object iStatus to complete

Version()

TVersion Version()const

The RConfigDaemon::Version method

Extract the version of the API