Package org.vrspace.server.api
Class ServerInfo.ServerConfiguration
java.lang.Object
org.vrspace.server.api.ServerInfo.ServerConfiguration
- Enclosing class:
- ServerInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintMaximum concurrent sessions per server, 0 for unlimitedintSessions over maxSessions will wait this many seconds to start, 0 for unlimitedHTTP session timeout.WebSocket that clients use to connectWebSocket that other servers use to connectinthashCode()booleanWorlds are created on demandbooleanGuest (without login) access is allowedvoidsetCreateWorlds(boolean createWorlds) Worlds are created on demandvoidsetGuestAllowed(boolean guestAllowed) Guest (without login) access is allowedvoidsetMaxSessions(int maxSessions) Maximum concurrent sessions per server, 0 for unlimitedvoidsetSessionStartTimeout(int sessionStartTimeout) Sessions over maxSessions will wait this many seconds to start, 0 for unlimitedvoidsetSessionTimeout(String sessionTimeout) HTTP session timeout.voidsetWebSocketClientPath(String webSocketClientPath) WebSocket that clients use to connectvoidsetWebSocketServerPath(String webSocketServerPath) WebSocket that other servers use to connecttoString()
-
Constructor Details
-
ServerConfiguration
public ServerConfiguration()
-
-
Method Details
-
isGuestAllowed
public boolean isGuestAllowed()Guest (without login) access is allowed -
isCreateWorlds
public boolean isCreateWorlds()Worlds are created on demand -
getMaxSessions
public int getMaxSessions()Maximum concurrent sessions per server, 0 for unlimited -
getSessionStartTimeout
public int getSessionStartTimeout()Sessions over maxSessions will wait this many seconds to start, 0 for unlimited -
getSessionTimeout
HTTP session timeout. -
getWebSocketClientPath
WebSocket that clients use to connect -
getWebSocketServerPath
WebSocket that other servers use to connect -
setGuestAllowed
public void setGuestAllowed(boolean guestAllowed) Guest (without login) access is allowed -
setCreateWorlds
public void setCreateWorlds(boolean createWorlds) Worlds are created on demand -
setMaxSessions
public void setMaxSessions(int maxSessions) Maximum concurrent sessions per server, 0 for unlimited -
setSessionStartTimeout
public void setSessionStartTimeout(int sessionStartTimeout) Sessions over maxSessions will wait this many seconds to start, 0 for unlimited -
setSessionTimeout
HTTP session timeout. -
setWebSocketClientPath
WebSocket that clients use to connect -
setWebSocketServerPath
WebSocket that other servers use to connect -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-