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 Summary
Modifier and TypeMethodDescriptiondefault voidaddressRefused(InetSocketAddress address) The address already holds as many signaling connections as it may.default voidconnectionAccepted(String networkId, boolean verifiedIdentity) default voidjoinRefused(int httpStatus) The status names the reason, and is what the peer was refused with.default voidjoinThrottled(InetSocketAddress address) The server's throttle turned a join from the address away.default voidplaintextRefused(InetSocketAddress address) A request arrived without TLS where it is required.
-
Method Details
-
connectionAccepted
-
joinRefused
default void joinRefused(int httpStatus) The status names the reason, and is what the peer was refused with. -
addressRefused
The address already holds as many signaling connections as it may. -
plaintextRefused
A request arrived without TLS where it is required. -
joinThrottled
The server's throttle turned a join from the address away. Built-in HTTP signaling also reports the join tojoinRefused(int)with the status the peer got, so this breaks those down rather than adding to them.
-