public class ServerInformation extends Object
| Constructor and Description |
|---|
ServerInformation()
Creates an empty instance
|
ServerInformation(String hostname,
int port)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getHostname()
Return the hostname.
|
int |
getPort()
Return the port
|
int |
hashCode() |
void |
setHostname(String hostname)
Set the hostname
|
void |
setPort(int port)
Set the port
|
String |
toString() |
public ServerInformation()
public ServerInformation(String hostname, int port)
hostname - The hostnameport - The portpublic String getHostname()
public void setHostname(String hostname)
hostname - See abovepublic int getPort()
public void setPort(int port)
port - See above
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.