CConnMonBearerGroupChange 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 group information for an existing connection.

The connection ID passed in the event is the respective connection specific ID. The same information can be retrieved with packaged attribute KBearerGroupInfo. The bearer group bitmask is defined in TConnMonBearerGroup.

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

 CConnMonBearerGroupChange (const TUint aConnectionId, const TUint aBearerGroups1, const TUint aBearerGroups2, const TBool aInternal)
 Constructor.
 ~CConnMonBearerGroupChange ()
 Destructor.
IMPORT_C void BearerGroups (TUint &aBearerGroups1, TUint &aBearerGroups2) const
 Gets the new bearer groups.
IMPORT_C TBool Internal () const
 Gets the information whether the current connection bearer is internal or external.

Constructor & Destructor Documentation

CConnMonBearerGroupChange::CConnMonBearerGroupChange const TUint  aConnectionId,
const TUint  aBearerGroups1,
const TUint  aBearerGroups2,
const TBool  aInternal
 

Constructor.

Parameters:
aConnectionId Connection ID.
aBearerGroups1 First bearer group bitmask.
aBearerGroups2 Second bearer group bitmask.
aInternal ETrue if connection is internal, EFalse if external.
CConnMonBearerGroupChange::~CConnMonBearerGroupChange  ) 
 

Destructor.


Member Function Documentation

IMPORT_C void CConnMonBearerGroupChange::BearerGroups TUint &  aBearerGroups1,
TUint &  aBearerGroups2
const
 

Gets the new bearer groups.

Values are defined in TConnMonBearerGroup.

Parameters:
aBearerGroups1 Will contain the first bearer group bitmask.
aBearerGroups2 Will contain the second bearer group bitmask.
IMPORT_C TBool CConnMonBearerGroupChange::Internal  )  const
 

Gets the information whether the current connection bearer is internal or external.

Returns:
ETrue if the bearer is internal and EFalse if external.

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

Copyright © Nokia Corporation 2001-2007
Back to top