CCommsChannelSendQueue Class Reference
class CCommsChannelSendQueue : public CActive
|
This class adds an input buffer to a comms framework CFChannel using an array to store unsent messages.
Constructor & Destructor Documentation
CCommsChannelSendQueue(RCFChannel &)
CCommsChannelSendQueue
|
(
|
RCFChannel
&
|
aChannel
|
)
|
[private]
|
~CCommsChannelSendQueue()
~CCommsChannelSendQueue
|
(
|
)
|
|
Member Functions Documentation
DoCancel()
void
|
DoCancel
|
(
|
)
|
[protected, virtual]
|
NewL(RCFChannel &)
Parameters
RCFChannel
& aChannel
|
the send channel on which to send messages
|
ReserveSpace()
Called to make sure a message can be put on the queue at this time in this context. For the purpose it is used it would be a nice optimization to also check whether there is actually room in the output channel first as well, as the space then wouldn't be needed.
RunL()
void
|
RunL
|
(
|
)
|
[protected, virtual]
|
Active object RunL method is called when space becomes available on the send queue. Attempts to send the first message in the queue.
-
leave
-
any code from RCFChannel.Send() except KErrOverflow
Send(const TCFMessage &)
Send method either sends the requested message immediately or stores it internally to send when space is available param aMsg the message to be sent
Member Data Documentation
RArray< TCFMessage > iMsgQueue
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.