CLanxBearer Class Reference

class CLanxBearer : public CBase

Inherits from

Constructor & Destructor Documentation

CLanxBearer(CLANLinkCommon *)

CLanxBearer(CLANLinkCommon *aLink)

Constructor. Initialises the link layer object iLink and the notifier iNotify (inherited from CNIfIfBase) to aLink and aNotify respectively.

Parameters

CLANLinkCommon * aLinkA pointer to the Link Layer object.

Member Functions Documentation

BlockFlow(TBlockOption)

TInt BlockFlow(TBlockOptionaOption)[virtual]

Parameters

TBlockOption aOption

ConstructL()

voidConstructL()[virtual]

ConstructL method. Does nothing (CLanxBearer has no memory allocating objects).

GetConfig(TBinderConfig &)

TInt GetConfig(TBinderConfig &aConfig)[pure virtual]

Parameters

TBinderConfig & aConfig

GetName(TDes &)

TInt GetName(TDes &aName)[virtual]

Return the interface name

Parameters

TDes & aNameOut parameter to return the name

Link()

CLANLinkCommon *Link()const [inline]

MatchesUpperControl(const ESock::MUpperControl *)

TBool MatchesUpperControl(const ESock::MUpperControl *aControl)const

Check whether the passed MUpperControl matches that associated with the current instance

Parameters

const ESock::MUpperControl * aControl

Process(RMBufChain &, TAny *)

voidProcess(RMBufChain &aPdu,
TAny *aLLC
)[pure virtual]

Parameters

RMBufChain & aPdu
TAny * aLLC

ProtocolName()

const TDesC8 &ProtocolName()const [pure virtual]

SetProvisionL(const Meta::SMetaData *)

voidSetProvisionL(const Meta::SMetaData *aProvision)[pure virtual]

Parameters

const Meta::SMetaData * aProvision

SetUpperPointers(ESock::MUpperDataReceiver *, ESock::MUpperControl *)

voidSetUpperPointers(ESock::MUpperDataReceiver *aReceiver,
ESock::MUpperControl *aControl
)

Parameters

ESock::MUpperDataReceiver * aReceiver
ESock::MUpperControl * aControl

StartSending(CProtocolBase *)

voidStartSending(CProtocolBase *aProtocol)[virtual]

StartSending notifies the protocol that this object is ready to transmit and process data. CLanxBearer provides a default implementation which calls the iProtocol's StartSending method, passing this as input.

Parameters

CProtocolBase * aProtocolA pointer to the object which signalled it is ready to StartSending.

UpdateMACAddr()

voidUpdateMACAddr()[virtual]

WantsProtocol(TUint16, const TUint8 *)

TBool WantsProtocol(TUint16aProtocolCode,
const TUint8 *aPayload
)[pure virtual]

Parameters

TUint16 aProtocolCode
const TUint8 * aPayload

Member Data Documentation

TInterfaceName iIfName

TInterfaceName iIfName[protected]

CLANLinkCommon * iLink

CLANLinkCommon *iLink[protected]

TSoIfConnectionInfo iSoIfConnectionInfo

TSoIfConnectionInfo iSoIfConnectionInfo[protected]

TBool iSoIfConnectionInfoCached

TBool iSoIfConnectionInfoCached[protected]

ESock::MUpperControl * iUpperControl

ESock::MUpperControl *iUpperControl[protected]

ESock::MUpperDataReceiver * iUpperReceiver

ESock::MUpperDataReceiver *iUpperReceiver[protected]