class TConnPrefList : public TConnPref |
This class is used to send a collection of connection preferences expressed as SMetaData objects between RConnection and Comms server which uses them to construct it stack.
Each tier will look up the preferences it understands, act of them, consume them if applicable (see individual preferences) and pass the rest down to the next tier.
RConnection conn; User::LeaveIfError(conn.Open(sockSvr)); CleanupClosePushL(conn); TConnPrefList* prefs = TConnPrefList::NewL(); CleanupStack::PushL(prefs); TConnAPPref* APPref = TConnAPPref::NewL(aPara->iAp); CleanupStack::PushL(APPref); prefs->AppendL(APPref); error = conn.Start(pref);
TConnAPPref
TConnAutoStartPref
Public Member Functions | |
---|---|
TConnPrefList() | |
~TConnPrefList() | |
IMPORT_C void | AppendL(SMetaDataECom *) |
IMPORT_C TInt | Count() |
IMPORT_C TInt | Length() |
IMPORT_C TInt | Load(TDesC8 &) |
IMPORT_C TConnPrefList * | LoadL(TDesC8 &) |
IMPORT_C TConnPrefList * | NewL() |
IMPORT_C void | Remove(TInt) |
IMPORT_C TInt | Store(TDes8 &) |
IMPORT_C SMetaData * | operator[](TInt) |
Inherited Enumerations | |
---|---|
TConnPref:@360 |
Private Attributes | |
---|---|
Meta::RMetaDataEComContainer | iPrefs |
Inherited Attributes | |
---|---|
TBuf8< KMaxConnPrefSize >::iBuf | |
TDes8::__DECLARE_TEST | |
TDes8::iMaxLength |
IMPORT_C void | AppendL | ( | SMetaDataECom * | aFamily | ) |
SMetaDataECom * aFamily |
IMPORT_C SMetaData * | operator[] | ( | TInt | anIndex | ) |
Gets a non-const reference to a single data item within this descriptor's data.
A non-const reference to the data item at the specified position.
panic
USER 21, if anIndex is negative or is greater than or equal to the current length of this descriptor.
TInt anIndex | The position of the data item within this descriptor's data. This is an offset value; a zero value refers to the leftmost data position. |