CAgentBase Class Reference
class CAgentBase : public CNifAgentBase |
Base class for agents that access commdb and use overrides
since v9.5. Use MCPRs/CPRs/SCPRs instead of agents.
Protected Member Functions |
---|
| CAgentBase() |
IMPORT_C void | ConstructL() |
IMPORT_C TInt | DoCheckReadCapability(const TDesC &, const RMessagePtr2 *) |
IMPORT_C TInt | DoCheckWriteCapability(const TDesC &, const RMessagePtr2 *) |
IMPORT_C TInt | DoReadBool(const TDesC &, TBool &, const RMessagePtr2 *) |
IMPORT_C TInt | DoReadDes(const TDesC &, TDes8 &, const RMessagePtr2 *) |
IMPORT_C TInt | DoReadDes(const TDesC &, TDes16 &, const RMessagePtr2 *) |
IMPORT_C TInt | DoReadInt(const TDesC &, TUint32 &, const RMessagePtr2 *) |
IMPORT_C HBufC * | DoReadLongDesLC(const TDesC &, const RMessagePtr2 *) |
IMPORT_C TInt | DoWriteBool(const TDesC &, TBool, const RMessagePtr2 *) |
IMPORT_C TInt | DoWriteDes(const TDesC &, const TDesC8 &, const RMessagePtr2 *) |
IMPORT_C TInt | DoWriteDes(const TDesC &, const TDesC16 &, const RMessagePtr2 *) |
IMPORT_C TInt | DoWriteInt(const TDesC &, TUint32, const RMessagePtr2 *) |
Inherited Functions |
---|
| CBase::CBase() |
| CBase::Delete(CBase *) |
| CBase::Extension_(TUint,TAny *&,TAny *) |
| CBase::operator new(TUint) |
| CBase::operator new(TUint,TAny *) |
| CBase::operator new(TUint,TLeave) |
| CBase::operator new(TUint,TLeave,TUint) |
| CBase::operator new(TUint,TUint) |
| CBase::~CBase() |
| CNifAgentBase::CNifAgentBase() |
| CNifAgentBase::CancelConnect() |
| CNifAgentBase::CheckReadCapability(const TDesC &,const RMessagePtr2 *) |
| CNifAgentBase::CheckWriteCapability(const TDesC &,const RMessagePtr2 *) |
| CNifAgentBase::Connect(TAgentConnectType) |
| CNifAgentBase::Connect(TAgentConnectType,CStoreableOverrideSettings *) |
| CNifAgentBase::Control(TUint,TUint,TDes8 &) |
| CNifAgentBase::Control(TUint,TUint,TDes8 &,const RProcess &) |
| CNifAgentBase::Disconnect(TInt) |
| CNifAgentBase::GetExcessData(TDes8 &) |
| CNifAgentBase::GetLastError(TInt &) |
| CNifAgentBase::IncomingConnectionReceived() |
| CNifAgentBase::Info(TNifAgentInfo &)const |
| CNifAgentBase::IsReconnect()const |
| CNifAgentBase::Notification(TNifToAgentEventType,TAny *) |
| CNifAgentBase::ReadBool(const TDesC &,TBool &) |
| CNifAgentBase::ReadBool(const TDesC &,TBool &,const RMessagePtr2 *) |
| CNifAgentBase::ReadDes(const TDesC &,TDes16 &) |
| CNifAgentBase::ReadDes(const TDesC &,TDes16 &,const RMessagePtr2 *) |
| CNifAgentBase::ReadDes(const TDesC &,TDes8 &) |
| CNifAgentBase::ReadDes(const TDesC &,TDes8 &,const RMessagePtr2 *) |
| CNifAgentBase::ReadInt(const TDesC &,TUint32 &) |
| CNifAgentBase::ReadInt(const TDesC &,TUint32 &,const RMessagePtr2 *) |
| CNifAgentBase::ReadLongDesLC(const TDesC &) |
| CNifAgentBase::ReadLongDesLC(const TDesC &,const RMessagePtr2 *) |
| CNifAgentBase::WriteBool(const TDesC &,TBool) |
| CNifAgentBase::WriteBool(const TDesC &,TBool,const RMessagePtr2 *) |
| CNifAgentBase::WriteDes(const TDesC &,const TDesC16 &) |
| CNifAgentBase::WriteDes(const TDesC &,const TDesC16 &,const RMessagePtr2 *) |
| CNifAgentBase::WriteDes(const TDesC &,const TDesC8 &) |
| CNifAgentBase::WriteDes(const TDesC &,const TDesC8 &,const RMessagePtr2 *) |
| CNifAgentBase::WriteInt(const TDesC &,TUint32) |
| CNifAgentBase::WriteInt(const TDesC &,TUint32,const RMessagePtr2 *) |
Constructor & Destructor Documentation
CAgentBase()
IMPORT_C | CAgentBase | ( | ) | [protected] |
~CAgentBase()
IMPORT_C | ~CAgentBase | ( | ) | [virtual] |
Member Functions Documentation
Authenticate(TDes &, TDes &)
IMPORT_C void | Authenticate | ( | TDes & | aUsername, |
| TDes & | aPassword |
| ) | [virtual] |
AuthenticateCb(TAny *)
TInt
| AuthenticateCb | ( | TAny * | aThisPtr | ) | [private, static] |
CancelAuthenticate()
IMPORT_C void | CancelAuthenticate | ( | ) | [virtual] |
CancelReconnect()
IMPORT_C void | CancelReconnect | ( | ) | [virtual] |
CancelRequestNotificationOfServiceChange(MAgentSessionNotify *)
ConstructL()
IMPORT_C void | ConstructL | ( | ) | [protected] |
DoCheckReadCapability(const TDesC &, const RMessagePtr2 *)
IMPORT_C TInt | DoCheckReadCapability | ( | const TDesC & | aField, |
| const RMessagePtr2 * | aMessage |
| ) | [protected, virtual] |
Check that a client has the required capabilties to read a field
Parameters
const TDesC & aField | the name of the field to read |
const RMessagePtr2 * aMessage | Message containing the capabilities of the client |
DoCheckWriteCapability(const TDesC &, const RMessagePtr2 *)
IMPORT_C TInt | DoCheckWriteCapability | ( | const TDesC & | aField, |
| const RMessagePtr2 * | aMessage |
| ) | [protected, virtual] |
Check that a client has the required capabilties to write a field
Parameters
const TDesC & aField | the name of the field to write |
const RMessagePtr2 * aMessage | Message containing the capabilities of the client |
DoReadBool(const TDesC &, TBool &, const RMessagePtr2 *)
Read an boolean field from the connection settings provider
Parameters
const TDesC & aField | The name of the field to read |
TBool & aValue | On return, contains the value of the field read |
const RMessagePtr2 * aMessage | |
DoReadDes(const TDesC &, TDes8 &, const RMessagePtr2 *)
Read a 8-bit descriptor field from the connection settings provider
Parameters
const TDesC & aField | The name of the field to read |
TDes8 & aValue | On return, contains the value of the field read |
const RMessagePtr2 * aMessage | |
DoReadDes(const TDesC &, TDes16 &, const RMessagePtr2 *)
Write an 8-bit descriptor field to the connection settings provider
Parameters
const TDesC & aField | The name of the field to which to write |
TDes16 & aValue | The value to be written to the field |
const RMessagePtr2 * aMessage | |
DoReadInt(const TDesC &, TUint32 &, const RMessagePtr2 *)
Read an integer field from the connection settings provider
Parameters
const TDesC & aField | The name of the field to read |
TUint32 & aValue | On return, contains the value of the field read |
const RMessagePtr2 * aMessage | |
DoReadLongDesLC(const TDesC &, const RMessagePtr2 *)
Read a 16-bit descriptor field of unknown size from the connection settings provider
- Since
- v7.0s
DoWriteBool(const TDesC &, TBool, const RMessagePtr2 *)
Write an boolean field to the connection settings provider
Parameters
const TDesC & aField | The name of the field to which to write |
TBool aValue | The value to be written to the field |
const RMessagePtr2 * aMessage | |
DoWriteDes(const TDesC &, const TDesC8 &, const RMessagePtr2 *)
Read a 16-bit descriptor field from the connection settings provider
Parameters
const TDesC & aField | The name of the field to read |
const TDesC8 & aValue | On return, contains the value of the field read |
const RMessagePtr2 * aMessage | |
DoWriteDes(const TDesC &, const TDesC16 &, const RMessagePtr2 *)
Write an 16-bit descriptor field to the connection settings provider
Parameters
const TDesC & aField | The name of the field to which to write |
const TDesC16 & aValue | The value to be written to the field |
const RMessagePtr2 * aMessage | |
DoWriteInt(const TDesC &, TUint32, const RMessagePtr2 *)
Write an integer field to the connection settings provider
Parameters
const TDesC & aField | The name of the field to which to write |
TUint32 aValue | The value to be written to the field |
const RMessagePtr2 * aMessage | |
IsActive()
IMPORT_C TBool | IsActive | ( | ) | const [virtual] |
MDPOAuthenticateComplete(TInt)
IMPORT_C void | MDPOAuthenticateComplete | ( | TInt | aError | ) | [virtual] |
Reconnect()
IMPORT_C void | Reconnect | ( | ) | [virtual] |
ReconnectComplete(TInt)
IMPORT_C void | ReconnectComplete | ( | TInt | aError | ) | [virtual] |
RequestNotificationOfServiceChangeL(MAgentSessionNotify *)
SelectComplete(const TDesC &)
IMPORT_C void | SelectComplete | ( | const TDesC & | aName | ) | [virtual] |
SelectComplete(TInt)
IMPORT_C void | SelectComplete | ( | TInt | aError | ) | [virtual] |
ServiceChangeNotification(TUint32, const TDesC &)
IMPORT_C void | ServiceChangeNotification | ( | TUint32 | aId, |
| const TDesC & | aType |
| ) | [virtual] |
SetConnectionSettingsL(const TConnectionSettings &)
SetOverridesL(CStoreableOverrideSettings *)
Member Data Documentation
CAsyncCallBack * iAuthenticateCallback
TInt
iAuthenticateError
TInt
| iAuthenticateError | [protected] |
CCommsDbAccess * iDatabase
CDialogProcessor * iDlgPrc
CStoreableOverrideSettings * iOverrides
RPointerArray< MAgentSessionNotify > iServiceChangeNotification
TConnectionSettings
iSettings
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.