src/net/java/sip/communicator/impl/protocol/jabber/IncomingFileTransferRequestJabberImpl.java
/**
     * Requests the thumbnail from the peer and fire the incoming transfer
     * request event.
     * @param cid the thumbnail content-ID
     */
Requests the thumbnail from the peer and fire the incoming transfer
request event.
@param cid the thumbnail content-ID
Requests the thumbnail from the peer and fire the incoming transfer request event . @param cid the thumbnail content - ID
public void fetchThumbnailAndNotify(final BoBHash cid)
    {
        final BoBManager bobManager = BoBManager.getInstanceFor(
            jabberProvider.getConnection());
        thumbnailCollector.submit(new Runnable()
        {
            @Override
            public void run()
            {
                logger.debug("Sending thumbnail request");
                try
                {
                    thumbnail = bobManager.requestBoB(
                        ((ContactJabberImpl)sender).getAddressAsJid(),
                        cid).getContent();
                }
                catch (NotLoggedInException
                    | NoResponseException
                    | XMPPErrorException
                    | NotConnectedException
                    | InterruptedException e)
                {
                    logger.error("Could not get thumbnail", e);
                }
                finally
                {
                    fileTransferOpSet.fireFileTransferRequest(
                        IncomingFileTransferRequestJabberImpl.this);
                }
            }
        });
    }
public void fetchThumbnailAndNotify ( final BoBHash cid ) { final BoBManager bobManager = BoBManager . getInstanceFor ( jabberProvider . getConnection ( ) ) ; thumbnailCollector . submit ( new Runnable ( ) { @ Override public void run ( ) { logger . debug ( "Sending thumbnail request" ) ; try { thumbnail = bobManager . requestBoB ( ( ( ContactJabberImpl ) sender ) . getAddressAsJid ( ) , cid ) . getContent ( ) ; } catch ( NotLoggedInException | NoResponseException | XMPPErrorException | NotConnectedException | InterruptedException e ) { logger . error ( "Could not get thumbnail" , e ) ; } finally { fileTransferOpSet . fireFileTransferRequest ( IncomingFileTransferRequestJabberImpl . this ) ; } } } ) ; }
Requests the thumbnail from the peer and fire the incoming transfer
 request event.
Requests the thumbnail from the peer and fire the incoming transfer request event .
// Notify the global listener that a request has arrived.