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
- Since
- v5.0
Constructor & Destructor Documentation
CNifIfBase(CNifIfFactory &)
Member Functions Documentation
BindL(TAny *)
IMPORT_C void | BindL | ( | TAny * | aId | ) | [virtual] |
Bind to the protocol layer (store the pointer to the CProtocolBase object)
Parameters
TAny * aId | A pointer to the protocol layer (should be cast to a CProtocolBase object) |
Cleanup(TAny *)
IMPORT_C void | Cleanup | ( | TAny * | aIf | ) | [static] |
Close()
IMPORT_C void | Close | ( | ) | [virtual] |
Decrement reference count
Control(TUint, TUint, TDes8 &, TAny *)
Control function for additional control of the nif
Parameters
TUint aLevel | The intended level for this control option |
TUint aName | The name of the control option |
TDes8 & aOption | Any data associated with this control option, contained within a TPckg(Buf) |
TAny * aSource = 0 | If provided, an identifier for the source of the control option; by default, zero |
Info(TNifIfInfo &)
Retrieve information about an network interface
Parameters
TNifIfInfo & aInfo | On return, contains information about the nif |
Notification(TAgentToNifEventType, void *)
Notification of an event from the agent
Note: SC with previous releases broken in v6.1 when first argument changed type
- Since
Parameters
TAgentToNifEventType aEvent | The type of event that occured |
void * aInfo | Any data associated with the event |
Notify()
Accessor method for the iNotify pointer to the MNifIfNotify interface
Open()
IMPORT_C void | Open | ( | ) | [virtual] |
Increment reference count
Send(RMBufChain &, TAny *)
Send data through this interface
Parameters
RMBufChain & aPdu | A packet contained within a RMBufChain |
TAny * aSource = 0 | A pointer to the object that is sending this data |
State()
IMPORT_C TInt | State | ( | ) | [virtual] |
Return the current state of the interface
Note: Return interface as being up for BC
- Since
- v2.0?
Member Data Documentation
TInt
iRefCount
TInt
| iRefCount | [protected] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.