Package org.vrspace.server.core
Class Dispatcher
- java.lang.Object
-
- org.vrspace.server.core.Dispatcher
-
public class Dispatcher extends Object
Event dispatcher. Prior to dispatching an event, performs sanity and ownership checks. Changes encapsulated in the event are then mapped to the source object. All private fields are then filtered out, and remaining changes are dispatched.
-
-
Constructor Summary
Constructors Constructor Description Dispatcher(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
-
Method Detail
-
dispatch
protected void dispatch(VREvent event) throws com.fasterxml.jackson.core.JsonProcessingException, IOException
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
IOException
-
-