BasebandChannelAdaptation2::MBca2 Class Reference
class BasebandChannelAdaptation2::MBca2 |
The interface implemented by the lower component to accept control signals from the upper component
Nested Classes and Structures
Member Functions Documentation
CancelControl()
void | CancelControl | ( | ) | [pure virtual] |
Cancels the Control request in a synchronous way.
Close()
void | Close | ( | ) | [pure virtual] |
Synchronously closes the BCA immediately. Informs the BCA is no longer required by the client and can release its resources. Close cancels all pending asynchronous operations which can only be Start() or Control() . To use the BCA instance it needs to be re-opened. Close operation must not fail.
Control(TRequestStatus &, TUint, TUint, TDes8 &)
The BCA control function to get or set the options of the BCA in an asynchronous manner.
Parameters
TRequestStatus & aStatus | asynchronous completion status, KErrNone if successful, system-wide error code otherwise |
TUint aOptLevel | option level to be used KBcaOptLevelGeneric or KBcaOptLevelExtSerial |
TUint aOptName | option name to be used. |
TDes8 & aOpt | an optional parameter,holds the option value on return or the option value to be set. |
GetSender()
Returns a reference to the MLowerDataSender, This reference is used by upper components to send packets to the lower components. This API must be called only after Start() completes, otherwise the implementation should panic.
Open(MUpperControl &, MUpperDataReceiver &, const TBcaParams &)
Opens the BCA instance and commences a BCA session (Close() terminates the session).
Parameters
MUpperControl & aControl | reference to a MUpperControl implementation, which will serve as the call-back interface for incoming control calls |
MUpperDataReceiver & aData | - reference to a MUpperDataReceiver implementation, which will serve as the call-back interface for incoming data |
const TBcaParams & aBcaParams | A reference to the BCA start up params |
Release()
void | Release | ( | ) | [pure virtual] |
Release/deletes the BCA instance. Derived classes will typically implement this as delete this .
SetFlowControl(TBlockOption)
Either blocks or unblocks the pushing of received data to the upper layers, depending on TBlockOption. If the upper layers can t process any more data to stop receiving packets this API is called with EBlockFlow. Later after the congestion eases, to start receiving packets again call this API with EUnblockFlow
Start()
void | Start | ( | ) | [pure virtual] |
Member Enumerations 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.