FileDocCategorySizeDatePackage
DDBaseContactImpl.javaAPI DocAzureus 3.0.3.42822Sun Jun 04 17:05:10 BST 2006org.gudy.azureus2.pluginsimpl.local.ddb

DDBaseContactImpl

public class DDBaseContactImpl extends Object implements org.gudy.azureus2.plugins.ddb.DistributedDatabaseContact
author
parg

Fields Summary
private DDBaseImpl
ddb
private com.aelitis.azureus.plugins.dht.DHTPluginContact
contact
Constructors Summary
protected DDBaseContactImpl(DDBaseImpl _ddb, com.aelitis.azureus.plugins.dht.DHTPluginContact _contact)

		ddb			= _ddb;
		contact		= _contact;
	
Methods Summary
public java.net.InetSocketAddressgetAddress()

		return( contact.getAddress());
	
protected com.aelitis.azureus.plugins.dht.DHTPluginContactgetContact()

		return( contact );
	
public java.lang.StringgetName()

		return( contact.getName());
	
public booleanisAlive(long timeout)

		return( contact.isAlive( timeout ));
	
public booleanisOrHasBeenLocal()

		return( contact.isOrHasBeenLocal());
	
public booleanopenTunnel()

		return( contact.openTunnel() != null );
	
public org.gudy.azureus2.plugins.ddb.DistributedDatabaseValueread(org.gudy.azureus2.plugins.ddb.DistributedDatabaseProgressListener listener, org.gudy.azureus2.plugins.ddb.DistributedDatabaseTransferType type, org.gudy.azureus2.plugins.ddb.DistributedDatabaseKey key, long timeout)

		return( ddb.read( this, listener, type, key, timeout ));
	
public voidwrite(org.gudy.azureus2.plugins.ddb.DistributedDatabaseTransferType type, org.gudy.azureus2.plugins.ddb.DistributedDatabaseKey key, org.gudy.azureus2.plugins.ddb.DistributedDatabaseValue data)

		throw( new DistributedDatabaseException( "not implemented" ));