Delete netconf
[controller.git] / opendaylight / netconf / netconf-api / src / main / java / org / opendaylight / controller / netconf / api / monitoring / NetconfMonitoringService.java
diff --git a/opendaylight/netconf/netconf-api/src/main/java/org/opendaylight/controller/netconf/api/monitoring/NetconfMonitoringService.java b/opendaylight/netconf/netconf-api/src/main/java/org/opendaylight/controller/netconf/api/monitoring/NetconfMonitoringService.java
deleted file mode 100644 (file)
index d22412c..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright (c) 2013 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.controller.netconf.api.monitoring;
-
-import com.google.common.base.Optional;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.monitoring.rev101004.NetconfState;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.monitoring.rev101004.netconf.state.Capabilities;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.monitoring.rev101004.netconf.state.Schemas;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.monitoring.rev101004.netconf.state.Sessions;
-
-public interface NetconfMonitoringService extends CapabilityListener, SessionListener {
-
-    Sessions getSessions();
-
-    Schemas getSchemas();
-
-    String getSchemaForCapability(String moduleName, Optional<String> revision);
-
-    Capabilities getCapabilities();
-
-    /**
-     * Allows push based state information transfer. After the listener is registered, current state is pushed to the listener.
-     */
-    AutoCloseable registerListener(MonitoringListener listener);
-
-    interface MonitoringListener {
-
-        // TODO more granular updates would make sense
-        void onStateChanged(NetconfState state);
-    }
-}