public static interface DriverSubscriptionModel.ModelChangeListener
SubscriptionItem
s are added to or removed from the
driver.Modifier and Type | Method and Description |
---|---|
void |
itemsAdded(java.util.List<? extends SubscriptionItem> added)
Called
SubscriptionItem s have been added to the driver. |
void |
itemsRemoved(java.util.List<? extends SubscriptionItem> removed)
Called when
SubscriptionItem s have been removed from the driver. |
void itemsAdded(java.util.List<? extends SubscriptionItem> added)
SubscriptionItem
s have been added to the driver.added
- Newly subscribed SubscriptionItem
s the server is now expecting regular updates for.void itemsRemoved(java.util.List<? extends SubscriptionItem> removed)
SubscriptionItem
s have been removed from the driver.removed
- Previously subscribed SubscriptionItem
s that the server is no longer expecting updates for.