Remove old NetVirt
[netvirt.git] / openstack / net-virt / src / main / java / org / opendaylight / netvirt / openstack / netvirt / api / EventDispatcher.java
diff --git a/openstack/net-virt/src/main/java/org/opendaylight/netvirt/openstack/netvirt/api/EventDispatcher.java b/openstack/net-virt/src/main/java/org/opendaylight/netvirt/openstack/netvirt/api/EventDispatcher.java
deleted file mode 100644 (file)
index 5fffb3b..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Red Hat, Inc. and others. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.netvirt.openstack.netvirt.api;
-
-import org.opendaylight.netvirt.openstack.netvirt.AbstractHandler;
-import org.opendaylight.netvirt.openstack.netvirt.AbstractEvent;
-import org.osgi.framework.ServiceReference;
-
-/**
- * Openstack related events will be enqueued into a common event queue.
- * This interface provides access to an event dispatcher, as well as registration to link dispatcher to which handlers
- * dispatcher will utilize.
- */
-public interface EventDispatcher {
-    /**
-     * Enqueue the event.
-     * @param event the {@link AbstractEvent} event to be handled.
-     */
-    void enqueueEvent(AbstractEvent event);
-    void eventHandlerAdded(final ServiceReference ref, AbstractHandler handler);
-    void eventHandlerRemoved(final ServiceReference ref);
-}
-