Interface DHTPluginContact

All Known Implementing Classes:
DHTPluginContactImpl

public interface DHTPluginContact
  • Method Details

    • 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()