CConnMonEventBase Class Reference

#include <mw/rconnmon.h>

Link against: ConnMon.lib

class CConnMonEventBase : public CBase

Inherits from

  • CConnMonEventBase

    Detailed Description

    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;
                 //...

    Constructor & Destructor Documentation

    CConnMonEventBase ( const TInt, const TUint )

    CConnMonEventBase(const TIntaEventType,
    const TUintiConnectionId
    )

    Constructor.

    ParameterDescription
    aEventTypeEvent type.
    iConnectionIdConnection ID.

    ~CConnMonEventBase ( )

    ~CConnMonEventBase()

    Destructor.

    Member Function Documentation

    ConnectionId ( )

    IMPORT_C TUintConnectionId()const

    Gets the connection ID of the connection.

    Returns: Connection ID.

    EventType ( )

    IMPORT_C TIntEventType()const

    Gets the type of the event.

    Returns: Type of the event. Values are defined in TConnMonEventType.