Class Server
- java.lang.Object
-
- com.e1c.g5.v8.dt.platform.standaloneserver.core.config.Server
-
public class Server extends Object
Class to parse the part of infobase configuration file into an object.
-
-
Constructor Summary
Constructors Constructor Description Server()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Server
copy()
Creates a copy of the instance.boolean
equals(Object obj)
String
getAddress()
Returns the server address.int
getPort()
Returns the server port.int
hashCode()
void
setAddress(String address)
Sets the server address.void
setPort(int port)
Sets the server port.String
toString()
-
-
-
Method Detail
-
getAddress
public String getAddress()
Returns the server address.- Returns:
- the server address, never
null
-
setAddress
public void setAddress(String address)
Sets the server address.- Parameters:
address
- to set, cannot benull
-
getPort
public int getPort()
Returns the server port.- Returns:
- the server port, never
null
-
setPort
public void setPort(int port)
Sets the server port.- Parameters:
port
- to set, cannot benull
-
copy
public Server copy()
Creates a copy of the instance.- Returns:
- the copy instance, never
null
-
-