Package org.vrspace.server.config
Class ServerConfig
java.lang.Object
org.vrspace.server.config.ServerConfig
General server configuration. By default guest users are allowed
(guestAllowed:true), new worlds are created on Enter command
(createWorlds:true), number of concurrent sessions is unlimited
(maxSessions:0), and session start fails immediately if maxSessions is
reached (sessionStartTimeout:0)
- Author:
- joe
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
int
int
long
int
hashCode()
boolean
boolean
boolean
boolean
boolean
boolean
void
setAvailable
(boolean available) void
setBehindProxy
(boolean behindProxy) void
setCreateWorlds
(boolean createWorlds) void
setGuestAllowed
(boolean guestAllowed) void
setMaxSessions
(int maxSessions) void
setSeleniumEnabled
(boolean seleniumEnabled) void
setServerDescripton
(String serverDescripton) void
setServerThumbnail
(String serverThumbnail) void
setServerUrl
(String serverUrl) void
setSessionStartTimeout
(int sessionStartTimeout) void
setWriteBackActive
(boolean writeBackActive) void
setWriteBackDelay
(long writeBackDelay) toString()
-
Constructor Details
-
ServerConfig
public ServerConfig()
-
-
Method Details
-
isGuestAllowed
public boolean isGuestAllowed() -
isCreateWorlds
public boolean isCreateWorlds() -
getMaxSessions
public int getMaxSessions() -
getSessionStartTimeout
public int getSessionStartTimeout() -
isBehindProxy
public boolean isBehindProxy() -
isSeleniumEnabled
public boolean isSeleniumEnabled() -
isWriteBackActive
public boolean isWriteBackActive() -
getWriteBackDelay
public long getWriteBackDelay() -
getServerDescripton
-
getServerUrl
-
getServerThumbnail
-
isAvailable
public boolean isAvailable() -
setGuestAllowed
public void setGuestAllowed(boolean guestAllowed) -
setCreateWorlds
public void setCreateWorlds(boolean createWorlds) -
setMaxSessions
public void setMaxSessions(int maxSessions) -
setSessionStartTimeout
public void setSessionStartTimeout(int sessionStartTimeout) -
setBehindProxy
public void setBehindProxy(boolean behindProxy) -
setSeleniumEnabled
public void setSeleniumEnabled(boolean seleniumEnabled) -
setWriteBackActive
public void setWriteBackActive(boolean writeBackActive) -
setWriteBackDelay
public void setWriteBackDelay(long writeBackDelay) -
setServerDescripton
-
setServerUrl
-
setServerThumbnail
-
setAvailable
public void setAvailable(boolean available) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-