public class SimpleInstanceData extends Object implements InstanceData
InstanceData implementation.| Constructor and Description |
|---|
SimpleInstanceData() |
| Modifier and Type | Method and Description |
|---|---|
String |
getHostname()
Get the hostname for this instance.
|
int |
getPort()
Get the port for this instance.
|
void |
setHostname(String inHostname)
Sets the hostname value.
|
void |
setPort(int inPort)
Sets the port value.
|
String |
toString() |
public String getHostname()
InstanceDatagetHostname in interface InstanceDataString valuepublic int getPort()
InstanceDatagetPort in interface InstanceDataint valuepublic void setHostname(String inHostname)
inHostname - a String valuepublic void setPort(int inPort)
inPort - an int valueCopyright © 2020. All rights reserved.