Class ClientInfo


  • public class ClientInfo
    extends java.lang.Object
    Information about the client

    Since 3.15.0

    • Constructor Summary

      Constructors 
      Constructor Description
      ClientInfo()  
      ClientInfo​(java.lang.String name)  
      ClientInfo​(java.lang.String name, java.lang.String version)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getName()
      The name of the client as defined by the client.
      java.lang.String getVersion()
      The client's version as defined by the client.
      int hashCode()  
      void setName​(java.lang.String name)
      The name of the client as defined by the client.
      void setVersion​(java.lang.String version)
      The client's version as defined by the client.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ClientInfo

        public ClientInfo()
      • ClientInfo

        public ClientInfo​(java.lang.String name)
      • ClientInfo

        public ClientInfo​(java.lang.String name,
                          java.lang.String version)
    • Method Detail

      • getName

        public java.lang.String getName()
        The name of the client as defined by the client.
      • setName

        public void setName​(java.lang.String name)
        The name of the client as defined by the client.
      • getVersion

        public java.lang.String getVersion()
        The client's version as defined by the client.
      • setVersion

        public void setVersion​(java.lang.String version)
        The client's version as defined by the client.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object