Class ServerInfo

java.lang.Object
ghidra.framework.model.ServerInfo
All Implemented Interfaces:
Serializable

public class ServerInfo extends Object implements Serializable
Container for a host name and port number.
See Also:
  • Constructor Details

    • ServerInfo

      public ServerInfo(String host, int portNumber)
      Construct a new ServerInfo object
      Parameters:
      host - host name
      portNumber - port number
  • Method Details

    • getServerName

      public String getServerName()
      Get the server hostname or IP address as originally specified.
      Returns:
      hostname or IP address as originally specified
    • getPortNumber

      public int getPortNumber()
      Get the port number.
      Returns:
      port number
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object