Class DhtPutAlert

All Implemented Interfaces:
Alert<dht_put_alert>

public final class DhtPutAlert extends AbstractAlert<dht_put_alert>
This is posted when a DHT put operation completes. This is useful if the client is waiting for a put to complete before shutting down for instance.
  • Method Details

    • target

      public Sha1Hash target()
      The target hash the item was stored under if this was an *immutable* item.
      Returns:
    • publicKey

      public byte[] publicKey()
      if a mutable item was stored, these are the public key, signature, salt and sequence number the item was stored under.
      Returns:
    • signature

      public byte[] signature()
      if a mutable item was stored, these are the public key, signature, salt and sequence number the item was stored under.
      Returns:
    • salt

      public byte[] salt()
      if a mutable item was stored, these are the public key, signature, salt and sequence number the item was stored under.
      Returns:
    • seq

      public long seq()
      if a mutable item was stored, these are the public key, signature, salt and sequence number the item was stored under.
      Returns: