com.aelitis.azureus.core.dht
Class DHTOperationAdapter

java.lang.Object
  extended by com.aelitis.azureus.core.dht.DHTOperationAdapter
All Implemented Interfaces:
DHTOperationListener

public class DHTOperationAdapter
extends Object
implements DHTOperationListener

Author:
parg

Constructor Summary
DHTOperationAdapter()
           
DHTOperationAdapter(DHTOperationListener _delegate)
           
 
Method Summary
 void complete(boolean timeout)
           
 boolean diversified(String desc)
           
 void found(DHTTransportContact contact, boolean is_closest)
           
 void read(DHTTransportContact contact, DHTTransportValue value)
           
 void searching(DHTTransportContact contact, int level, int active_searches)
           
 void wrote(DHTTransportContact contact, DHTTransportValue value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DHTOperationAdapter

public DHTOperationAdapter()

DHTOperationAdapter

public DHTOperationAdapter(DHTOperationListener _delegate)
Method Detail

searching

public void searching(DHTTransportContact contact,
                      int level,
                      int active_searches)
Specified by:
searching in interface DHTOperationListener

diversified

public boolean diversified(String desc)
Specified by:
diversified in interface DHTOperationListener

found

public void found(DHTTransportContact contact,
                  boolean is_closest)
Specified by:
found in interface DHTOperationListener

read

public void read(DHTTransportContact contact,
                 DHTTransportValue value)
Specified by:
read in interface DHTOperationListener

wrote

public void wrote(DHTTransportContact contact,
                  DHTTransportValue value)
Specified by:
wrote in interface DHTOperationListener

complete

public void complete(boolean timeout)
Specified by:
complete in interface DHTOperationListener