CNifIfBase Class Reference

class CNifIfBase : public CBase
Base class for nif binder layers. Classes derived from CNifIfBase act as a binder layer to the layer 3 protocol, and send and receive a specified protocol between the network layer and the link layer
Note:

There should be one CNifIfBase object per protocol, per nif instance

v5.0

Inherits from

Constructor & Destructor Documentation

CNifIfBase(CNifIfFactory &)

IMPORT_CCNifIfBase(CNifIfFactory &aFactory)

Parameters

CNifIfFactory & aFactory

CNifIfBase()

IMPORT_CCNifIfBase()

CNifIfBase(CNifIfLink &)

IMPORT_CCNifIfBase(CNifIfLink &aLink)[protected]

Parameters

CNifIfLink & aLink

~CNifIfBase()

IMPORT_C~CNifIfBase()

Member Functions Documentation

BindL(TAny *)

IMPORT_C voidBindL(TAny *aId)[virtual]

Parameters

TAny * aId

Cleanup(TAny *)

IMPORT_C voidCleanup(TAny *aIf)[static]

Parameters

TAny * aIf

Close()

IMPORT_C voidClose()[virtual]

Control(TUint, TUint, TDes8 &, TAny *)

IMPORT_C TIntControl(TUintaLevel,
TUintaName,
TDes8 &aOption,
TAny *aSource = 0
)[virtual]

Parameters

TUint aLevel
TUint aName
TDes8 & aOption
TAny * aSource = 0

Info(TNifIfInfo &)

voidInfo(TNifIfInfo &aInfo)const [pure virtual]

Retrieve information about an network interface

Parameters

TNifIfInfo & aInfoOn return, contains information about the nif

Notification(TAgentToNifEventType, void *)

TInt Notification(TAgentToNifEventTypeaEvent,
void *aInfo
)[pure virtual]

Notification of an event from the agent KErrNone if successful, otherwise one of the system-wide error codes

Note:

SC with previous releases broken in v6.1 when first argument changed type

Parameters

TAgentToNifEventType aEventThe type of event that occured
void * aInfoAny data associated with the event

Notify()

MNifIfNotify *Notify()const [inline]

Accessor method for the iNotify pointer to the MNifIfNotify interface A pointer to the MNifIfNotify interface

Open()

IMPORT_C voidOpen()[virtual]

Send(RMBufChain &, TAny *)

TInt Send(RMBufChain &aPdu,
TAny *aSource = 0
)[pure virtual]

Send data through this interface -ve number Reserved for future use 0 Stop sending +ve number Continue sending

Parameters

RMBufChain & aPduA packet contained within a RMBufChain
TAny * aSource = 0A pointer to the object that is sending this data

State()

IMPORT_C TIntState()[virtual]

Member Data Documentation

CNifIfFactory * iFactory

CNifIfFactory *iFactory[protected]

MNifIfNotify * iNotify

MNifIfNotify *iNotify[protected]

TInt iRefCount

TInt iRefCount[protected]