Class 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:
    VREvent, Owned, Private
    • Constructor Detail

      • Dispatcher

        public 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