Convert OF samples to use DTCL instead of DCL
[openflowplugin.git] / samples / learning-switch / src / main / java / org / opendaylight / openflowplugin / learningswitch / LearningSwitchHandler.java
1 /**
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.openflowplugin.learningswitch;
9
10 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.Table;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingService;
12 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
13
14 /**
15  * 
16  */
17 public interface LearningSwitchHandler {
18
19     /**
20      * @param tablePath 
21      */
22     void onSwitchAppeared(InstanceIdentifier<Table> tablePath);
23
24     /**
25      * @param packetProcessingService the packetProcessingService to set
26      */
27    void setPacketProcessingService(PacketProcessingService packetProcessingService);
28
29    /**
30     * @param dataStoreAccessor the dataStoreAccessor to set
31     */
32    void setDataStoreAccessor(FlowCommitWrapper dataStoreAccessor);
33
34    /**
35     * @param registrationPublisher the registrationPublisher to set
36     */
37    void setRegistrationPublisher(DataTreeChangeListenerRegistrationHolder registrationPublisher);
38 }