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)

voidAttributeRequestComplete(TSdpServRecordHandleaHandle,
TIntaError
)[virtual]

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

Since
S60 v3.2

Parameters

TSdpServRecordHandle aHandleService record for which the query was made.
TInt aErrorAn error.

AttributeRequestResult(TSdpServRecordHandle, TSdpAttributeID, CSdpAttrValue *)

voidAttributeRequestResult(TSdpServRecordHandleaHandle,
TSdpAttributeIDaAttrID,
CSdpAttrValue *aAttrValue
)[virtual]

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

Since
S60 v3.2

Parameters

TSdpServRecordHandle aHandleService record for which the query was made.
TSdpAttributeID aAttrIDID of the attribute obtained.
CSdpAttrValue * aAttrValue

Cancel()

voidCancel()

?description

Since
S60 v3.2

CheckSdpAgentL(const TBTDevAddr &)

voidCheckSdpAgentL(const TBTDevAddr &aAddr)[private]

Helper function to check that

Since
S60 v3.2

Parameters

const TBTDevAddr & aAddr?description

ConstructL()

voidConstructL()[private]

Symbian 2nd-phase constructor

NewL(MBTEngSdpResultReceiver *)

CBTEngSdpQuery *NewL(MBTEngSdpResultReceiver *aNotifier)[static]

Two-phase constructor

Parameters

MBTEngSdpResultReceiver * aNotifier

NextRecordRequestComplete(TInt, TSdpServRecordHandle, TInt)

voidNextRecordRequestComplete(TIntaError,
TSdpServRecordHandleaHandle,
TIntaTotalRecordsCount
)[virtual]

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

Since
S60 v3.2

Parameters

TInt aErrorKErrNone if successful; KErrEof if there are no more SDP records left to be read; or an SDP error.
TSdpServRecordHandle aHandleService record for which the query was made.
TInt aTotalRecordsCountTotal number of matching records.

NotifyError(TInt)

voidNotifyError(TIntaError)[private]

Helper function to pass back an error to our client.

Since
S60 v3.2

Parameters

TInt aErrorThe error to return to the result observer.

RemoteSdpQueryL(const TBTDevAddr &, const TUUID &)

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

voidRemoteSdpQueryL(const TBTDevAddr &aAddr,
const TSdpServRecordHandleaHandle,
const TSdpAttributeIDaAttrId
)

?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)

voidRemoteSdpQueryL(const TBTDevAddr &aAddr,
const TUUID &aService,
const TSdpAttributeIDaAttrId
)

?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.