CSdpSearchRequester Class Reference
class CSdpSearchRequester : public CSdpRequesterBase
|
Constructor & Destructor Documentation
CSdpSearchRequester(RSdpSession &, CSdpAgentEng &)
Constructor: Adds this
CSdpAttributeRequester
to Active Scheduler. Sets parent, and passes client side object for session with SDP server (currently ESock). Sets up cont state member to default 0 length descriptor.
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
DoCancel()
void
|
DoCancel
|
(
|
)
|
[private, virtual]
|
Cancels current asynchronous requests. This could be with the Sdp server (currently ESOCK) or if this
CSdpRequesterBase
is in idle state it cancels the time out timer (set-up to perform a disconnection after a defined length of time).
HandleSearchResponseL()
void
|
HandleSearchResponseL
|
(
|
)
|
[private]
|
IssueRequestL()
void
|
IssueRequestL
|
(
|
)
|
[private, virtual]
|
Requester is now connected. Called down from requester base class.
Time
to actually issue the request
NewL(RSdpSession &, CSdpAgentEng &)
Standard NewL method. Note: need to pass the client side object of the SDP service session, and the CSdpA.gentEng parent which is managing this
CSdpAttributeRequester
active object.
RequestCompleteL()
void
|
RequestCompleteL
|
(
|
)
|
[private, virtual]
|
Response parameter format is
Total service record count TUint16
Current service record count TUint16
Service Record Handles unadorned list of TUint32's
Continuation State 1 + 0-16 bytes
Reset()
void
|
Reset
|
(
|
)
|
[private, virtual]
|
Called when base requester idle timer expires, and when an error is reported Cleans up and makes sure we really are disconnected.
RunError(TInt)
TInt
|
RunError
|
(
|
TInt
|
aError
|
)
|
[private, virtual]
|
Called automatically when a RunL leaves. Calls appropriate error handling function in the
CSdpAgentEng
parent.
SearchRequestL(const TBTDevAddr &, CSdpSearchPattern &, TUint16, const TDesC8 &)
Sets up appropriate member variables, then attempts to connect to remote device. (If connection is made the state machine takes over to make the actual search request.)
SendSearchRequest()
void
|
SendSearchRequest
|
(
|
)
|
[private]
|
Member Data Documentation
CSdpSearchPattern * iUUIDFilter
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.