blob: a9db57590c359ca1fc92d4133af88b39a5f9d0e8 [file] [log] [blame]
tomd7356722014-08-26 01:07:39 -07001package org.onlab.onos.event;
2
3/**
4 * Abstraction of a mechanism capable of accepting and dispatching events.
5 * Whether the events are accepted and the dispatched synchronously or
6 * asynchronously is unspecified.
7 */
8public interface EventDispatcher<E extends Event> {
9
10 /**
11 * Posts the specified event for dispatching.
12 *
13 * @param event event to be posted
14 */
15 void post(E event);
16
17}