Package org.vrspace.server.dto
Class Enter
java.lang.Object
org.vrspace.server.dto.Enter
- All Implemented Interfaces:
Command
Enter a world. By default this command is asynchronous, and sends Welcome
message back over websocket. When async is false, it responds with
ClientResponse containing Welcome message.
- Author:
- joe
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
execute
(WorldManager manager, Client client) getToken()
Optional token required to enter private worlds@NonNull String
getWorld()
Name of the world to enterint
hashCode()
boolean
isAsync()
Asynchronous command, defaults to true.void
setAsync
(boolean async) Asynchronous command, defaults to true.void
Optional token required to enter private worldsvoid
Name of the world to entertoString()
-
Constructor Details
-
Enter
public Enter() -
Enter
-
Enter
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceCommand
- Throws:
ClassNotFoundException
-
getWorld
Name of the world to enter -
getToken
Optional token required to enter private worlds -
isAsync
public boolean isAsync()Asynchronous command, defaults to true. -
setWorld
Name of the world to enter -
setToken
Optional token required to enter private worlds -
setAsync
public void setAsync(boolean async) Asynchronous command, defaults to true. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-