2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
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
9 package org.opendaylight.openflowplugin.api.openflow.rpc;
11 import org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceContextClosedHandler;
12 import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
13 import org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceInitializationPhaseHandler;
14 import org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceInitializator;
17 * The RPC Manager will maintain an RPC Context for each online switch. RPC context for device is created when
18 * {@link org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceInitializationPhaseHandler#onDeviceContextLevelUp(org.opendaylight.openflowplugin.api.openflow.device.DeviceContext)}
21 * Created by Martin Bobak <mbobak@cisco.com> on 25.2.2015.
23 public interface RpcManager extends DeviceInitializator, DeviceInitializationPhaseHandler, AutoCloseable, DeviceContextClosedHandler {
25 void setStatisticsRpcEnabled(boolean isStatisticsRpcEnabled);
27 void setNotificationPublishService(NotificationPublishService notificationPublishService);