Merge "make ConfigurationServiceFactoryImpl independent of OSGi"
[openflowplugin.git] / samples / learning-switch / src / main / java / org / opendaylight / openflowplugin / learningswitch / LearningSwitchHandler.java
index be0aca404c512fefac00fedc7843bec85eb892f9..0584e12c16b74acf35d1da54334f61c03d0b13f9 100644 (file)
@@ -8,31 +8,14 @@
 package org.opendaylight.openflowplugin.learningswitch;
 
 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.Table;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingService;
 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
 
-/**
- * 
- */
 public interface LearningSwitchHandler {
 
     /**
-     * @param tablePath 
+     * Invoked when a switch appears.
+     *
+     * @param tablePath the table path
      */
     void onSwitchAppeared(InstanceIdentifier<Table> tablePath);
-
-    /**
-     * @param packetProcessingService the packetProcessingService to set
-     */
-   void setPacketProcessingService(PacketProcessingService packetProcessingService);
-
-   /**
-    * @param dataStoreAccessor the dataStoreAccessor to set
-    */
-   void setDataStoreAccessor(FlowCommitWrapper dataStoreAccessor);
-
-   /**
-    * @param registrationPublisher the registrationPublisher to set
-    */
-   void setRegistrationPublisher(DataChangeListenerRegistrationHolder registrationPublisher);
 }