/*
- * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
+ * Copyright (c) 2015, 2017 Cisco Systems, 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.openflowplugin.api.openflow;
-import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
-import org.opendaylight.openflowjava.protocol.spi.connection.SwitchConnectionProvider;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflowplugin.api.types.rev150327.OfpRole;
-import java.util.Collection;
+import org.opendaylight.mdsal.binding.api.BindingService;
/**
- * Created by Martin Bobak <mbobak@cisco.com> on 27.3.2015.
+ * Plugin services provider.
*/
-public interface OpenFlowPluginProvider extends AutoCloseable {
-
-
- public void onSessionInitiated(BindingAwareBroker.ProviderContext session);
-
- /**
- * Method sets openflow java's connection providers.
- */
- public void setSwitchConnectionProviders(Collection<SwitchConnectionProvider> switchConnectionProvider);
-
-
- /**
- * Method sets role of this application in clustered environment.
- */
- public void setRole(OfpRole role);
+public interface OpenFlowPluginProvider extends AutoCloseable, BindingService {
/**
* Method initializes all DeviceManager, RpcManager and related contexts.
*/
- public void initialize();
+ void initialize();
}