blob: 847df88f83a60480c8aab6a259b76d926b9a595f [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 */
tom32f66842014-08-27 19:27:47 -07009public interface EventDispatcher {
tomd7356722014-08-26 01:07:39 -070010
11 /**
12 * Posts the specified event for dispatching.
13 *
14 * @param event event to be posted
15 */
tom32f66842014-08-27 19:27:47 -070016 void post(Event event);
tomd7356722014-08-26 01:07:39 -070017
18}