CConnMonConnectionActivityChange Class Reference

#include <mw/rconnmon.h>

Link against: CONNMON.LIB

class CConnMonConnectionActivityChange : public CConnMonEventBase

Inherits from

Detailed Description

This event is triggered when some connection changes from active to idle or vice versa. The client must set KActivityTimeThreshold to receive these events. KActivityTimeThreshold defines the period (in seconds) for checking wether the connection is active or not. The minimum allowed value is 5 seconds. The connection is considered active, if data has been passed during the last period, otherwise it is considered inactive. The same information can be retrieved with TBool attribute KConnectionActive.

Constructor & Destructor Documentation

CConnMonConnectionActivityChange ( const TUint, const TUint, const TBool )

CConnMonConnectionActivityChange(const TUintaConnectionId,
const TUintaSubConnectionId,
const TBoolaActivity
)

Constructor.

ParameterDescription
aConnectionIdConnection ID.
aSubConnectionIdSubconnection ID.
aActivityConnection activity.

~CConnMonConnectionActivityChange ( )

~CConnMonConnectionActivityChange()

Destructor.

Member Function Documentation

ConnectionActivity ( )

IMPORT_C TBoolConnectionActivity()const

Gets the connection activity.

Returns: ETrue if the connection is active, EFalse if not.

SubConnectionId ( )

IMPORT_C TUintSubConnectionId()const

Gets the subconnection ID.

Returns: Subconnection ID.