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 TUint aConnectionId,
const TUint aSubConnectionId,
const TBool aActivity
)

Constructor.

Parameters

const TUint aConnectionId Connection ID.
const TUint aSubConnectionId Subconnection ID.
const TBool aActivity Connection activity.

~CConnMonConnectionActivityChange()

~CConnMonConnectionActivityChange ( )

Destructor.

Member Functions Documentation

ConnectionActivity()

IMPORT_C TBool ConnectionActivity ( ) const

Gets the connection activity.

SubConnectionId()

IMPORT_C TUint SubConnectionId ( ) const

Gets the subconnection ID.

Member Data Documentation

TBool iActivity

TBool iActivity [private]

TUint iSubConnectionId

TUint iSubConnectionId [private]