blob: 8236d8991a068be7d7a1a0567b9f9e7a83b356c7 [file] [log] [blame]
tomd7356722014-08-26 01:07:39 -07001package org.onlab.onos.event;
2
3/**
tom18567e92014-08-26 01:39:47 -07004 * Abstraction of a mechanism capable of accepting and dispatching events to
5 * appropriate event sinks. Where the event sinks are obtained is unspecified.
6 * Similarly, whether the events are accepted and dispatched synchronously
7 * or asynchronously is unspecified as well.
tomd7356722014-08-26 01:07:39 -07008 */
9public interface EventDispatcher<E extends Event> {
10
11 /**
12 * Posts the specified event for dispatching.
13 *
14 * @param event event to be posted
15 */
16 void post(E event);
17
18}