Interface LocalEventConverter
-
- All Known Implementing Classes:
AbstractEventConverter
@Role public interface LocalEventConverterConvert a local event to a serializable remote event.- Since:
- 2.0M3
- Version:
- $Id: c4c234387cef306c81a2b23291d99299628fb384 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetPriority()booleantoRemote(LocalEventData localEvent, RemoteEventData remoteEvent)Convert provided local event to remote event by filling the provided remote event object.
-
-
-
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 eventremoteEvent- the remote event- Returns:
- if the converter support this conversion it should return true after the conversion, otherwise false
-
-