#include <mw/rconnmon.h>
class CConnMonDeleteConnection : public CConnMonEventBase |
Public Member Functions | |
---|---|
CConnMonDeleteConnection(const TUint, const TUint, const TUint, const TBool) | |
~CConnMonDeleteConnection() | |
IMPORT_C TBool | AuthoritativeDelete() |
IMPORT_C TUint | DownlinkData() |
IMPORT_C TUint | UplinkData() |
This event is triggered when a connection has been deleted. The connection ID passed in the event is the connection ID of the deleted connection.
CConnMonDeleteConnection | ( | const TUint | aConnectionId, |
const TUint | aDownlinkData, | ||
const TUint | aUplinkData, | ||
const TBool | aAuthDelete | ||
) |
Constructor.
Parameter | Description |
---|---|
aConnectionId | Connection ID. |
aDownlinkData | Downlink data volume. |
aUplinkData | Uplink data volume. |
aAuthDelete | Was connection stopped in an authoritative way. |
IMPORT_C TBool | AuthoritativeDelete | ( | ) | const |
Checks if the connection was stopped in an authoritative way. ETrue will be returned if the user has deactivated the connection by using Connection Monitor or if some application has issued RConnection::Stop( RConnection::EStopAuthoritative ).
Returns: ETrue if connection has been deactivated in an authoritative way, otherwise returns EFalse.
IMPORT_C TUint | DownlinkData | ( | ) | const |
Gets the downlink data volume.
Returns: Downlink data volume in bytes.