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.
Author:
joe
See Also:
  • Constructor Details

    • Dispatcher

      public Dispatcher(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
  • Method Details

    • dispatch

      protected void dispatch(VREvent event) throws com.fasterxml.jackson.core.JsonProcessingException, IOException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
      IOException