#include <mw/rconnmon.h>
class CConnMonDeleteSubConnection : public CConnMonEventBase |
Public Member Functions | |
---|---|
CConnMonDeleteSubConnection(const TUint, const TUint, const TUint, const TUint, const TBool) | |
~CConnMonDeleteSubConnection() | |
IMPORT_C TBool | AuthoritativeDelete() |
IMPORT_C TUint | DownlinkData() |
IMPORT_C TUint | SubConnectionId() |
IMPORT_C TUint | UplinkData() |
This event is triggered when a subconnection has been deleted. Subconnections are not supported currently.
CConnMonDeleteSubConnection | ( | const TUint | aConnectionId, |
const TUint | aSubConnectionId, | ||
const TUint | aDownlinkData, | ||
const TUint | aUplinkData, | ||
const TBool | aAuthDelete | ||
) |
Constructor.
Parameter | Description |
---|---|
aConnectionId | Connection ID. |
aSubConnectionId | Subconnection 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.
IMPORT_C TUint | SubConnectionId | ( | ) | const |
Gets the subconnection ID of the deleted subconnection.
Returns: Subconnection ID.