S60 3rd Edition API Reference: CConnMonEventBase Class Reference

CConnMonEventBase Class Reference

API published in: S60 2nd Ed FP 2

Link against: connmon.lib

Capability Information

Required Capabilities

NetworkServices ReadDeviceData ReadUserData

Exceptions

NetworkServices to call

IMPORT_C void GetBoolAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, TBool& aValue, TRequestStatus& aStatus );

With aAttribute parameter set to KConnectionStop or KConnectionStopAll

IMPORT_C void GetBoolAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, TBool& aValue, TRequestStatus& aStatus );

With aAttribute parameter set to KConnectionStop or KConnectionStopAll

NetworkControl to call

IMPORT_C void GetBoolAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, TBool& aValue, TRequestStatus& aStatus );

With aAttribute parameter set to KConnectionStop or KConnectionStopAll

IMPORT_C void GetBoolAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, TBool& aValue, TRequestStatus& aStatus );

With aAttribute parameter set to KConnectionStop or KConnectionStopAll

IMPORT_C void GetPckgAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, TDes8& aValue, TRequestStatus& aStatus ) const;

With aAttribute parameter set to KClientInfo

IMPORT_C TInt SetPckgAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, const TDes8& aValue ) const;

With aAttribute parameter set to KClientInfo


#include <rconnmon.h>

Inherited by CConnMonBearerAvailabilityChange, CConnMonBearerChange, CConnMonConnectionActivityChange, CConnMonConnectionStatusChange, CConnMonCreateConnection, CConnMonCreateSubConnection, CConnMonDeleteConnection, CConnMonDeleteSubConnection, CConnMonDownlinkDataThreshold, CConnMonGenericEvent, CConnMonIapAvailabilityChange, CConnMonNetworkRegistrationChange, CConnMonNetworkStatusChange, CConnMonNewWLANNetworkDetected, CConnMonOldWLANNetworkLost, CConnMonSignalStrengthChange, CConnMonSNAPsAvailabilityChange, CConnMonTransmitPowerChange, and CConnMonUplinkDataThreshold.


Detailed Description

CConnMonEventBase Base class for all event types.

Public Member Functions

 CConnMonEventBase (const TInt aEventType, const TUint iConnectionId)
 ~CConnMonEventBase ()
IMPORT_C TInt EventType () const
 Gets the type of the event.
IMPORT_C TUint ConnectionId () const
 Gets the connection id of the connection.

Constructor & Destructor Documentation

CConnMonEventBase::CConnMonEventBase const TInt  aEventType,
const TUint  iConnectionId
 
CConnMonEventBase::~CConnMonEventBase  ) 
 

Member Function Documentation

IMPORT_C TUint CConnMonEventBase::ConnectionId  )  const
 

Gets the connection id of the connection.

Returns:
Connection id.
IMPORT_C TInt CConnMonEventBase::EventType  )  const
 

Gets the type of the event.

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

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2007
Back to top