ESock::RConnPrefList Class Reference

class ESock::RConnPrefList

This class will be used as a handle to TConnPrefList. During construction of the stack this class will be sent in messages as TConnPrefList cannot be sent in every message. The overhead of this would be too great (as it would have to be serialized and deserialized every time the message was sent). A reference cannot be sent as this would not work across processes.

Public Member Functions
RConnPrefList()
IMPORT_C voidAppendL(SMetaDataECom *)
IMPORT_C voidClose()
IMPORT_C TIntCount()
IMPORT_C voidOpen(RConnPrefList &)
IMPORT_C voidRemove(TInt)
RConnPrefList::TIter< TYPE >getIter()
IMPORT_C SMetaData *operator[](TInt)
Private Member Functions
TInt Open(TConnPrefList *)
Private Attributes
TConnPrefList *iObject

Constructor & Destructor Documentation

RConnPrefList()

IMPORT_CRConnPrefList()

Member Functions Documentation

AppendL(SMetaDataECom *)

IMPORT_C voidAppendL(SMetaDataECom *aFamily)
Append a preference to connection preferences list
leave
System wide error code.

Parameters

SMetaDataECom * aFamilyPreference to append

Close()

IMPORT_C voidClose()

Close the RConnPrefList object

Count()

IMPORT_C TIntCount()

Open(RConnPrefList &)

IMPORT_C voidOpen(RConnPrefList &aPrefList)

Open and initialise with data from passed in RConnPrefList

Parameters

RConnPrefList & aPrefListRConnPrefList to copy data from. The copy is shallow.

Open(TConnPrefList *)

TInt Open(TConnPrefList *aObject)[private]

Parameters

TConnPrefList * aObject

Remove(TInt)

IMPORT_C voidRemove(TIntaIndex)

Remove an object from the RConnPrefList

Parameters

TInt aIndexthe index of the object to remove

getIter()

RConnPrefList::TIter< TYPE >getIter()[inline]

Create an iterator for template parameter TYPE. The iterator will be able to iterate over all the members of the RConnPrefList which match the type specified.

operator[](TInt)

IMPORT_C SMetaData *operator[](TIntaIndex)

Parameters

TInt aIndexindex of requested object

Member Data Documentation

TConnPrefList * iObject

TConnPrefList *iObject[private]