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)
|
Map<String,Object> |
exportToMap()
|
InetSocketAddress |
getAddress()
|
byte[] |
getID()
|
String |
getName()
|
int |
getNetwork()
|
byte |
getProtocolVersion()
|
String |
getString()
|
boolean |
isAlive(long timeout)
|
void |
isAlive(long timeout,
DHTPluginOperationListener listener)
|
boolean |
isOrHasBeenLocal()
|
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
String getName()
getAddress
InetSocketAddress getAddress()
getProtocolVersion
byte getProtocolVersion()
getNetwork
int getNetwork()
exportToMap
Map<String,Object> exportToMap()
isAlive
boolean isAlive(long timeout)
isAlive
void isAlive(long timeout,
DHTPluginOperationListener listener)
isOrHasBeenLocal
boolean isOrHasBeenLocal()
openTunnel
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
String getString()