CBTEngDeviceSearch Class Reference

class CBTEngDeviceSearch : public CBase

Class CBTEngDeviceSearch

?more_complete_description

?library
Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CBTEngDeviceSearch()

CBTEngDeviceSearch ( ) [private]

C++ default constructor

~CBTEngDeviceSearch()

~CBTEngDeviceSearch ( ) [virtual]

Destructor

Member Functions Documentation

CancelGetEirServiceUUIDs()

void CancelGetEirServiceUUIDs ( )

CancelSearch()

void CancelSearch ( )

?description

Since
S60 v3.2

ConstructL()

void ConstructL ( ) [private]

Symbian 2nd-phase constructor

DoGetDeviceEir(const TBTDevAddr &)

TInt DoGetDeviceEir ( const TBTDevAddr & aAddr ) [private]

Parameters

const TBTDevAddr & aAddr

GetEirServiceUUIDs(const TBTDevAddr &, TNameEntry *, MBTEngSdpResultReceiver *)

TInt GetEirServiceUUIDs ( const TBTDevAddr & aAddr,
TNameEntry * aNameEntry,
MBTEngSdpResultReceiver * aNotifier
)

Parameters

const TBTDevAddr & aAddr
TNameEntry * aNameEntry
MBTEngSdpResultReceiver * aNotifier

HandleDeviceEirDataResult(TInt)

void HandleDeviceEirDataResult ( TInt aErr ) [private]

Parameters

TInt aErr

HandleDeviceSelectionResultL(TInt)

void HandleDeviceSelectionResultL ( TInt aErr ) [private]

Parameters

TInt aErr

HandleError(CBTEngActive *, TInt, TInt)

void HandleError ( CBTEngActive * aActive,
TInt aId,
TInt aError
) [virtual]

Callback to notify that an error has occurred in RunL.

Since
S60 v3.2

Parameters

CBTEngActive * aActive
TInt aId
TInt aError

NewL()

CBTEngDeviceSearch * NewL ( ) [static]

Two-phase constructor

NotifyClient(TInt)

void NotifyClient ( TInt aErr ) [private]

Notifies the caller of the search result.

Parameters

TInt aErr

RequestCompletedL(CBTEngActive *, TInt, TInt)

void RequestCompletedL ( CBTEngActive * aActive,
TInt aId,
TInt aStatus
) [virtual]

From MBTEngActiveObserver . Callback to notify that an outstanding request has completed.

Since
S60 v3.2

Parameters

CBTEngActive * aActive
TInt aId
TInt aStatus

StartSearch(CBTDevice *, TNameEntry *, const TBTDeviceClass &, MBTEngSdpResultReceiver *)

TInt StartSearch ( CBTDevice * aDevice,
TNameEntry * aNameEntry,
const TBTDeviceClass & aDeviceClass,
MBTEngSdpResultReceiver * aNotifier
)

?description

Since
S60 v3.2

Parameters

CBTDevice * aDevice
TNameEntry * aNameEntry
const TBTDeviceClass & aDeviceClass
MBTEngSdpResultReceiver * aNotifier

Member Enumerations Documentation

Enum TClientRequest

Enumerators

EDeviceSearch
EGetDeviceEir

Member Data Documentation

CBTEngActive * iActive

CBTEngActive * iActive [private]

Our actual active object. Own.

TClientRequest iClientReq

TClientRequest iClientReq [private]

CBTDevice * iDevice

CBTDevice * iDevice [private]

Client's object to store the results. Not own.

RHostResolver iHostResolver

RHostResolver iHostResolver [private]

Hose Resolver to get cached EIR. Own.

TInquirySockAddr iInquirySockAddr

TInquirySockAddr iInquirySockAddr [private]

used for getting cached EIR.

TNameEntry * iNameEntry

TNameEntry * iNameEntry [private]

Client's object to store EIR data. Not own.

RNotifier iNotifier

RNotifier iNotifier [private]

Hanlde to the search notifier.

TBTDeviceResponseParamsPckg iResponsePckg

TBTDeviceResponseParamsPckg iResponsePckg [private]

Response parameters package buffer.

MBTEngSdpResultReceiver * iResultNotifier

MBTEngSdpResultReceiver * iResultNotifier [private]

Reference to receiver of results. Not own.

TBTDeviceSelectionParamsPckg iSelectionPckg

TBTDeviceSelectionParamsPckg iSelectionPckg [private]

Selection parameters package buffer.

RSocketServ iSocketServer

RSocketServ iSocketServer [private]

Socket server for Host Resolver. Own.