src/net/java/sip/communicator/impl/protocol/jabber/OperationSetFileTransferJabberImpl.java
/**
     * Delivers the specified event to all registered file transfer listeners.
     *
     * @param request the <tt>EventObject</tt> that we'd like delivered to all
     * registered file transfer listeners.
     */
Delivers the specified event to all registered file transfer listeners.
@param request the EventObject that we'd like delivered to all
registered file transfer listeners.
Delivers the specified event to all registered file transfer listeners . @param request the EventObject that we ' d like delivered to all registered file transfer listeners .
void fireFileTransferRequest(IncomingFileTransferRequestJabberImpl request)
    {
        FileTransferRequestEvent event
            = new FileTransferRequestEvent(
                OperationSetFileTransferJabberImpl.this,
                request,
                new Date());
        Iterator<FileTransferListener> listeners;
        synchronized (fileTransferListeners)
        {
            listeners = new ArrayList<>
                            (fileTransferListeners).iterator();
        }
        while (listeners.hasNext())
        {
            FileTransferListener listener = listeners.next();
            listener.fileTransferRequestReceived(event);
        }
    }
void fireFileTransferRequest ( IncomingFileTransferRequestJabberImpl request ) { FileTransferRequestEvent event = new FileTransferRequestEvent ( OperationSetFileTransferJabberImpl . this , request , new Date ( ) ) ; Iterator < FileTransferListener > listeners ; synchronized ( fileTransferListeners ) { listeners = new ArrayList < > ( fileTransferListeners ) . iterator ( ) ; } while ( listeners . hasNext ( ) ) { FileTransferListener listener = listeners . next ( ) ; listener . fileTransferRequestReceived ( event ) ; } }
Delivers the specified event to all registered file transfer listeners.
Delivers the specified event to all registered file transfer listeners .
// Create an event associated to this global request.