Interface EventSubscription
-
public interface EventSubscription
Represents single event subscription
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getNumberOfEvents(EventTracker tracker)
Returns number of events corresponding to this subscription from the specified event trackerString
serialize()
Serializes this subscription to string
-
-
-
Method Detail
-
getNumberOfEvents
int getNumberOfEvents(@NotNull EventTracker tracker)
Returns number of events corresponding to this subscription from the specified event tracker- Parameters:
tracker
- event tracker- Returns:
- number of events corresponding to this subscription
-
serialize
@NotNull String serialize()
Serializes this subscription to string- Returns:
- this subscription to string
-
-