org.jmythapi.protocol.events
Interface IDownloadFileFinished

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

public interface IDownloadFileFinished
extends IDownloadFile<IDownloadFileFinished.Props>

Backend Event - Download File Finished.

This event is sent by a backend to inform the client about a finished download.

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

Nested Class Summary
static class IDownloadFileFinished.Props
          The properties of an IDownloadFileFinished event.
 
Method Summary
 Integer getErrorCode()
          Gets a error code to describe a download error.
 String getErrorText()
          Gets a text to describe a download error.
 
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

getErrorText

String getErrorText()
Gets a text to describe a download error.

Returns:
an error text

getErrorCode

Integer getErrorCode()
Gets a error code to describe a download error.

Returns:
an error code


Copyright © 2008-2013. All Rights Reserved.