CLANLinkCommon Class Reference
class CLANLinkCommon : public ESock::CSubConnectionFlowBase |
Public Member Functions |
---|
| CLANLinkCommon(ESock::CSubConnectionFlowFactoryBase &, const Messages::TNodeId &, ESock::CProtocolIntfBase *) |
| ~CLANLinkCommon() |
void | AcTrafficModeChanged(TWlmAccessClass, TWlmAcTrafficMode) |
void | AcTrafficStatusChanged(TWlmAccessClass, TWlmAcTrafficStatus) |
TBool
| BearerIsActive(CLanxBearer *) |
IMPORT_C ESock::MLowerDataSender * | BindL(const TDesC8 &, ESock::MUpperDataReceiver *, ESock::MUpperControl *) |
void | BindToL(Messages::TNodeId &) |
void | CancelStartFlow() |
IMPORT_C void | ConstructL() |
void | Destroy() |
MFlowBinderControl * | DoGetBinderControlL() |
ESock::CSubConnectionFlowBase * | Flow() |
TInt
| FrameSend(RMBufChain &, TDesC8 &, TUint16) |
IMPORT_C ESock::MLowerControl * | GetControlL(const TDesC8 &) |
IMPORT_C void | IfProgress(TInt, TInt) |
IMPORT_C void | IfProgress(TSubConnectionUniqueId, TInt, TInt) |
IMPORT_C void | LinkLayerDown(TInt, TAction) |
IMPORT_C void | LinkLayerUp() |
const TBuf8< KMACByteLength > & | MacAddress() |
void | MaybePostDataClientIdle() |
TUint
| Mtu() |
IMPORT_C CLANLinkCommon * | NewL(ESock::CSubConnectionFlowFactoryBase &, const Messages::TNodeId &, ESock::CProtocolIntfBase *) |
IMPORT_C void | NifEvent(TNetworkAdaptorEventType, TUint, const TDesC8 &, TAny *) |
void | PostDataClientStartedMessage() |
void | PostFlowDownMessage(TInt) |
void | PostFlowGoingDownMessage(TInt, MNifIfNotify::TAction) |
void | PostProgressMessage(TInt, TInt) |
void | Process(RMBufChain &, TUint8 *, TUint8) |
IMPORT_C TInt | ReadBool(const TDesC &, TBool &) |
IMPORT_C TInt | ReadDes(const TDesC &, TDes8 &) |
IMPORT_C TInt | ReadDes(const TDesC &, TDes16 &) |
IMPORT_C TInt | ReadInt(const TDesC &, TUint32 &) |
IMPORT_C void | ReceivedL(const Messages::TRuntimeCtxId &, const Messages::TNodeId &, Messages::TSignatureBase &) |
IMPORT_C void | ResumeSending() |
void | SetAllowedBearer(CLanxBearer *) |
TUint
| SpeedMetric() |
void | StartFlowL() |
void | StopFlow(TInt) |
void | SubConnectionError(TInt) |
void | SubConnectionGoingDown() |
IMPORT_C void | Unbind(ESock::MUpperDataReceiver *, ESock::MUpperControl *) |
IMPORT_C TInt | WriteBool(const TDesC &, TBool) |
IMPORT_C TInt | WriteDes(const TDesC &, const TDesC8 &) |
IMPORT_C TInt | WriteDes(const TDesC &, const TDesC16 &) |
IMPORT_C TInt | WriteInt(const TDesC &, TUint32) |
Constructor & Destructor Documentation
CLANLinkCommon(ESock::CSubConnectionFlowFactoryBase &, const Messages::TNodeId &, ESock::CProtocolIntfBase *)
~CLANLinkCommon()
IMPORT_C | ~CLANLinkCommon | ( | ) | [virtual] |
Member Functions Documentation
AcTrafficModeChanged(TWlmAccessClass, TWlmAcTrafficMode)
The traffic mode of an access class has changed.
AcTrafficStatusChanged(TWlmAccessClass, TWlmAcTrafficStatus)
The traffic status of an access class has changed.
BearerIsActive(CLanxBearer *)
BindL(const TDesC8 &, ESock::MUpperDataReceiver *, ESock::MUpperControl *)
Request from upper CFProtocol to bind to this module.
BindToL(Messages::TNodeId &)
ConstructL()
IMPORT_C void | ConstructL | ( | ) | |
DownGradePacket(T8021DPriority &, TBool &)
EtherFrame(RMBufChain &, TDesC8 &, TUint16, TUint8 &)
FindBearerByProtocolName(const TDesC8 &, TInt &)
Search the iBearers array searching for a match by protocol name.
Parameters
const TDesC8 & aProtocol | name of protocol (in) |
TInt & aIndex | on success, index of found entry (>=0), else -1. |
FindBearerByUpperControl(const ESock::MUpperControl *, TInt &)
Search the iBearers array searching for a match by protocol name.
FrameSend(RMBufChain &, TDesC8 &, TUint16)
GetControlL(const TDesC8 &)
Request from upper CFProtocol to retrieve our MLowerControl class.
Parameters
const TDesC8 & aProtocol | Protocol Name. Presently, only "ip" and "ip6" are supported. |
GetProtocolType(TUint8 *, TUint16 &)
IfProgress(TInt, TInt)
IMPORT_C void | IfProgress | ( | TInt | aStage, |
| TInt | aError |
| ) | |
IfProgress(TSubConnectionUniqueId, TInt, TInt)
LinkLayerDown(TInt, TAction)
IMPORT_C void | LinkLayerDown | ( | TInt | aError, |
| TAction | aAction |
| ) | |
Link Layer Down Called by the packet driver when the link has gone down
Parameters
TInt aError | error code |
TAction aAction | whether a reconnect is required or not |
LinkLayerUp()
IMPORT_C void | LinkLayerUp | ( | ) | |
Link Layer Up Called by the packet driver when it is happy
LoadPacketDriverL()
void | LoadPacketDriverL | ( | ) | [private] |
MaybePostDataClientIdle()
void | MaybePostDataClientIdle | ( | ) | |
NewL(ESock::CSubConnectionFlowFactoryBase &, const Messages::TNodeId &, ESock::CProtocolIntfBase *)
NifEvent(TNetworkAdaptorEventType, TUint, const TDesC8 &, TAny *)
PostDataClientStartedMessage()
void | PostDataClientStartedMessage | ( | ) | |
PostFlowDownMessage(TInt)
void | PostFlowDownMessage | ( | TInt | aError | ) | |
PostFlowGoingDownMessage(TInt, MNifIfNotify::TAction)
PostProgressMessage(TInt, TInt)
void | PostProgressMessage | ( | TInt | aStage, |
| TInt | aError |
| ) | |
Process(RMBufChain &, TUint8 *, TUint8)
ProvisionBearerConfigL(const TDesC8 &)
void | ProvisionBearerConfigL | ( | const TDesC8 & | aName | ) | [private] |
ProvisionConfig(const ESock::RMetaExtensionContainerC &)
ProvisionConfigL()
void | ProvisionConfigL | ( | ) | [private] |
ReadBool(const TDesC &, TBool &)
ReadDes(const TDesC &, TDes8 &)
ReadDes(const TDesC &, TDes16 &)
ReadEthintSettingsL()
void | ReadEthintSettingsL | ( | ) | [private] |
ReadInt(const TDesC &, TUint32 &)
ReadMACSettings()
TBool
| ReadMACSettings | ( | ) | [private] |
ReceivedL(const Messages::TRuntimeCtxId &, const Messages::TNodeId &, Messages::TSignatureBase &)
Routine called on an incoming message from SCPR
ResumeSending()
IMPORT_C void | ResumeSending | ( | ) | |
SetAllowedBearer(CLanxBearer *)
SpeedMetric()
TUint
| SpeedMetric | ( | ) | const [inline] |
StopCb(TAny *)
TInt
| StopCb | ( | TAny * | aThisPtr | ) | [private, static] |
StopInterface()
void | StopInterface | ( | ) | [private] |
SubConnectionError(TInt)
void | SubConnectionError | ( | TInt | aError | ) | |
SubConnectionGoingDown()
void | SubConnectionGoingDown | ( | ) | |
Unbind(ESock::MUpperDataReceiver *, ESock::MUpperControl *)
Request from upper CFProtocol to unbind from this module.
Parameters
ESock::MUpperDataReceiver * aReceiver | pointer to data receiver class of upper CFProtocol (originally passed to it in downward BindL() request) |
ESock::MUpperControl * aControl | pointer to control class of upper CFProtocol (originally passed to it in downward BindL() request) |
WriteBool(const TDesC &, TBool)
WriteDes(const TDesC &, const TDesC8 &)
WriteDes(const TDesC &, const TDesC16 &)
WriteInt(const TDesC &, TUint32)
Member Enumerations Documentation
Enum TMeshMashineFlowState
Enumerators
EStopped | |
EStarting | |
EStarted | |
EStopping | |
Enum TlanIfStatus
Enumerators
EIfPending | |
EIfUp | |
EIfBusy | |
EIfDown | |
Member Data Documentation
CLANNifWLMServerPerAC * iAcArray
Array containing handles to per-AC instances.
CLanxBearerPtrArray * iBearers
TEtherHeaderType
iEtherType
const TLanIp4Provision * iLanIp4Provision
const TLanIp6Provision * iLanIp6Provision
TMeshMashineFlowState
iMMState
TBuf8< KMACByteLength > iMacAddr
CLanxBearer * iOnlyThisBearer
CPeriodic * iPeriodic
iPeriodic and iError needed for sending DHCPRELEASE when the interface is being closed
TInt
iSavedError
TInt
| iSavedError | [protected] |
TBool
iStopRequested
TBool
| iStopRequested | [protected] |
TBool
iValidMacAddr
TBool
| iValidMacAddr | [protected] |
indicates if iMacAddr contains a valid Mac address
CLANNifWLMServerCommon * iWLMServerCommon
Handle to the NIF-WLAN engine interface class.
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.