Interface NetherServerMetrics


public interface NetherServerMetrics
Events that belong to the listener rather than to one connection, which is the only place a join that never became a channel can be seen. Anything that happens once a connection exists belongs on its channel instead.
See Also:
  • Method Details

    • connectionAccepted

      default void connectionAccepted(String networkId, boolean verifiedIdentity)
    • joinRefused

      default void joinRefused(int httpStatus)
      The status names the reason, and is what the peer was refused with.
    • addressRefused

      default void addressRefused(InetSocketAddress address)
      The address already holds as many signaling connections as it may.
    • plaintextRefused

      default void plaintextRefused(InetSocketAddress address)
      A request arrived without TLS where it is required.
    • joinThrottled

      default void joinThrottled(InetSocketAddress address)
      The server's throttle turned a join from the address away. Built-in HTTP signaling also reports the join to joinRefused(int) with the status the peer got, so this breaks those down rather than adding to them.