void function ( final FileTransferListener arg0 ) { if ( listeners == null ) { initListeners ( ) ; } synchronized ( this . listeners ) { listeners . add ( arg0 ) ; } }
add a file transfer listener to listen to incoming file transfer requests . concode_field_sep List<FileTransferListener> listeners concode_elem_sep Connection connection concode_elem_sep FileTransferNegotiator fileTransferNegotiator concode_field_sep void fireNewRequest concode_elem_sep void removeFileTransferListener concode_elem_sep void rejectIncomingFileTransfer concode_elem_sep OutgoingFileTransfer createOutgoingFileTransfer concode_elem_sep void initListeners concode_elem_sep IncomingFileTransfer createIncomingFileTransfer