CConnMonEventBase Class Reference

class CConnMonEventBase : public CBase

Base class for all ConnMon event types.

Example how to convert an event according to type.
 void CMyConnMonObserver::EventL( const CConnMonEventBase& aEvent )
     {
     switch( aEvent.EventType() )
         {
         case EConnMonCreateConnection:
             CConnMonCreateConnection* realEvent;
             realEvent = (CConnMonCreateConnection*) &aEvent;
             //...

Inherits from

Constructor & Destructor Documentation

CConnMonEventBase(const TInt, const TUint)

CConnMonEventBase(const TIntaEventType,
const TUintiConnectionId
)

Constructor.

Parameters

const TInt aEventTypeEvent type.
const TUint iConnectionIdConnection ID.

~CConnMonEventBase()

~CConnMonEventBase()

Destructor.

Member Functions Documentation

ConnectionId()

IMPORT_C TUintConnectionId()const

Gets the connection ID of the connection.

EventType()

IMPORT_C TIntEventType()const

Gets the type of the event.

Member Data Documentation

TUint iConnectionId

TUint iConnectionId[private]

TInt iEventType

TInt iEventType[private]