File
Doc
Category
Size
Date
Package
DistributedDatabaseContact.java
API Doc
Azureus 3.0.3.4
1825
Wed Mar 08 14:05:18 GMT 2006
org.gudy.azureus2.plugins.ddb
DistributedDatabaseContact
public interface DistributedDatabaseContact
author
parg
Fields Summary
Constructors Summary
Methods Summary
public
java.net.InetSocketAddress
getAddress
()
public
java.lang.String
getName
()
public
boolean
isAlive
(
long
timeout)
public
boolean
isOrHasBeenLocal
()
public
boolean
openTunnel
()
Tries to open a NAT tunnel to the contact. Should only be used if direct contact fails
return
public
DistributedDatabaseValue
read
(
DistributedDatabaseProgressListener
listener,
DistributedDatabaseTransferType
type,
DistributedDatabaseKey
key,
long
timeout)
public void
write
(
DistributedDatabaseTransferType
type,
DistributedDatabaseKey
key,
DistributedDatabaseValue
data)
Java Code Source