Added Yang code generation for Multipart messages
[openflowjava.git] / openflow-protocol-spi / src / main / java / org / opendaylight / openflowjava / protocol / spi / connection / SwitchConnectionProvider.java
index 2d1a16caf4bc75ce6adfaa3b7726b0e71bb7f5fe..9cf1b736c17dfd3f79f59cfa58d069aa77d47037 100644 (file)
@@ -1,10 +1,4 @@
-/**
- * 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
- */
+/* Copyright (C)2013 Pantheon Technologies, s.r.o. All rights reserved. */
 
 package org.opendaylight.openflowjava.protocol.spi.connection;
 
@@ -17,6 +11,7 @@ import org.opendaylight.openflowjava.protocol.api.connection.SwitchConnectionHan
 
 /**
  * @author mirehak
+ * @author michal.polkorab
  *
  */
 public interface SwitchConnectionProvider {
@@ -28,7 +23,7 @@ public interface SwitchConnectionProvider {
     
     /**
      * start listening to switches, but please don't forget to do
-     * {@link #setSwitchConnectionListener(SwitchConnectionHandler)} first
+     * {@link #setSwitchConnectionHandler(SwitchConnectionHandler)} first
      * @return future, triggered to true, when all listening channels are up and running
      */
     public Future<List<Boolean>> startup();
@@ -37,11 +32,11 @@ public interface SwitchConnectionProvider {
      * stop listening to switches
      * @return future, triggered to true, when all listening channels are down
      */
-    public Future<Boolean> shutdown();
+    public Future<List<Boolean>> shutdown();
     
     /**
-     * @param switchConListener instance being informed when new switch connects
+     * @param switchConHandler instance being informed when new switch connects
      */
-    public void setSwitchConnectionListener(SwitchConnectionHandler switchConListener);
+    public void setSwitchConnectionHandler(SwitchConnectionHandler switchConHandler);
     
 }