CConnMonBearerGroupChange Class Reference

#include <mw/rconnmon.h>

Link against: CONNMON.LIB

class CConnMonBearerGroupChange : public CConnMonEventBase

Inherits from

Detailed Description

This event is triggered when there is a change in bearer group information for an existing connection. The connection ID passed in the event is the respective connection specific ID. The same information can be retrieved with packaged attribute KBearerGroupInfo. The bearer group bitmask is defined in TConnMonBearerGroup.

Note: The client needs to set the TUint attribute KBearerGroupThreshold in order to receive these events. This also disables EConnMonBearerChange events.

Constructor & Destructor Documentation

CConnMonBearerGroupChange ( const TUint, const TUint, const TUint, const TBool )

CConnMonBearerGroupChange(const TUintaConnectionId,
const TUintaBearerGroups1,
const TUintaBearerGroups2,
const TBoolaInternal
)

Constructor.

ParameterDescription
aConnectionIdConnection ID.
aBearerGroups1First bearer group bitmask.
aBearerGroups2Second bearer group bitmask.
aInternalETrue if connection is internal, EFalse if external.

~CConnMonBearerGroupChange ( )

~CConnMonBearerGroupChange()

Destructor.

Member Function Documentation

BearerGroups ( TUint &, TUint & )

IMPORT_C voidBearerGroups(TUint &aBearerGroups1,
TUint &aBearerGroups2
)const

Gets the new bearer groups. Values are defined in TConnMonBearerGroup.

ParameterDescription
aBearerGroups1Will contain the first bearer group bitmask.
aBearerGroups2Will contain the second bearer group bitmask.

Internal ( )

IMPORT_C TBoolInternal()const

Gets the information whether the current connection bearer is internal or external.

Returns: ETrue if the bearer is internal and EFalse if external.