CPppLinkBase Class Reference

class CPppLinkBase : public CBase

Base class for link protocols

Inherits from

Constructor & Destructor Documentation

CPppLinkBase(CPppLcp *)

CPppLinkBase(CPppLcp *aLcp)[protected]

Parameters

CPppLcp * aLcp

~CPppLinkBase()

~CPppLinkBase()[virtual]

Member Functions Documentation

Close()

voidClose()[pure virtual]

CreateL()

voidCreateL()[pure virtual]

DeliverToLcp(RMBufChain &)

voidDeliverToLcp(RMBufChain &aPacket)[protected, inline]

Parameters

RMBufChain & aPacket

GetDataTransfer(RPacketContext::TDataVolume &)

voidGetDataTransfer(RPacketContext::TDataVolume &)[pure virtual]

GetSendRecvSize(TInt &, TInt &)

voidGetSendRecvSize(TInt &aMaxRecvSize,
TInt &aMaxSendSize
)[pure virtual]

Parameters

TInt & aMaxRecvSize
TInt & aMaxSendSize

NewCompressor(const CPppCompressor *)

voidNewCompressor(const CPppCompressor *aCompressor)[inline]

Parameters

const CPppCompressor * aCompressor

NewDeCompressor(const CPppDeCompressor *)

voidNewDeCompressor(const CPppDeCompressor *aDeCompressor)[inline]

Parameters

const CPppDeCompressor * aDeCompressor

NotifyLinkDown(TInt)

voidNotifyLinkDown(TIntaReason)[protected, inline]

Parameters

TInt aReason

NotifyLinkUp()

voidNotifyLinkUp()[protected, inline]

OpenL()

voidOpenL()[pure virtual]

PppCreateLinkL(CPppLcp *, const TDesC &)

CPppLinkBase *PppCreateLinkL(CPppLcp *aLcp,
const TDesC &aNifName
)

Parameters

CPppLcp * aLcp
const TDesC & aNifName

Send(RMBufChain &, TUint)

TInt Send(RMBufChain &aPacket,
TUintaPppId =  KPppIdAsIs
)[pure virtual]

Parameters

RMBufChain & aPacket
TUint aPppId =  KPppIdAsIs

SpeedMetric()

TInt SpeedMetric()[pure virtual]

StartL()

voidStartL()[pure virtual]

Stop(TInt, TBool)

voidStop(TIntaReason,
TBoolaLinkDown = ETrue
)[pure virtual]

Parameters

TInt aReason
TBool aLinkDown = ETrue

Member Data Documentation

CPppCompressor * iPppCompressor

CPppCompressor *iPppCompressor[protected]

CPppDeCompressor * iPppDecompressor

CPppDeCompressor *iPppDecompressor[protected]

CPppLcp * iPppLcp

CPppLcp *iPppLcp[protected]