Class ServerPing.Version

  • Enclosing class:
    ServerPing

    public static final class ServerPing.Version
    extends Object
    • Constructor Detail

      • Version

        public Version​(int protocol,
                       String name)
        Creates a new instance.
        Parameters:
        protocol - the protocol version as an integer
        name - a friendly name for the protocol version