CConnMonDeleteSubConnection 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 a subconnection has been deleted.

Subconnections are not supported currently.

Dll CONNMON.LIB

Public Member Functions

 CConnMonDeleteSubConnection (const TUint aConnectionId, const TUint aSubConnectionId, const TUint aDownlinkData, const TUint aUplinkData, const TBool aAuthDelete)
 Constructor.
 ~CConnMonDeleteSubConnection ()
 Destructor.
IMPORT_C TUint SubConnectionId () const
 Gets the subconnection ID of the deleted subconnection.
IMPORT_C TUint DownlinkData () const
 Gets the downlink data volume.
IMPORT_C TUint UplinkData () const
 Gets the uplink data volume.
IMPORT_C TBool AuthoritativeDelete () const
 Checks if the connection was stopped in an authoritative way.

Constructor & Destructor Documentation

CConnMonDeleteSubConnection::CConnMonDeleteSubConnection const TUint  aConnectionId,
const TUint  aSubConnectionId,
const TUint  aDownlinkData,
const TUint  aUplinkData,
const TBool  aAuthDelete
 

Constructor.

Parameters:
aConnectionId Connection ID.
aSubConnectionId Subconnection ID.
aDownlinkData Downlink data volume.
aUplinkData Uplink data volume.
aAuthDelete Was connection stopped in an authoritative way.
CConnMonDeleteSubConnection::~CConnMonDeleteSubConnection  ) 
 

Destructor.


Member Function Documentation

IMPORT_C TBool CConnMonDeleteSubConnection::AuthoritativeDelete  )  const
 

Checks if the connection was stopped in an authoritative way.

ETrue will be returned if the user has deactivated the connection by using Connection Monitor or if some application has issued RConnection::Stop( RConnection::EStopAuthoritative ).

Returns:
ETrue if connection has been deactivated in an authoritative way, otherwise returns EFalse.
IMPORT_C TUint CConnMonDeleteSubConnection::DownlinkData  )  const
 

Gets the downlink data volume.

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

Gets the subconnection ID of the deleted subconnection.

Returns:
Subconnection ID.
IMPORT_C TUint CConnMonDeleteSubConnection::UplinkData  )  const
 

Gets the uplink data volume.

Returns:
Uplink data volume in bytes.

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

Copyright © Nokia Corporation 2001-2007
Back to top