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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
execute
(WorldManager world, Client client) getEvent()
int
hashCode()
void
setCommand
(Command command) void
toString()
-
Field Details
-
command
-
event
-
-
Constructor Details
-
Echo
-
Echo
-
Echo
public Echo()
-
-
Method Details