Interface IEventAdapter
- All Superinterfaces:
IDisposable, IEntity
Monitors the instance for events. Receives events from the instance, filter the events, only send the selected events in order to reduce network traffic and applications workload.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddISListener(ISListener listener) Registers the ISListener.Returns the instance.voidremoveISListener(ISListener listener) Unregisters the ISListener.intSubscribes an event.voidunsubscribe(int subscriptionId) Unsubscribes an event.Methods inherited from interface IDisposable
addDisposedListener, removeDisposedListenerMethods inherited from interface IEntity
getUserContext, setUserContext
-
Method Details
-
addISListener
Registers the ISListener.- Parameters:
listener- Event listener to add.
-
removeISListener
Unregisters the ISListener.- Parameters:
listener- Event listener to remove.
-
getInstance
-
subscribe
-
unsubscribe
-