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 TInt aEventType,
const TUint iConnectionId
)

Constructor.

Parameters

const TInt aEventType Event type.
const TUint iConnectionId Connection ID.

~CConnMonEventBase()

~CConnMonEventBase ( )

Destructor.

Member Functions Documentation

ConnectionId()

IMPORT_C TUint ConnectionId ( ) const

Gets the connection ID of the connection.

EventType()

IMPORT_C TInt EventType ( ) const

Gets the type of the event.

Member Data Documentation

TUint iConnectionId

TUint iConnectionId [private]

TInt iEventType

TInt iEventType [private]