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 booleanbooleanexecute(WorldManager manager, Client client) getToken()Optional token required to enter private worlds@NonNull StringgetWorld()Name of the world to enterinthashCode()booleanisAsync()Asynchronous command, defaults to true.voidsetAsync(boolean async) Asynchronous command, defaults to true.voidOptional token required to enter private worldsvoidName of the world to entertoString() 
- 
Constructor Details
- 
Enter
public Enter() - 
Enter
 - 
Enter
 
 - 
 - 
Method Details
- 
execute
- Specified by:
 executein 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
 
 -