Package com.biglybt.plugin.dht
Interface DHTPluginContact
- All Known Implementing Classes:
DHTPluginContactImpl
public interface DHTPluginContact
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
call
(DHTPluginProgressListener listener, byte[] handler_key, byte[] data, long timeout) byte[]
getID()
getName()
int
byte
boolean
isAlive
(long timeout) void
isAlive
(long timeout, DHTPluginOperationListener listener) boolean
byte[]
read
(DHTPluginProgressListener listener, byte[] handler_key, byte[] key, long timeout) void
write
(DHTPluginProgressListener listener, byte[] handler_key, byte[] key, byte[] data, long timeout)
-
Method Details
-
getID
byte[] getID() -
getName
String getName() -
getAddress
InetSocketAddress getAddress() -
getProtocolVersion
byte getProtocolVersion() -
getNetwork
int getNetwork() -
exportToMap
-
isAlive
boolean isAlive(long timeout) -
isAlive
-
isOrHasBeenLocal
boolean isOrHasBeenLocal() -
openTunnel
Map openTunnel() -
read
-
write
void write(DHTPluginProgressListener listener, byte[] handler_key, byte[] key, byte[] data, long timeout) -
call
-
getString
String getString()
-