CConnMonConnectionActivityChange Class Reference

class CConnMonConnectionActivityChange : public CConnMonEventBase

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.

CONNMON.LIB

Inherits from

Constructor & Destructor Documentation

CConnMonConnectionActivityChange(const TUint, const TUint, const TBool)

CConnMonConnectionActivityChange(const TUintaConnectionId,
const TUintaSubConnectionId,
const TBoolaActivity
)

Constructor.

Parameters

const TUint aConnectionIdConnection ID.
const TUint aSubConnectionIdSubconnection ID.
const TBool aActivityConnection activity.

~CConnMonConnectionActivityChange()

~CConnMonConnectionActivityChange()

Destructor.

Member Functions Documentation

ConnectionActivity()

IMPORT_C TBoolConnectionActivity()const

Gets the connection activity.

SubConnectionId()

IMPORT_C TUintSubConnectionId()const

Gets the subconnection ID.

Member Data Documentation

TBool iActivity

TBool iActivity[private]

TUint iSubConnectionId

TUint iSubConnectionId[private]