Package gaiasky.util
Class Settings.ProgramSettings.NetSettings
java.lang.Object
gaiasky.util.SettingsObject
gaiasky.util.Settings.ProgramSettings.NetSettings
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
,Cloneable
- Enclosing class:
Settings.ProgramSettings
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionint
Fields inherited from class gaiasky.util.SettingsObject
parent
-
Constructor Summary
-
Method Summary
Methods inherited from class gaiasky.util.SettingsObject
isEnabled, setParent
-
Field Details
-
restPort
public int restPort -
master
-
slave
-
-
Constructor Details
-
NetSettings
public NetSettings()
-
-
Method Details
-
getNetName
-
isMasterInstance
public boolean isMasterInstance() -
isSlaveInstance
public boolean isSlaveInstance() -
isSlaveMPCDIPresent
public boolean isSlaveMPCDIPresent()Checks whether the MPCDI configuration file for this slave is set- Returns:
- Whether the MPCDI file for this slave is set
-
areSlaveConfigPropertiesPresent
public boolean areSlaveConfigPropertiesPresent()Checks whether the slave is configured directly in the properties file of Gaia Sky- Returns:
- Whether the slave is configured in the properties file
-
clone
- Overrides:
clone
in classSettingsObject
-
setParentRecursive
- Specified by:
setParentRecursive
in classSettingsObject
-
setupListeners
protected void setupListeners()- Specified by:
setupListeners
in classSettingsObject
-
dispose
public void dispose() -
apply
public void apply()
-