Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.protocol.event
Interface FileTransferListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
ContactListPane, FileHistoryServiceImpl, NotificationManager, ReceiveFileConversationComponent

public interface FileTransferListener
extends EventListener

A listener that would gather events notifying of incoming file transfer requests.

Author:
Emil Ivov, Yana Stamcheva

Method Summary
 void fileTransferCreated(FileTransferCreatedEvent event)
          Called when a FileTransferCreatedEvent has been received.
 void fileTransferRequestCanceled(FileTransferRequestEvent event)
          Called when an IncomingFileTransferRequest has been canceled from the contact who sent it.
 void fileTransferRequestReceived(FileTransferRequestEvent event)
          Called when a new IncomingFileTransferRequest has been received.
 void fileTransferRequestRejected(FileTransferRequestEvent event)
          Called when an IncomingFileTransferRequest has been rejected.
 

Method Detail

fileTransferRequestReceived

void fileTransferRequestReceived(FileTransferRequestEvent event)
Called when a new IncomingFileTransferRequest has been received.

Parameters:
event - the FileTransferRequestEvent containing the newly received request and other details.

fileTransferCreated

void fileTransferCreated(FileTransferCreatedEvent event)
Called when a FileTransferCreatedEvent has been received.

Parameters:
event - the FileTransferCreatedEvent containing the newly received file transfer and other details.

fileTransferRequestRejected

void fileTransferRequestRejected(FileTransferRequestEvent event)
Called when an IncomingFileTransferRequest has been rejected.

Parameters:
event - the FileTransferRequestEvent containing the received request which was rejected.

fileTransferRequestCanceled

void fileTransferRequestCanceled(FileTransferRequestEvent event)
Called when an IncomingFileTransferRequest has been canceled from the contact who sent it.

Parameters:
event - the FileTransferRequestEvent containing the request which was canceled.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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