| class CAgentBase : public CNifAgentBase |
Base class for agents that access commdb and use overrides
since v9.5. Use MCPRs/CPRs/SCPRs instead of agents.
| Public Member Functions | |
|---|---|
| ~CAgentBase() | |
| IMPORT_C void | Authenticate(TDes &, TDes &) |
| IMPORT_C void | CancelAuthenticate() |
| IMPORT_C void | CancelReconnect() |
| IMPORT_C void | CancelRequestNotificationOfServiceChange(MAgentSessionNotify *) |
| IMPORT_C TConnectionSettings & | ConnectionSettingsL() |
| IMPORT_C TBool | IsActive() |
| IMPORT_C void | MDPOAuthenticateComplete(TInt) |
| IMPORT_C CStoreableOverrideSettings * | OverridesL() |
| IMPORT_C void | Reconnect() |
| IMPORT_C void | ReconnectComplete(TInt) |
| IMPORT_C void | RequestNotificationOfServiceChangeL(MAgentSessionNotify *) |
| IMPORT_C void | SelectComplete(const TDesC &) |
| IMPORT_C void | SelectComplete(TInt) |
| IMPORT_C void | ServiceChangeNotification(TUint32, const TDesC &) |
| IMPORT_C void | SetConnectionSettingsL(const TConnectionSettings &) |
| IMPORT_C void | SetOverridesL(CStoreableOverrideSettings *) |
| 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 *) |
| Private Member Functions | |
|---|---|
| TInt | AuthenticateCb(TAny *) |
| CDialogProcessor * | DialogProcessor() |
| Inherited Attributes | |
|---|---|
| CNifAgentBase::iNotify | |
| TInt | AuthenticateCb | ( | TAny * | aThisPtr | ) | [private, static] |
| TAny * aThisPtr |
| IMPORT_C void | CancelRequestNotificationOfServiceChange | ( | MAgentSessionNotify * | aSession | ) | [virtual] |
| MAgentSessionNotify * aSession |
| IMPORT_C TInt | DoCheckReadCapability | ( | const TDesC & | aField, |
| const RMessagePtr2 * | aMessage | |||
| ) | [protected, virtual] | |||
Check that a client has the required capabilties to read a field KErrNone, if the client has the required capabilites, otherwise one of the standard Symbian OS error codes
| const TDesC & aField | the name of the field to read |
| const RMessagePtr2 * aMessage | Message containing the capabilities of the client |
| IMPORT_C TInt | DoCheckWriteCapability | ( | const TDesC & | aField, |
| const RMessagePtr2 * | aMessage | |||
| ) | [protected, virtual] | |||
Check that a client has the required capabilties to write a field KErrNone, if the client has the required capabilites, otherwise one of the standard Symbian OS error codes
| const TDesC & aField | the name of the field to write |
| const RMessagePtr2 * aMessage | Message containing the capabilities of the client |
| IMPORT_C TInt | DoReadBool | ( | const TDesC & | aField, |
| TBool & | aValue, | |||
| const RMessagePtr2 * | aMessage | |||
| ) | [protected, virtual] | |||
Read an boolean field from the connection settings provider KErrNone, if successful; otherwise one of the standard Symbian OS error codes
| const TDesC & aField | The name of the field to read |
| TBool & aValue | On return, contains the value of the field read |
| const RMessagePtr2 * aMessage |
| IMPORT_C TInt | DoReadDes | ( | const TDesC & | aField, |
| TDes8 & | aValue, | |||
| const RMessagePtr2 * | aMessage | |||
| ) | [protected, virtual] | |||
Read a 8-bit descriptor field from the connection settings provider KErrNone, if successful; otherwise one of the standard Symbian OS error codes
| const TDesC & aField | The name of the field to read |
| TDes8 & aValue | On return, contains the value of the field read |
| const RMessagePtr2 * aMessage |
| IMPORT_C TInt | DoReadDes | ( | const TDesC & | aField, |
| TDes16 & | aValue, | |||
| const RMessagePtr2 * | aMessage | |||
| ) | [protected, virtual] | |||
Write an 8-bit descriptor field to the connection settings provider KErrNone, if successful; otherwise one of the standard Symbian OS error codes
| 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 |
| IMPORT_C TInt | DoReadInt | ( | const TDesC & | aField, |
| TUint32 & | aValue, | |||
| const RMessagePtr2 * | aMessage | |||
| ) | [protected, virtual] | |||
Read an integer field from the connection settings provider KErrNone, if successful; otherwise one of the standard Symbian OS error codes
| const TDesC & aField | The name of the field to read |
| TUint32 & aValue | On return, contains the value of the field read |
| const RMessagePtr2 * aMessage |
| IMPORT_C HBufC * | DoReadLongDesLC | ( | const TDesC & | aField, |
| const RMessagePtr2 * | aMessage | |||
| ) | [protected, virtual] | |||
Read a 16-bit descriptor field of unknown size from the connection settings provider The value of the field read
v7.0s
| const TDesC & aField | The name of the field to read |
| const RMessagePtr2 * aMessage |
| IMPORT_C TInt | DoWriteBool | ( | const TDesC & | aField, |
| TBool | aValue, | |||
| const RMessagePtr2 * | aMessage | |||
| ) | [protected, virtual] | |||
Write an boolean field to the connection settings provider KErrNone, if successful; otherwise one of the standard Symbian OS error codes
| 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 |
| IMPORT_C TInt | DoWriteDes | ( | const TDesC & | aField, |
| const TDesC8 & | aValue, | |||
| const RMessagePtr2 * | aMessage | |||
| ) | [protected, virtual] | |||
Read a 16-bit descriptor field from the connection settings provider KErrNone, if successful; otherwise one of the standard Symbian OS error codes
| 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 |
| IMPORT_C TInt | DoWriteDes | ( | const TDesC & | aField, |
| const TDesC16 & | aValue, | |||
| const RMessagePtr2 * | aMessage | |||
| ) | [protected, virtual] | |||
Write an 16-bit descriptor field to the connection settings provider KErrNone, if successful; otherwise one of the standard Symbian OS error codes
| 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 |
| IMPORT_C TInt | DoWriteInt | ( | const TDesC & | aField, |
| TUint32 | aValue, | |||
| const RMessagePtr2 * | aMessage | |||
| ) | [protected, virtual] | |||
Write an integer field to the connection settings provider KErrNone, if successful; otherwise one of the standard Symbian OS error codes
| 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 |
| IMPORT_C void | MDPOAuthenticateComplete | ( | TInt | aError | ) | [virtual] |
| TInt aError |
| IMPORT_C void | RequestNotificationOfServiceChangeL | ( | MAgentSessionNotify * | aSession | ) | [virtual] |
| MAgentSessionNotify * aSession |
| IMPORT_C void | SelectComplete | ( | const TDesC & | aName | ) | [virtual] |
| const TDesC & aName |
| IMPORT_C void | ServiceChangeNotification | ( | TUint32 | aId, |
| const TDesC & | aType | |||
| ) | [virtual] | |||
| IMPORT_C void | SetConnectionSettingsL | ( | const TConnectionSettings & | aSettings | ) | [virtual] |
| const TConnectionSettings & aSettings |
| IMPORT_C void | SetOverridesL | ( | CStoreableOverrideSettings * | aOverrideSettings | ) | [virtual] |
| CStoreableOverrideSettings * aOverrideSettings |
| RPointerArray< MAgentSessionNotify > | iServiceChangeNotification | [protected] |