CGavdpHelper Class Reference
class CGavdpHelper : public CActive
|
Public Member Functions
|
void
|
Begin
()
|
Constructor & Destructor Documentation
CGavdpHelper(CGavdp &, MGavdpUser &)
The default helper has EPriorityStandard. Some of the derived helpers will set their priority to something different when running. This enables enforcement of orderings, as because both a helper and an indication may have an outstanding completion we need to ensure that these are scheduled in the order that will cause the notifications to the client in the correct order.
An example of this: AVDTP recieves an Open, which it indicates to GAVDP. On receipt of the Open GAVDP will issue socket connects. AVDTP completes the socket connects. AVDTP receives an incoming Start and issues a Start indication to GAVDP by Ioctl completion. GAVDP now has two outstanding completed requests:
-
the Start indication (leading to GAVDP_StartIndication).
-
the UPlaneConnect completion (leading to GAVDP_BearerReady). Unless we ensure that the connect is processed before the start, the client may receive the start indication before it has sockets available.
Member Functions Documentation
AvdtpIndicator()
RSocket
&
|
AvdtpIndicator
|
(
|
)
|
[protected, inline]
|
AvdtpRequester()
RSocket
&
|
AvdtpRequester
|
(
|
)
|
[protected, inline]
|
Begin()
void
|
Begin
|
(
|
)
|
[pure virtual]
|
CheckFailedL()
void
|
CheckFailedL
|
(
|
)
|
[protected]
|
DetachFromGavdp(TInt)
void
|
DetachFromGavdp
|
(
|
TInt
|
aError
|
)
|
[protected]
|
Called by helpers to inform GAVDP they no-longer need its services, but still have calls to make to the
User
The helper will be detached from GAVDP, and upon completion of their duties they should delete themselves This enables GAVDP to do more for the client while the helper carries on
Gavdp()
CGavdp
&
|
Gavdp
|
(
|
)
|
[protected, inline]
|
RunError(TInt)
TInt
|
RunError
|
(
|
TInt
|
aError
|
)
|
[protected, virtual]
|
Member Data Documentation
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.