Location:
CommDbConnPref.h
Link against: commdb.lib
class TCommDbMultiConnPref : public TConnPref;
Description
Derivation
TBuf8< KMaxConnPrefSize > - No description.
TConnPref - Overrides the connection preferences
TCommDbMultiConnPref - (No abstract)
Members
Defined in TCommDbMultiConnPref:
Cast(), GetPreference(), PrefPtr(), SetConnectionAttempts(), SetPreference(), TCommDbMultiConnPref(), Version()
Inherited from TConnPref:
EConnPrefCommDb,
EConnPrefCommDbMulti,
EConnPrefIdList,
EConnPrefSip,
EConnPrefSnap,
EConnPrefUnknown,
ExtensionId(),
GetUserLen(),
SetExtensionId(),
SetUserLen(),
UserPtr(),
anonymous
IMPORT_C TCommDbMultiConnPref();
Description
Constructor
static IMPORT_C TVersion Version();
Description
Returns the version number of this class
Return value
IMPORT_C TInt SetPreference(TInt aIndex, const TCommDbConnPref &aPref);
Description
Sets a connection preference to the array
Parameters
Return value
TInt
|
KErrNone if successful else KErrArgument
|
|
IMPORT_C TInt GetPreference(TInt aIndex, TCommDbConnPref &aPref);
Description
Retrieves a connection preference from the array
Parameters
Return value
TInt
|
KErrNone if successful else KErrArgument
|
|
IMPORT_C void SetConnectionAttempts(TInt aNumAttempts);
Description
Sets the number of times to attempt the connection
Parameters
TInt aNumAttempts |
Number of attempts to be made for a connection
|
|
static inline TCommDbMultiConnPref &Cast(const TConnPref &aPref);
Description
Casts the TConnPref object to TCommDbMultiConnPref
Parameters
const TConnPref &aPref |
Connection preferences.
|
|
Return value
protected: inline SCommDbMultiConnPref *PrefPtr() const;
Description
Return value