Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: ir_sock.h
Link against: irda.lib

Class TIASQuery

class TIASQuery : public TBuf8< KMaxQueryStringLength >;

Description

An Information Access Service (IAS) query to another device's IAS server.

Derivation

Members

Defined in TIASQuery:
Get(), Set(), TIASQuery(), TIASQuery()

See also:


Construction and destruction


TIASQuery()

IMPORT_C TIASQuery(const TDesC8 &aClass, const TDesC8 &aAttribute, TUint aRemoteDevAddr);

Description

Constructs a new IAS query taking the class name, the attribute and the remote device address.

Parameters

const TDesC8 &aClass

The IAS query class name.

const TDesC8 &aAttribute

The IAS query attribute.

TUint aRemoteDevAddr

The 32 bit address of the remote device to be queried. This is needed because the underlying IrLAP connection may not yet have been established.


TIASQuery()

IMPORT_C TIASQuery();

Description

Constructs an empty IAS query object.

The class name, the attribute and the remote device name must be set before this query object can be used.

[Top]


Member functions


Set()

IMPORT_C void Set(const TDesC8 &aClass, const TDesC8 &aAttribute, TUint aRemoteDevAddr);

Description

Changes the class name, the attribute and the remote device address of the IAS query.

Parameters

const TDesC8 &aClass

The IAS query class name.

const TDesC8 &aAttribute

The IAS query attribute.

TUint aRemoteDevAddr

The 32 bit address of the remote device to be queried.


Get()

IMPORT_C void Get(TDes8 &aClass, TDes8 &aAttribute, TUint &aRemoteDevAddr);

Description

Retrieves the detail of this IAS query.

Parameters

TDes8 &aClass

On return, contains the IAS query class name.

TDes8 &aAttribute

On return, contains the IAS query attribute.

TUint &aRemoteDevAddr

On return, contains the 32 bit address of the remote device to be queried.