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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
fromRemote(RemoteEventData remoteEvent, LocalEventData localEvent)
Convert provided remote event to local event by filling the provided local event object.int
getPriority()
-
-
-
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 eventlocalEvent
- the local event- Returns:
- if the converter support this conversion it should return true after the conversion, otherwise false
-
-