org.jmythapi.protocol.events
Interface IDownloadFileUpdate

All Superinterfaces:
Cloneable, IDownloadFile<IDownloadFileUpdate.Props>, IMythEvent<IDownloadFileUpdate.Props>, IPropertyAware<IDownloadFileUpdate.Props>, ISendable, IVersionable
All Known Implementing Classes:
DownloadFileUpdate

public interface IDownloadFileUpdate
extends IDownloadFile<IDownloadFileUpdate.Props>

Backend Event - Download File Update.

This event is sent by a backend to inform the client about a in-progress download.

Since:
58
See Also:
BACKEND_MESSAGE_DOWNLOAD_FILE, IBackend.downloadFile(URI, String, String)

Nested Class Summary
static class IDownloadFileUpdate.Props
          The properties of an IDownloadFileUpdate event.
 
Method Summary
 Long getBytesReceived()
          Gets the currently downloaded amount of bytes.
 
Methods inherited from interface org.jmythapi.protocol.events.IDownloadFile
getBytesTotal, getLocalURI, getReceivedPercent, getRemoteURI
 
Methods inherited from interface org.jmythapi.protocol.events.IMythEvent
getEventName
 
Methods inherited from interface org.jmythapi.IPropertyAware
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject
 
Methods inherited from interface org.jmythapi.IVersionable
getVersionNr
 
Methods inherited from interface org.jmythapi.protocol.ISendable
getPacket
 

Method Detail

getBytesReceived

Long getBytesReceived()
Gets the currently downloaded amount of bytes.

Returns:
the downloaded amount of bytes
See Also:
IDownloadFileUpdate.Props.BYTES_RECEIVED


Copyright © 2008-2013. All Rights Reserved.