public class EventDispatcher
extends java.lang.Object
Constructor and Description |
---|
EventDispatcher(IMsalEventReceiver receiver)
Constructs a new EventDispatcher.
|
Modifier and Type | Method and Description |
---|---|
void |
dispatch(java.util.List<Event> eventsToPublish)
Dispatches the
Event instances associated to receiver. |
IMsalEventReceiver |
getReceiver()
Returns the
IMsalEventReceiver to which telemetry data is dispatched. |
public EventDispatcher(IMsalEventReceiver receiver)
receiver
- the IMsalEventReceiver
to receive Event
data.public IMsalEventReceiver getReceiver()
IMsalEventReceiver
to which telemetry data is dispatched.