TRemConAddress Class Reference

class TRemConAddress

Represents a single remote device address in terms of the bearer used to connect to the device and some bearer-specific connection information.

Public Member Functions
TRemConAddress()
~TRemConAddress()
IMPORT_C TBuf8< KMaxAddrSize > &Addr()
IMPORT_C const TBuf8< KMaxAddrSize > &Addr()
IMPORT_C TUid &BearerUid()
IMPORT_C TUidBearerUid()
IMPORT_C TBoolIsNull()
IMPORT_C TBooloperator==(const TRemConAddress &)
Public Attributes
const TUintKMaxAddrSize
TSglQueLink iLink
Private Attributes
TBuf8< KMaxAddrSize >iAddr
TUid iBearerUid
TUint32 iPad

Constructor & Destructor Documentation

TRemConAddress()

IMPORT_CTRemConAddress()

Constructor.

~TRemConAddress()

IMPORT_C~TRemConAddress()

Destructor.

Member Functions Documentation

Addr()

IMPORT_C TBuf8< KMaxAddrSize > &Addr()

The bearer-specific address information.

Addr()

IMPORT_C const TBuf8< KMaxAddrSize > &Addr()const

The bearer-specific address information.

BearerUid()

IMPORT_C TUid &BearerUid()

The bearer UID. Set this to null to make the address null.

BearerUid()

IMPORT_C TUidBearerUid()const

The bearer UID.

IsNull()

IMPORT_C TBoolIsNull()const

The address is null if the bearer UID is the null UID. ETrue if the address is invalid/null, EFalse otherwise.

operator==(const TRemConAddress &)

IMPORT_C TBooloperator==(const TRemConAddress &aRhs)const

Equality operator. ETrue if both bearer UIDs and sets of bearer-specific information match, EFalse otherwise.

Parameters

const TRemConAddress & aRhs

Member Data Documentation

const TUint KMaxAddrSize

const TUintKMaxAddrSize[static]

This is maximum supported size for a bearer-specific remote device address (cf. TSockAddr).

TBuf8< KMaxAddrSize > iAddr

TBuf8< KMaxAddrSize >iAddr[private]

Buffer for bearer-specific connection address information.

TUid iBearerUid

TUid iBearerUid[private]

Implementation UID of bearer (ECOM) plugin.

TSglQueLink iLink

TSglQueLink iLink

Link between elements of this type in a TSglQue.

TUint32 iPad

TUint32 iPad[private]

Pad for BC-friendly future change.