Interface RemoteEventConverter

  • All Known Implementing Classes:
    AbstractEventConverter

    @Role
    public interface RemoteEventConverter
    Convert a remote event to a local event.
    Since:
    2.0M3
    Version:
    $Id: a724b623d650f4ea0cad35bdbecb782419da123d $
    • Method Detail

      • getPriority

        int getPriority()
        Returns:
        the priority of the converter
      • fromRemote

        boolean fromRemote​(RemoteEventData remoteEvent,
                           LocalEventData localEvent)
        Convert provided remote event to local event by filling the provided local event object.
        Parameters:
        remoteEvent - the remote event
        localEvent - the local event
        Returns:
        if the converter support this conversion it should return true after the conversion, otherwise false