@Override public void requestCancelled( DiskAccessRequest request ) { // we never cancel so nothing to do here Debug.out( "shouldn't get here" ); }
@Override public TrackerPeerSource getCacheTrackerPeerSource() { Debug.out( "not implemented" ); return null; }
@Override public void setAlreadyRead( ByteBuffer bytes_already_read ) { Debug.out( "Bogus Transport Operation" ); }
protected void notSupported() { Debug.out( "Not Supported" ); }
@Override public void setTrackerURL( URL url ) { Debug.out( "Not implemented" ); }
@Override public TrackerPeerSource getCacheTrackerPeerSource() { Debug.out( "not implemented" ); return null; }
@Override public void delete() { Debug.out( "derp" ); } }
@Override public void delete() { Debug.out( "derp" ); } });
public T get( int index ) { if ( Constants.IS_CVS_VERSION && use_linked_list ){ Debug.out( "hmm" ); } synchronized( this ){ return( list.get(index)); } }
private byte[] getKeyBytes( String key ) { try{ return( key.getBytes( "UTF-8" )); }catch( UnsupportedEncodingException e ){ Debug.out( e ); return( key.getBytes()); } } private AEDiagnosticsLogger
private void write4Bytes(OutputStream os, long l) { try { os.write((int) (l & 0xFF)); os.write((int) ((l >> 8) & 0xFF)); os.write((int) ((l >> 16) & 0xFF)); os.write((int) ((l >> 24) & 0xFF)); } catch (IOException e) { Debug.out(e); } }
protected byte[] getByteArrayProperty( int name ) { try{ return((byte[])getResultProperty( name )); }catch( Throwable e ){ Debug.out( "Invalid value returned for byte[] property " + name ); return( null ); } }
@Override public void stateChanged(DownloadManager manager, int state) { for ( DownloadManagerListener listener: global_dm_listeners ){ try{ listener.stateChanged(manager, state); }catch( Throwable e ){ Debug.out( e ); } } }
public void setMaxThreads( int max ) { if ( max > max_size ){ Debug.out( "should support this sometime..." ); return; } setReservedThreadCount( max_size - max ); }
public static CryptoManager getSingleton() { try{ return( CryptoManagerImpl.getSingleton()); }catch( Throwable e ){ Debug.out( "Failed to create crypto manager", e ); return( null ); } } }
private void triggerCompletionListeners(boolean success, Object data) { for (Iterator iterator = completionListeners.iterator(); iterator.hasNext();) { MessageCompletionListener l = (MessageCompletionListener) iterator.next(); try { l.completed(success, data); } catch (Throwable e) { Debug.out(e); } } } }
@Override public final void exceptionThrown( Throwable error ) { if( error.getMessage() == null ) { Debug.out( "error.getMessage() == null", error ); } closeConnectionInternally( "connection exception: " + error.getMessage(), !connect_ok, true ); }
protected void fireChanged() { for ( PairingManagerListener l: listeners ){ try{ l.somethingChanged( this ); }catch( Throwable e ){ Debug.out( e ); } } }
public void parentDirChanged() { for ( FileListener l : fileListeners) { try{ l.parentDirChanged(); }catch( Throwable e ){ Debug.out( e ); } } }
@Override public TranscodeQueueImpl getQueue() { if ( !init_sem.reserve(30*1000)){ Debug.out( "Timeout waiting for init" ); AEDiagnostics.dumpThreads(); } return( queue ); }