Package ghidra.framework.model
Class ServerInfo
- java.lang.Object
-
- ghidra.framework.model.ServerInfo
-
- All Implemented Interfaces:
java.io.Serializable
public class ServerInfo extends java.lang.Object implements java.io.Serializable
Container for a host name and port number.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServerInfo(java.lang.String host, int portNumber)
Construct a new ServerInfo object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getPortNumber()
Get the port number.java.lang.String
getServerName()
Get the server name.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getServerName
public java.lang.String getServerName()
Get the server name.
-
getPortNumber
public int getPortNumber()
Get the port number.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-