MPppRecvr Class Reference

class MPppRecvr

Constructor & Destructor Documentation

MPppRecvr(CPppLcp *, TPppPhase, TUint)

MPppRecvr ( CPppLcp * aPppLcp,
TPppPhase aPhase,
TUint aPppId =  KPppIdUnknown
)

Parameters

CPppLcp * aPppLcp
TPppPhase aPhase
TUint aPppId =  KPppIdUnknown

MPppRecvr()

MPppRecvr ( ) [protected]

~MPppRecvr()

~MPppRecvr ( ) [virtual]

Member Functions Documentation

Deque()

void Deque ( )

Deregister()

void Deregister ( )

FindPppFactoryL(const TDesC &, TUid, CObjectCon &)

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

Parameters

const TDesC & aFilename
TUid aUid2
CObjectCon & aCon

FlowOn()

IMPORT_C void FlowOn ( ) [virtual]

FrameError()

void FrameError ( ) [pure virtual]

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

Init(CPppLcp *, TPppPhase, TUint)

void Init ( CPppLcp * aPppLcp,
TPppPhase aPhase,
TUint aPppId =  KPppIdUnknown
)

Parameters

CPppLcp * aPppLcp
TPppPhase aPhase
TUint aPppId =  KPppIdUnknown

KillProtocol()

void KillProtocol ( ) [pure virtual]

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

LowerLayerDown(TInt)

void LowerLayerDown ( TInt aStatus ) [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()

void LowerLayerUp ( ) [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)

void Register ( TUint aPpdId =  KPppIdAsIs )

Parameters

TUint aPpdId =  KPppIdAsIs

Reregister(TUint, TPppPhase)

void Reregister ( TUint aPpdId,
TPppPhase aPhase
)

Parameters

TUint aPpdId
TPppPhase aPhase

SendFrame(RMBufChain &)

TInt SendFrame ( RMBufChain & aPacket ) [inline]

Parameters

RMBufChain & aPacket

SetId(TUint)

void SetId ( TUint aPppId ) [inline]

Parameters

TUint aPppId

SetPhase(TPppPhase)

void SetPhase ( TPppPhase aPhase ) [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]