Interface EventConverterManager


  • @Role
    public interface EventConverterManager
    Provide events converters.
    Since:
    2.0M3
    Version:
    $Id: 5da25f277c6e62ef86fb6eca48f902d1fc114886 $
    • Method Detail

      • getLocalEventConverters

        List<LocalEventConverter> getLocalEventConverters()
        Returns:
        the local to remote events converters
      • getRemoteEventConverters

        List<RemoteEventConverter> getRemoteEventConverters()
        Returns:
        the remote to local events converters
      • createRemoteEventData

        RemoteEventData createRemoteEventData​(LocalEventData localEvent)
        Convert a local event to a remote event.
        Parameters:
        localEvent - the local event
        Returns:
        the remote event, if null the event should not be sent to the network.
      • createLocalEventData

        LocalEventData createLocalEventData​(RemoteEventData remoteEvent)
        Convert a remote event to a local event.
        Parameters:
        remoteEvent - the remote event
        Returns:
        the local event, if null the event should not send to ObservationManager.