uk.ac.ic.doc.automed.p2p.son.dht
Class AutoMedDHTProvider

java.lang.Object
  extended by ow.dht.impl.StandardDHTProvider
      extended by uk.ac.ic.doc.automed.p2p.son.dht.AutoMedDHTProvider
All Implemented Interfaces:
ow.dht.impl.DHTProvider

public class AutoMedDHTProvider
extends ow.dht.impl.StandardDHTProvider


Field Summary
private static java.lang.String DHT_NAME
           
 
Constructor Summary
AutoMedDHTProvider()
           
 
Method Summary
 ow.dht.DHT getDHT(ow.dht.DHTConfiguration config, ow.id.ID selfID)
           
 ow.dht.DHT getDHT(ow.dht.DHTConfiguration config, ow.routing.RoutingService routingSvc)
           
 ow.dht.DHT getDHT(short applicationID, short applicationVersion, ow.dht.DHTConfiguration config, ow.id.ID selfID)
           
static ow.dht.DHT getDHTInstance(short applicationID, short applicationVersion, ow.dht.DHTConfiguration config, ow.id.ID selfID)
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DHT_NAME

private static final java.lang.String DHT_NAME
See Also:
Constant Field Values
Constructor Detail

AutoMedDHTProvider

public AutoMedDHTProvider()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface ow.dht.impl.DHTProvider
Overrides:
getName in class ow.dht.impl.StandardDHTProvider

getDHT

public ow.dht.DHT getDHT(ow.dht.DHTConfiguration config,
                         ow.id.ID selfID)
                  throws java.lang.Exception
Specified by:
getDHT in interface ow.dht.impl.DHTProvider
Overrides:
getDHT in class ow.dht.impl.StandardDHTProvider
Throws:
java.lang.Exception

getDHT

public ow.dht.DHT getDHT(short applicationID,
                         short applicationVersion,
                         ow.dht.DHTConfiguration config,
                         ow.id.ID selfID)
                  throws java.lang.Exception
Specified by:
getDHT in interface ow.dht.impl.DHTProvider
Overrides:
getDHT in class ow.dht.impl.StandardDHTProvider
Throws:
java.lang.Exception

getDHTInstance

public static ow.dht.DHT getDHTInstance(short applicationID,
                                        short applicationVersion,
                                        ow.dht.DHTConfiguration config,
                                        ow.id.ID selfID)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getDHT

public ow.dht.DHT getDHT(ow.dht.DHTConfiguration config,
                         ow.routing.RoutingService routingSvc)
                  throws java.lang.Exception
Specified by:
getDHT in interface ow.dht.impl.DHTProvider
Overrides:
getDHT in class ow.dht.impl.StandardDHTProvider
Throws:
java.lang.Exception