public interface FireEvent extends ContextProvider, Identifiable
Modifier and Type | Method and Description |
---|---|
default boolean |
fire(Event event)
tries to fire an an Event 5 times, returns true if succeed.
|
default boolean |
fire(Event event,
int retry)
tries to fire an an Event specified times, returns true if succeed.
|
default boolean |
fire(String type,
List<String> descriptors)
tries to fire an Event 5 times, returns true if succeed.
|
default boolean |
fire(String type,
List<String> descriptors,
int retry)
tries to fire an an Event specified times, returns true if succeed.
|
default boolean |
fire(String type,
String descriptor)
tries to fire an Event 5 times, returns true if succeed.
|
debug, debug, error, error, getContext
getID, isOwner
default boolean fire(String type, String descriptor)
If there is currently another Event getting processed, it will wait for 100 milliseconds and try for 5 times.
type
- the type of the Event (See static Strings in IzouSDK Events)descriptor
- the single descriptor of the Eventdefault boolean fire(String type, List<String> descriptors)
If there is currently another Event getting processed, it will wait for 100 milliseconds and try for 5 times.
type
- the type of the Event (See static Strings in IzouSDK Events)descriptors
- the Descriptors of the Eventdefault boolean fire(String type, List<String> descriptors, int retry)
If there is currently another Event getting processed, it will wait for 100 milliseconds and try for retry-times.
type
- the type of the Event (See static Strings in IzouSDK Events)descriptors
- the Descriptors of the Eventretry
- how many times it should trydefault boolean fire(Event event, int retry)
If there is currently another Event getting processed, it will wait for 100 milliseconds and try for retry-times.
event
- the event to fireretry
- how many times it should tryCopyright © 2016. All rights reserved.