Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.protocol.event
Class FileTransferCreatedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.java.sip.communicator.service.protocol.event.FileTransferCreatedEvent
All Implemented Interfaces:
Serializable

public class FileTransferCreatedEvent
extends EventObject

The FileTransferCreatedEvent indicates the creation of a file transfer.

Author:
Yana Stamcheva
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FileTransferCreatedEvent(FileTransfer fileTransfer, Date timestamp)
          Creates a FileTransferCreatedEvent representing creation of a file transfer.
 
Method Summary
 FileTransfer getFileTransfer()
          Returns the file transfer that triggered this event.
 Date getTimestamp()
          A timestamp indicating the exact date when the event occurred.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileTransferCreatedEvent

public FileTransferCreatedEvent(FileTransfer fileTransfer,
                                Date timestamp)
Creates a FileTransferCreatedEvent representing creation of a file transfer.

Parameters:
fileTransfer - the FileTransfer whose creation this event represents.
timestamp - the timestamp indicating the exact date when the event occurred
Method Detail

getFileTransfer

public FileTransfer getFileTransfer()
Returns the file transfer that triggered this event.

Returns:
the FileTransfer that triggered this event.

getTimestamp

public Date getTimestamp()
A timestamp indicating the exact date when the event occurred.

Returns:
a Date indicating when the event occurred.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.