Package nxt.peer

Enum Class Peers.Event

All Implemented Interfaces:
Serializable, Comparable<Peers.Event>, Constable
Enclosing class:
Peers

public static enum Peers.Event extends Enum<Peers.Event>
  • Enum Constant Details

    • BLACKLIST

      public static final Peers.Event BLACKLIST
    • UNBLACKLIST

      public static final Peers.Event UNBLACKLIST
    • ADD_PEER

      public static final Peers.Event ADD_PEER
    • CHANGE_ANNOUNCED_ADDRESS

      public static final Peers.Event CHANGE_ANNOUNCED_ADDRESS
    • CHANGE_SERVICES

      public static final Peers.Event CHANGE_SERVICES
    • REMOVE_PEER

      public static final Peers.Event REMOVE_PEER
    • ADD_ACTIVE_PEER

      public static final Peers.Event ADD_ACTIVE_PEER
    • CHANGE_ACTIVE_PEER

      public static final Peers.Event CHANGE_ACTIVE_PEER
  • Method Details

    • values

      public static Peers.Event[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Peers.Event valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null