MConnDataTransferNotify Class Reference

#include "ss_datatransfer.h"

class MConnDataTransferNotify
Public Member Functions
pure virtual TInt NotifyDataReceived(TUint, TUint)
pure virtual TInt NotifyDataSent(TUint, TUint)
pure virtual TInt NotifyDataTransferred(const TUint, const TUint)

Detailed Description

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

Member Function Documentation

NotifyDataReceived ( TUint, TUint )

TInt NotifyDataReceived(TUintaDownlinkVolume,
TUintaCurrentGranularity
)[pure virtual]

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

ParameterDescription
aDownlinkVolumeThe total number of bytes sent on the sub-connection
aCurrentGranularityThe currently set granularity of notifications

NotifyDataSent ( TUint, TUint )

TInt NotifyDataSent(TUintaUplinkVolume,
TUintaCurrentGranularity
)[pure virtual]

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

ParameterDescription
aUplinkVolumeThe total number of bytes sent on this subconnection
aCurrentGranularityRequested granularity

Returns: KErrNone, or one of the system-wide error codes

NotifyDataTransferred ( const TUint, const TUint )

TInt NotifyDataTransferred(const TUintaUplinkVolume,
const TUintaDownlinkVolume
)[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

See also: CConnDataTransfer::DataTransferred

ParameterDescription
aUplinkVolumeThe total volume of data sent on this subconnection
aDownlinkVolumeThe total volume of data received on this subconnection

Returns: KErrNone, or one of the system-wide error codes