Package org.vrspace.server.dto
Class Remove
- java.lang.Object
-
- org.vrspace.server.dto.Remove
-
- All Implemented Interfaces:
Command
public class Remove extends Object implements Command
Remove object from the scene or world. This message is sent by the server when objects are removed from the scene, i.e. no longer visible. But when client sends the message, objects are removed from the world. JSON message structure is the same in both cases.- Author:
- joe
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
ClientResponse
execute(WorldManager world, Client client)
Iterator<Map<String,Long>>
getIterator()
List<Map<String,Long>>
getObjects()
List of objects identifiers (class name + id pairs) to removeint
hashCode()
ID
next()
Remove
remove(String className, Long id)
Remove
removeObject(VRObject obj)
void
setIterator(Iterator<Map<String,Long>> iterator)
void
setObjects(List<Map<String,Long>> objects)
List of objects identifiers (class name + id pairs) to removeString
toString()
-
-
-
Method Detail
-
execute
public ClientResponse execute(WorldManager world, Client client)
-
next
public ID next()
-
getObjects
public List<Map<String,Long>> getObjects()
List of objects identifiers (class name + id pairs) to remove
-
setObjects
public void setObjects(List<Map<String,Long>> objects)
List of objects identifiers (class name + id pairs) to remove
-
canEqual
protected boolean canEqual(Object other)
-
-