net.java.sip.communicator.service.protocol.event
Class FileTransferRequestEvent
java.lang.Object
java.util.EventObject
net.java.sip.communicator.service.protocol.event.FileTransferRequestEvent
- All Implemented Interfaces:
- Serializable
public class FileTransferRequestEvent
- extends EventObject
The FileTransferRequestEvent indicates the reception of a file
transfer request.
- Author:
- Nicolas Riegel, Yana Stamcheva
- See Also:
- Serialized Form
FileTransferRequestEvent
public FileTransferRequestEvent(OperationSetFileTransfer fileTransferOpSet,
IncomingFileTransferRequest request,
Date timestamp)
- Creates a FileTransferRequestEvent representing reception
of an incoming file transfer request.
- Parameters:
fileTransferOpSet - the operation set, where this event initially occurredrequest - the IncomingFileTranferRequest whose reception
this event represents.timestamp - the timestamp indicating the exact date when the event
occurred
getFileTransferOperationSet
public OperationSetFileTransfer getFileTransferOperationSet()
- Returns the OperationSetFileTransfer, where this event initially
occurred.
- Returns:
- the OperationSetFileTransfer, where this event initially
occurred
getRequest
public IncomingFileTransferRequest getRequest()
- Returns the incoming file transfer request that triggered this event.
- Returns:
- the IncomingFileTransferRequest 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.
Distributable under LGPL license.