CBTEngSdpQuery Class Reference

class CBTEngSdpQuery : public CBase

Class CBTEngSdpQuery

?more_complete_description

btengdiscovery.lib
Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CBTEngSdpQuery(MBTEngSdpResultReceiver *)

CBTEngSdpQuery ( MBTEngSdpResultReceiver * aNotifier ) [private]

C++ default constructor

Parameters

MBTEngSdpResultReceiver * aNotifier

~CBTEngSdpQuery()

~CBTEngSdpQuery ( ) [virtual]

Destructor

Member Functions Documentation

AttributeRequestComplete(TSdpServRecordHandle, TInt)

void AttributeRequestComplete ( TSdpServRecordHandle aHandle,
TInt aError
) [virtual]

From MSdpAgentNotifier . Called when an attribute request wants to signal the completion of a attribute request.

Since
S60 v3.2

Parameters

TSdpServRecordHandle aHandle Service record for which the query was made.
TInt aError An error.

AttributeRequestResult(TSdpServRecordHandle, TSdpAttributeID, CSdpAttrValue *)

void AttributeRequestResult ( TSdpServRecordHandle aHandle,
TSdpAttributeID aAttrID,
CSdpAttrValue * aAttrValue
) [virtual]

From MSdpAgentNotifier . Called when an attribute request wants to pass up a result.

Since
S60 v3.2

Parameters

TSdpServRecordHandle aHandle Service record for which the query was made.
TSdpAttributeID aAttrID ID of the attribute obtained.
CSdpAttrValue * aAttrValue

Cancel()

void Cancel ( )

?description

Since
S60 v3.2

CheckSdpAgentL(const TBTDevAddr &)

void CheckSdpAgentL ( const TBTDevAddr & aAddr ) [private]

Helper function to check that

Since
S60 v3.2

Parameters

const TBTDevAddr & aAddr ?description

ConstructL()

void ConstructL ( ) [private]

Symbian 2nd-phase constructor

NewL(MBTEngSdpResultReceiver *)

CBTEngSdpQuery * NewL ( MBTEngSdpResultReceiver * aNotifier ) [static]

Two-phase constructor

Parameters

MBTEngSdpResultReceiver * aNotifier

NextRecordRequestComplete(TInt, TSdpServRecordHandle, TInt)

void NextRecordRequestComplete ( TInt aError,
TSdpServRecordHandle aHandle,
TInt aTotalRecordsCount
) [virtual]

From MSdpAgentNotifier . Called when an service record request operation completes.

Since
S60 v3.2

Parameters

TInt aError KErrNone if successful; KErrEof if there are no more SDP records left to be read; or an SDP error.
TSdpServRecordHandle aHandle Service record for which the query was made.
TInt aTotalRecordsCount Total number of matching records.

NotifyError(TInt)

void NotifyError ( TInt aError ) [private]

Helper function to pass back an error to our client.

Since
S60 v3.2

Parameters

TInt aError The error to return to the result observer.

RemoteSdpQueryL(const TBTDevAddr &, const TUUID &)

void RemoteSdpQueryL ( const TBTDevAddr & aAddr,
const TUUID & aService
)

?description

Since
S60 v3.2

Parameters

const TBTDevAddr & aAddr ?description
const TUUID & aService ?description

RemoteSdpQueryL(const TBTDevAddr &, const TSdpServRecordHandle, const TSdpAttributeID)

void RemoteSdpQueryL ( const TBTDevAddr & aAddr,
const TSdpServRecordHandle aHandle,
const TSdpAttributeID aAttrId
)

?description

Since
S60 v3.2

Parameters

const TBTDevAddr & aAddr ?description
const TSdpServRecordHandle aHandle ?description
const TSdpAttributeID aAttrId ?description

RemoteSdpQueryL(const TBTDevAddr &, const TUUID &, const TSdpAttributeID)

void RemoteSdpQueryL ( const TBTDevAddr & aAddr,
const TUUID & aService,
const TSdpAttributeID aAttrId
)

?description

Since
S60 v3.2

Parameters

const TBTDevAddr & aAddr ?description
const TUUID & aService ?description
const TSdpAttributeID aAttrId ?description

Member Enumerations Documentation

Enum TSdpQueryType

?description

Enumerators

EQueryIdle
EServiceQuery
EAttrQuery
EServiceAttrQuery

Member Data Documentation

RSdpResultArray iAttrResArray

RSdpResultArray iAttrResArray [private]

Result array of discovered service record attributes.

RSdpAttrValueArray iAttrValArray

RSdpAttrValueArray iAttrValArray [private]

Array for temporarily storing CSdpAttrValue objects. The actual value is used through the RSdpResultArray member.

TBTDevAddr iBDAddr

TBTDevAddr iBDAddr [private]

Flag to check if an SDP query is ongoing.

CBTEngSdpAttrParser * iParser

CBTEngSdpAttrParser * iParser [private]

Parser for decoding SDP attribute values. Own.

TSdpQueryType iQueryType

TSdpQueryType iQueryType [private]

Flag to check if an SDP query is ongoing.

RSdpRecHandleArray iRecHandleArray

RSdpRecHandleArray iRecHandleArray [private]

Result array of discovered service record handles.

TSdpAttributeID iRequestedAttrId

TSdpAttributeID iRequestedAttrId [private]

Attribute ID for second step of ServiceAttributeSearch operation; otherwise NULL.

MBTEngSdpResultReceiver * iResultNotifier

MBTEngSdpResultReceiver * iResultNotifier [private]

Reference to receiver of remote SDP query results. Not own.

CSdpAgent * iSdpAgent

CSdpAgent * iSdpAgent [private]

?description_of_pointer_member Own.