Interface LocalEventConverter

  • All Known Implementing Classes:
    AbstractEventConverter

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

      • getPriority

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

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