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 * aLink A pointer to the Link Layer object.

Member Functions Documentation

BlockFlow(TBlockOption)

TInt BlockFlow ( TBlockOption aOption ) [virtual]

Parameters

TBlockOption aOption

ConstructL()

void ConstructL ( ) [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 & aName Out 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 *)

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

Parameters

RMBufChain & aPdu
TAny * aLLC

ProtocolName()

const TDesC8 & ProtocolName ( ) const [pure virtual]

SetProvisionL(const Meta::SMetaData *)

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

Parameters

const Meta::SMetaData * aProvision

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

void SetUpperPointers ( ESock::MUpperDataReceiver * aReceiver,
ESock::MUpperControl * aControl
)

Parameters

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

StartSending(CProtocolBase *)

void StartSending ( 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 * aProtocol A pointer to the object which signalled it is ready to StartSending.

UpdateMACAddr()

void UpdateMACAddr ( ) [virtual]

WantsProtocol(TUint16, const TUint8 *)

TBool WantsProtocol ( TUint16 aProtocolCode,
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]