com.aelitis.azureus.plugins.dht
Interface DHTPluginContact
- All Known Implementing Classes:
- DHTPluginContactImpl
public interface DHTPluginContact
- Author:
- parg
Method Summary |
byte[] |
call(DHTPluginProgressListener listener,
byte[] handler_key,
byte[] data,
long timeout)
|
java.util.Map<java.lang.String,java.lang.Object> |
exportToMap()
|
java.net.InetSocketAddress |
getAddress()
|
byte[] |
getID()
|
java.lang.String |
getName()
|
int |
getNetwork()
|
byte |
getProtocolVersion()
|
java.lang.String |
getString()
|
boolean |
isAlive(long timeout)
|
void |
isAlive(long timeout,
DHTPluginOperationListener listener)
|
boolean |
isOrHasBeenLocal()
|
java.util.Map |
openTunnel()
|
byte[] |
read(DHTPluginProgressListener listener,
byte[] handler_key,
byte[] key,
long timeout)
|
void |
write(DHTPluginProgressListener listener,
byte[] handler_key,
byte[] key,
byte[] data,
long timeout)
|
getID
byte[] getID()
getName
java.lang.String getName()
getAddress
java.net.InetSocketAddress getAddress()
getProtocolVersion
byte getProtocolVersion()
getNetwork
int getNetwork()
exportToMap
java.util.Map<java.lang.String,java.lang.Object> exportToMap()
isAlive
boolean isAlive(long timeout)
isAlive
void isAlive(long timeout,
DHTPluginOperationListener listener)
isOrHasBeenLocal
boolean isOrHasBeenLocal()
openTunnel
java.util.Map openTunnel()
read
byte[] read(DHTPluginProgressListener listener,
byte[] handler_key,
byte[] key,
long timeout)
write
void write(DHTPluginProgressListener listener,
byte[] handler_key,
byte[] key,
byte[] data,
long timeout)
call
byte[] call(DHTPluginProgressListener listener,
byte[] handler_key,
byte[] data,
long timeout)
getString
java.lang.String getString()