CSdpAttributeRequester Class Reference
class CSdpAttributeRequester : public CSdpRequesterBase |
Constructor & Destructor Documentation
CSdpAttributeRequester(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.
~CSdpAttributeRequester()
~CSdpAttributeRequester | ( | ) | |
Member Functions Documentation
AttributeRequestL(const TBTDevAddr &, TSdpServRecordHandle, TUint16, CSdpAttrIdMatchList &, 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 attribute request.)
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).
HandleAttributeResponseL()
void | HandleAttributeResponseL | ( | ) | [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
byte count of attr list TUint16
Attribute ID & Value DES
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.
SendAttributeRequest()
void | SendAttributeRequest | ( | ) | [private] |
Member Data Documentation
TSdpServRecordHandle
iHandle
CSdpAttrIdMatchList * iMatchList
TUint16
iMaxAttrByteCount
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.