MConnDataTransferNotify Class Reference

class MConnDataTransferNotify

Interface that any sub-connection client wishing to get data notification must implement Since 9.1

Member Functions Documentation

NotifyDataReceived(TUint, TUint)

TInt NotifyDataReceived ( TUint aDownlinkVolume,
TUint aCurrentGranularity
) [pure virtual]

Override this to update the received bytes count, and if necessary complete any outstanding RMessages

Parameters

TUint aDownlinkVolume The total number of bytes sent on the sub-connection
TUint aCurrentGranularity The currently set granularity of notifications

NotifyDataSent(TUint, TUint)

TInt NotifyDataSent ( TUint aUplinkVolume,
TUint aCurrentGranularity
) [pure virtual]

Override this to update the sent bytes count, and if necessary complete any outstanding RMessages

Parameters

TUint aUplinkVolume The total number of bytes sent on this subconnection
TUint aCurrentGranularity Requested granularity

NotifyDataTransferred(const TUint, const TUint)

TInt NotifyDataTransferred ( const TUint aUplinkVolume,
const TUint aDownlinkVolume
) [pure virtual]

Override this to receive notification for data transfered, to allow any absolute volume notifications that may be outstanding to be completed if the required amount of data has been sent/received

CConnDataTransfer::DataTransferred

Parameters

const TUint aUplinkVolume The total volume of data sent on this subconnection
const TUint aDownlinkVolume The total volume of data received on this subconnection