Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: bt_sock.h
Link against: bluetooth.lib

Class TInquirySockAddr

TInquirySockAddr

Support

Supported from 6.1

Description

Socket address class used for remote device inquiries.

Clients construct objects of this type to specify an RHostResolver::GetByAddress() inquiry request. The handling of the TInquirySockAddr object passed to this GetByAddress() varies depending on the values of the flags set through SetAction(). IAC, service and device class properties are only used when the KHostResInquiry flag is set.

Derivation

TBTSockAddrBase class for Bluetooth socket address classes
TBuf8This is a descriptor class which provides a buffer of fixed length for containing, accessing and manipulating TUint8 data
TBufBase8Base class used in the derivation of TBuf8
TDes8Modifiable 8-bit descriptor; abstract class
TDesC8Abstract base class for 8 bit non-modifiable descriptors
TInquirySockAddrSocket address class used for remote device inquiries
TSockAddrRepresents an end point address

Defined in TInquirySockAddr:
Action(), Cast(), IAC(), MajorClassOfDevice(), MajorServiceClass(), MinorClassOfDevice(), SetAction(), SetIAC(), SetMajorClassOfDevice(), SetMajorServiceClass(), SetMinorClassOfDevice(), TInquirySockAddr()

Inherited from TBTSockAddr:
BTAddr(), SetBTAddr()

Inherited from TBuf8:
operator=()

Inherited from TDes8:
Append(), AppendFill(), AppendFormat(), AppendFormatList(), AppendJustify(), AppendNum(), AppendNumFixedWidth(), AppendNumFixedWidthUC(), AppendNumUC(), Capitalize(), Collate(), Copy(), CopyC(), CopyCP(), CopyF(), CopyLC(), CopyUC(), Delete(), Fill(), FillZ(), Fold(), Format(), FormatList(), Insert(), Justify(), LowerCase(), MaxLength(), MaxSize(), Num(), NumFixedWidth(), NumFixedWidthUC(), NumUC(), PtrZ(), Repeat(), Replace(), SetLength(), SetMax(), Swap(), Trim(), TrimAll(), TrimLeft(), TrimRight(), UpperCase(), Zero(), ZeroTerminate(), operator+=(), operator=, operator[]()

Inherited from TDesC8:
Alloc(), AllocL(), AllocLC(), Compare(), CompareC(), CompareF(), Find(), FindC(), FindF(), Left(), Length(), Locate(), LocateF(), LocateReverse(), LocateReverseF(), Match(), MatchC(), MatchF(), Mid(), Ptr(), Right(), Size(), operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=()

Inherited from TSockAddr:
CmpPort(), Family(), GetUserLen(), Port(), SetFamily(), SetPort(), SetUserLen(), UserPtr()

See also:


Constructors


TInquirySockAddr()

TInquirySockAddr();

Description

Default constructor.


TInquirySockAddr()

TInquirySockAddr(const TSockAddr& aAddr);

Description

Copy constructor.

Parameters

const TSockAddr &aAddr

Socket address to copy

[Top]


Miscellaneous


Cast()

static TInquirySockAddr& Cast(const TSockAddr &aAddr);

Description

Casts a TSockAddr to a TInquirySockAddr.

Parameters

const TSockAddr &aAddr

Socket address to cast

Return value

TInquirySockAddr&

TInquirySockAddr cast from aAddr


Action()

TUint8 Action() const;

Description

Gets the action flags set to use with the host resolver.

Return value

TUint8

Bitmask of action flags

See also:


SetAction()

void SetAction(TUint8 aFlags);

Description

Sets the action flags set to use with the host resolver.

These flags determine how the host resolver handles calls to RHostResolver::GetByAddress(). Note the following behaviour for that function according to which flags are set through SetAction():

Parameters

TUint8 aFlags

Bitmask of action flags

See also:

[Top]


Address properties


MajorServiceClass()

TUint16 MajorServiceClass() const;

Description

Gets the major service class.

Return value

TUint16

Major service class


SetMajorServiceClass()

void SetMajorServiceClass(TUint16 aClass);

Description

Sets the major service class.

Parameters

TUint16 aClass

Major service class


MajorClassOfDevice()

TUint8 MajorClassOfDevice() const;

Description

Gets the major device class.

Return value

TUint8

Major device class


SetMajorClassOfDevice()

void SetMajorClassOfDevice(TUint8 aMajorClassOfDevice);

Description

Sets the major device class.

Parameters

TUint8 aMajorClassOfDevice

Major device class


MinorClassOfDevice()

TUint8 MinorClassOfDevice() const;

Description

Gets the minor device class.

Return value

TUint8

Minor device class


SetMinorClassOfDevice()

void SetMinorClassOfDevice(TUint8 aMinorClassOfDevice);

Description

Sets the minor device class.

Parameters

TUint8 aMinorClassOfDevice

Minor device class


IAC()

TUint IAC() const;

Description

Gets the Inquiry Access Code (IAC).

Return value

TUint

IAC

See also:


SetIAC()

void SetIAC(const TUint aIAC);

Description

Sets the Inquiry Access Code (IAC).

This is only used when the KHostResInquiry flag set with SetAction().

Parameters

const TUint aIAC

IAC

See also: