Class FileTransferStatusEvent
- java.lang.Object
-
- java.util.EventObject
-
- rocks.xmpp.extensions.filetransfer.FileTransferStatusEvent
-
- All Implemented Interfaces:
Serializable
public final class FileTransferStatusEvent extends EventObject
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBytesTransferred()
Gets the number of bytes transferred so far.FileTransfer.Status
getStatus()
Gets the file transfer status.String
toString()
Returns aString
representation of thisFileTransferStatusEvent
object.-
Methods inherited from class java.util.EventObject
getSource
-
-
-
-
Method Detail
-
getStatus
public FileTransfer.Status getStatus()
Gets the file transfer status.- Returns:
- The status.
-
getBytesTransferred
public final long getBytesTransferred()
Gets the number of bytes transferred so far.- Returns:
- The number of bytes transferred so far.
-
toString
public final String toString()
Returns aString
representation of thisFileTransferStatusEvent
object.- Overrides:
toString
in classEventObject
- Since:
- 0.5.0
-
-