CConnMonDownlinkDataThreshold Class Reference

API published in: S60 2nd Ed FP 2

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

CConnMonDownlinkDataThreshold Event is triggered when there is a change in the volume of downlink data for some connection.

The notification will only complete when the change in volume increases by a client specified amount (KDownlinkDataThreshold). If KDownlinkDataThreshold=0 (=default) events will not be sent for that connection.


Public Member Functions

  CConnMonDownlinkDataThreshold (const TUint aConnectionId, const TUint aSubConnectionId, const TUint aDownlinkData)
  ~CConnMonDownlinkDataThreshold ()
IMPORT_C TUint  SubConnectionId () const
  Gets the subconnection id.
IMPORT_C TUint  DownlinkData () const
  Gets the downlink data volume.

Constructor & Destructor Documentation

CConnMonDownlinkDataThreshold::CConnMonDownlinkDataThreshold const TUint  aConnectionId,
const TUint  aSubConnectionId,
const TUint  aDownlinkData
 
CConnMonDownlinkDataThreshold::~CConnMonDownlinkDataThreshold  ) 
 

Member Function Documentation

IMPORT_C TUint CConnMonDownlinkDataThreshold::DownlinkData  )  const
 

Gets the downlink data volume.

Returns:
Downlink data volume in bytes.
IMPORT_C TUint CConnMonDownlinkDataThreshold::SubConnectionId  )  const
 

Gets the subconnection id.

Returns:
Subconnection id.

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

Copyright © Nokia Corporation 2001-2008
Back to top