Class ServerPing.Protocol

  • Enclosing class:
    ServerPing

    public static class ServerPing.Protocol
    extends Object
    • Constructor Detail

      • Protocol

        public Protocol​(String name,
                        int protocol)
    • Method Detail

      • getName

        public String getName()
      • getProtocol

        public int getProtocol()
      • setName

        public void setName​(String name)
      • setProtocol

        public void setProtocol​(int protocol)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object