addDisconnectionReason

Increments the specified reason for why a connection was lost to the specified java.net.InetAddress.

Parameters

reason

the numeric representation of the Enum.ordinal value via the disconnectionReasons.