public class NodeManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NodeManager.ConnectionType
Defines the types of node manager connections.
|
| Constructor and Description |
|---|
NodeManager() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress()
Returns the address of the NodeManager.
|
NodeManager.ConnectionType |
getConnectionType()
Returns the connectionType of the NodeManager.
|
String |
getName()
Returns the name of the NodeManager.
|
Integer |
getPort()
Returns the port of the NodeManager.
|
NodeManager |
setAddress(String address)
Sets the address of the NodeManager.
|
NodeManager |
setConnectionType(NodeManager.ConnectionType connectionType)
Sets the connectionType of the NodeManager.
|
NodeManager |
setName(String name)
Sets the name of the NodeManager.
|
NodeManager |
setPort(Integer port)
Sets the port of the NodeManager.
|
public String getAddress()
public NodeManager.ConnectionType getConnectionType()
public String getName()
public Integer getPort()
public NodeManager setAddress(String address)
address - a String used to set addresspublic NodeManager setConnectionType(NodeManager.ConnectionType connectionType)
connectionType - a ConnectionType object use to set connection typepublic NodeManager setName(String name)
name - a String used to set namepublic NodeManager setPort(Integer port)
port - an Integer used to set port