public class FileTransferProgressEvent
extends java.util.EventObject
Constructor and Description |
---|
FileTransferProgressEvent(FileTransfer fileTransfer,
long timestamp,
long progress)
Creates a FileTransferProgressEvent by specifying the source
file transfer object, that triggered the event and the new progress
value.
|
Modifier and Type | Method and Description |
---|---|
FileTransfer |
getFileTransfer()
Returns the source FileTransfer that triggered this event.
|
long |
getProgress()
Returns the progress of the file transfer in transferred bytes.
|
long |
getTimestamp()
Returns the timestamp when this event initially occured.
|
public FileTransferProgressEvent(FileTransfer fileTransfer, long timestamp, long progress)
fileTransfer
- the source file transfer object, that triggered the
eventtimestamp
- when this event occuredprogress
- the new progress valuepublic FileTransfer getFileTransfer()
public long getProgress()
public long getTimestamp()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.