Bulk-add copyright headers to java files
[controller.git] / opendaylight / md-sal / sal-connector-api / src / main / java / org / opendaylight / controller / sal / connector / api / Connector.java
index e47d67e8cf020164ea60601a79ecbf2d999c0dd7..efa24d099f589f77db327ee0f06951237375d599 100644 (file)
@@ -1,9 +1,25 @@
+/*
+ * 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.sal.connector.api;
 
 import java.util.Set;
 
-import org.opendaylight.yangtools.yang.model.api.RevisionAwareXPath;
+import org.opendaylight.controller.sal.core.api.RpcImplementation;
+import org.opendaylight.controller.sal.core.api.notify.NotificationListener;
+import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
 
-public interface Connector {
+public interface Connector extends RpcImplementation, NotificationListener {
 
+    
+    
+    Set<InstanceIdentifier> getConfigurationPrefixes();
+    Set<InstanceIdentifier> getRuntimePrefixes();
+    
+    void registerListener(ConnectorListener listener);
+    void unregisterListener(ConnectorListener listener);
 }