Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:


Construction and destruction


TRemConAddress()

IMPORT_C TRemConAddress();

Description

Constructor.


~TRemConAddress()

IMPORT_C ~TRemConAddress();

Description

Destructor.

[Top]


Member functions


IsNull()const

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()const

IMPORT_C TUid BearerUid() const;

Description

Return value

TUid

The bearer UID.


Addr()

IMPORT_C TBuf8< KMaxAddrSize >& Addr();

Description

Return value

TBuf8< TRemConAddress::KMaxAddrSize > &

The bearer-specific address information.


Addr()const

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

Description

Return value

const TBuf8< TRemConAddress::KMaxAddrSize > &

The bearer-specific address information.


operator==(const TRemConAddress &)const

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=0x1c;

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.