public class ServerConfig
extends java.lang.Object
Constructor and Description |
---|
ServerConfig()
Create a new instance of ServerConfig
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAsHttps()
Get the https protocol value.
|
boolean |
getPasswordsRequired()
Get the passwords required value.
|
java.lang.String |
getServerAdminKey()
Get the key for server admin changes.
|
java.lang.String |
getServerContact()
Get the contact details for the server administrator.
|
java.lang.String |
getServerIP()
Get the server ip address.
|
java.lang.String |
getServerPassword()
Get the password for the server method invocation.
|
int |
getServerPort()
Get the port number to run the gui server on.
|
void |
setAsHttps(boolean thisAsHttps)
Set the https protocol value.
|
void |
setPasswordsRequired(boolean thisPasswordsRequired)
Set the passwords required value.
|
void |
setServerAdminKey(java.lang.String theServerAdminKey)
Set the key for server admin changes.
|
void |
setServerContact(java.lang.String theServerContact)
Set the contact details for the server adminisrator.
|
void |
setServerIP(java.lang.String theServerIP)
Set the server ip address.
|
void |
setServerPassword(java.lang.String theServerPassword)
Set the password for the server method invocation.
|
void |
setServerPort(int theServerPort)
Set the port number to run the gui server on.
|
public void setServerPort(int theServerPort)
theServerPort
- the port number.public int getServerPort()
public void setServerIP(java.lang.String theServerIP)
theServerIP
- the server ip address.public java.lang.String getServerIP()
public void setServerPassword(java.lang.String theServerPassword)
theServerPassword
- the server password.public java.lang.String getServerPassword()
public void setServerAdminKey(java.lang.String theServerAdminKey)
theServerAdminKey
- the server admin key.public java.lang.String getServerAdminKey()
public void setServerContact(java.lang.String theServerContact)
theServerContact
- the administrator contact details.public java.lang.String getServerContact()
public void setPasswordsRequired(boolean thisPasswordsRequired)
thisPasswordsRequired
- if true the server requires the passwords.public boolean getPasswordsRequired()
public void setAsHttps(boolean thisAsHttps)
thisAsHttps
- if true for the https protocol, false for http.public boolean getAsHttps()