#include <mw/rconnmon.h>
class CConnMonConnectionActivityChange : public CConnMonEventBase |
Public Member Functions | |
---|---|
CConnMonConnectionActivityChange(const TUint, const TUint, const TBool) | |
~CConnMonConnectionActivityChange() | |
IMPORT_C TBool | ConnectionActivity() |
IMPORT_C TUint | SubConnectionId() |
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.
IMPORT_C TBool | ConnectionActivity | ( | ) | const |
Gets the connection activity.
Returns: ETrue if the connection is active, EFalse if not.