Package org.vrspace.server.dto
Class Echo
java.lang.Object
org.vrspace.server.dto.Echo
- All Implemented Interfaces:
Command
Echoes back the command for e.g. client development purposes. Examples
{"command":{"Echo":{"command":{"Remove":{"objects":[{"VRObject":1},{"VRObject":2},{"Client":1}]}}}}}
{"command":{"Echo":{"event":{"object":{"VRObject":1},"changes":{"field1":"value2","field2":5,"field3":{"id":2},"field4":{"one":1,"two":"two"}}}}}}
{"command":{"Echo":{"event":{"object":{"Client":0},"changes":{"name":"NewClientName"}}}}}
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanexecute(WorldManager world, Client client) getEvent()inthashCode()voidsetCommand(Command command) voidtoString()
-
Field Details
-
command
-
event
-
-
Constructor Details
-
Echo
-
Echo
-
Echo
public Echo()
-
-
Method Details