CConnMonBearerInfoChange Class Reference

Link against: ConnMon.lib

Capability Information

Required Capabilities

None

Exceptions

ReadDeviceData to call

IMPORT_C void GetIntAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, TInt& aValue, TRequestStatus& aStatus );

IMPORT_C TInt SetIntAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, const TInt aValue ) const;

with aAttribute set to KProtocolType.

NetworkServices and NetworkControl to call

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

IMPORT_C TInt SetBoolAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, const TBool aValue ) const;

with aAttribute KConnectionStop or KConnectionStopAll.

ReadDeviceData to call

IMPORT_C void GetStringAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, TDes& aValue, TRequestStatus& aStatus ) const;

IMPORT_C TInt SetStringAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, const TDes& aValue ) const;

with aAttribute set to KAccessPointName or KNetworkName.

ReadUserData to call

IMPORT_C void GetStringAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, TDes& aValue, TRequestStatus& aStatus ) const;

IMPORT_C TInt SetStringAttribute( const TUint aConnectionId, const TUint aSubConnectionId, const TUint aAttribute, const TDes& aValue ) const;

with aAttribute set to KTelNumber.

NetworkControl to call

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

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

with aAttribute set to KClientInfo.


#include <
rconnmon.h>

Inherits CConnMonEventBase.


Detailed Description

This event is triggered when there is a change in bearer information for an existing connection, or if the network mode changes e.g.

from 2G to 3G. For connection specific events, the connection ID passed in the event is the respective connection specific ID, and for network level events, the connection ID is EBearerIdAll. The same connection level information can be retrieved with TInt attribute KBearerInfo. The bearer info values are defined in TConnMonBearerInfo.

Note: The client needs to set the TUint attribute KBearerGroupThreshold in order to receive these events. This also disables EConnMonBearerChange events.

Dll CONNMON.LIB
Since:
S60 3.2

Public Member Functions

 CConnMonBearerInfoChange (const TUint aConnectionId, const TInt aBearerInfo)
 Constructor.
 ~CConnMonBearerInfoChange ()
 Destructor.
IMPORT_C TInt BearerInfo () const
 Gets the new bearer information.

Constructor & Destructor Documentation

CConnMonBearerInfoChange::CConnMonBearerInfoChange const TUint  aConnectionId,
const TInt  aBearerInfo
 

Constructor.

Parameters:
aConnectionId Connection ID.
aBearerInfo Bearer information.
CConnMonBearerInfoChange::~CConnMonBearerInfoChange  ) 
 

Destructor.


Member Function Documentation

IMPORT_C TInt CConnMonBearerInfoChange::BearerInfo  )  const
 

Gets the new bearer information.

Values are defined in TConnMonBearerInfo.

Returns:
New bearer information.

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

Copyright © Nokia Corporation 2001-2007
Back to top