Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

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

See also:


Construction and destruction


TIASQuery(const TDesC8 &,const TDesC8 &,TUint)

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(const TDesC8 &,const TDesC8 &,TUint)

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(TDes8 &,TDes8 &,TUint &)

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.