private void fireOnBytesSent(long amount, long current, long total) { for (TransferListener l : listeners) { try { l.onBytesSent(amount, current, total); } catch (Throwable t) { l.onThrowable(t); } } }
private void fireOnBytesSent(long amount, long current, long total) { for (TransferListener l : listeners) { try { l.onBytesSent(amount, current, total); } catch (Throwable t) { l.onThrowable(t); } } }