Package com.denodo.commons
Class ServerPorts
java.lang.Object
com.denodo.commons.ServerPorts
- All Implemented Interfaces:
Serializable
Encapsulates the port numbers required by RMI server.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final longFor interoperability with possible future changes. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetPort()intintvoidsetPort(int port) voidsetReservedPort(int reservedPort) voidsetShutdownPort(int shutdownPort) toString()
-
Field Details
-
serialVersionUID
protected static final long serialVersionUIDFor interoperability with possible future changes.- See Also:
-
-
Constructor Details
-
ServerPorts
public ServerPorts(int port, int shutdownPort, int reservedPort)
-
-
Method Details
-
getPort
public int getPort() -
setPort
public void setPort(int port) -
getShutdownPort
public int getShutdownPort() -
setShutdownPort
public void setShutdownPort(int shutdownPort) -
getReservedPort
public int getReservedPort() -
setReservedPort
public void setReservedPort(int reservedPort) -
toString
-