Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: remconaddress.h
Link against: remcontypes.lib

Class TRemConAddress

class TRemConAddress;

Description

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

Members

Defined in TRemConAddress:
Addr(), Addr(), BearerUid(), BearerUid(), IsNull(), KMaxAddrSize, TRemConAddress(), iLink, operator==(), ~TRemConAddress()


Construction and destruction


TRemConAddress()

IMPORT_C TRemConAddress();

Description

Constructor.


~TRemConAddress()

IMPORT_C ~TRemConAddress();

Description

Destructor.

[Top]


Member functions


IsNull()

IMPORT_C TBool IsNull() const;

Description

The address is null if the bearer UID is the null UID.

Return value

TBool

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


BearerUid()

IMPORT_C TUid &BearerUid();

Description

Return value

TUid &

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


BearerUid()

IMPORT_C TUid BearerUid() const;

Description

Return value

TUid

The bearer UID.


Addr()

IMPORT_C TBuf8< KMaxAddrSize > &Addr();

Description

Return value

TBuf8< KMaxAddrSize > &

The bearer-specific address information.


Addr()

IMPORT_C const TBuf8< KMaxAddrSize > &Addr() const;

Description

Return value

const TBuf8< KMaxAddrSize > &

The bearer-specific address information.


operator==()

IMPORT_C TBool operator==(const TRemConAddress &aRhs) const;

Description

Equality operator.

Parameters

const TRemConAddress &aRhs

Return value

TBool

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

[Top]


Member data


KMaxAddrSize

const TUint KMaxAddrSize;

Description

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


iLink

TSglQueLink iLink;

Description

Link between elements of this type in a TSglQue.