MPppRecvr Class Reference

class MPppRecvr

Constructor & Destructor Documentation

MPppRecvr(CPppLcp *, TPppPhase, TUint)

MPppRecvr(CPppLcp *aPppLcp,
TPppPhaseaPhase,
TUintaPppId =  KPppIdUnknown
)

Parameters

CPppLcp * aPppLcp
TPppPhase aPhase
TUint aPppId =  KPppIdUnknown

MPppRecvr()

MPppRecvr()[protected]

~MPppRecvr()

~MPppRecvr()[virtual]

Member Functions Documentation

Deque()

voidDeque()

Deregister()

voidDeregister()

FindPppFactoryL(const TDesC &, TUid, CObjectCon &)

CNifFactory *FindPppFactoryL(const TDesC &aFilename,
TUidaUid2,
CObjectCon &aCon
)[protected]

Parameters

const TDesC & aFilename
TUid aUid2
CObjectCon & aCon

FlowOn()

IMPORT_C voidFlowOn()[virtual]

FrameError()

voidFrameError()[pure virtual]

Notifies that a CRC error has been detected in the data link frame that has been received.

Init(CPppLcp *, TPppPhase, TUint)

voidInit(CPppLcp *aPppLcp,
TPppPhaseaPhase,
TUintaPppId =  KPppIdUnknown
)

Parameters

CPppLcp * aPppLcp
TPppPhase aPhase
TUint aPppId =  KPppIdUnknown

KillProtocol()

voidKillProtocol()[pure virtual]

Deactivates this receiver object, preventing any processing of the data link frames being received.

LowerLayerDown(TInt)

voidLowerLayerDown(TIntaStatus)[virtual]

Notifies this receiver that the lower layer is down, i.e. that the PPP link is now in a phase when this receiver is inactive and the data frames being received will not be delivered to it.

Parameters

TInt aStatus[in] A status code that may indicate a special reason for which this receiver was deactivated.

LowerLayerUp()

voidLowerLayerUp()[virtual]

Notifies this receiver that the lower layer is up, i.e. that the PPP link is now in a phase when this receiver is active and that this receiver should get ready for processing the data frames being received, as the data frames being received will be delivered to it.

RecvFrame(RMBufChain &)

TBool RecvFrame(RMBufChain &aPacket)[pure virtual]

Delivers a data link frame to this receiver for processing.

Parameters

RMBufChain & aPacket[in] A reference to the RMBufChain object containing the data link frame.

Register(TUint)

voidRegister(TUintaPpdId =  KPppIdAsIs )

Parameters

TUint aPpdId =  KPppIdAsIs

Reregister(TUint, TPppPhase)

voidReregister(TUintaPpdId,
TPppPhaseaPhase
)

Parameters

TUint aPpdId
TPppPhase aPhase

SendFrame(RMBufChain &)

TInt SendFrame(RMBufChain &aPacket)[inline]

Parameters

RMBufChain & aPacket

SetId(TUint)

voidSetId(TUintaPppId)[inline]

Parameters

TUint aPppId

SetPhase(TPppPhase)

voidSetPhase(TPppPhaseaPhase)[inline]

Parameters

TPppPhase aPhase

Member Data Documentation

TPppPhase iActivePhase

TPppPhase iActivePhase[protected]

TInt iPppAbortCode

TInt iPppAbortCode[protected]

TUint iPppId

TUint iPppId[protected]

CPppLcp * iPppLcp

CPppLcp *iPppLcp[protected]

TDblQueLink iPppRecvrListLink

TDblQueLink iPppRecvrListLink[private]