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 TConnSnapPref RConnection::Start
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:@30 | |
TConnPref:@33 |
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.
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. |
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.