Mechanical code cleanup (sal-connector-api)
[controller.git] / opendaylight / md-sal / sal-connector-api / src / main / java / org / opendaylight / controller / sal / connector / api / RpcRouter.java
index 08fce5783ef691009b336dfc18fd7c6eb8402374..f49f7ef5f40b2ad47213a0c682fd1bf4d4901aaf 100644 (file)
@@ -1,9 +1,16 @@
+/*
+ * Copyright (c) 2014 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.concurrent.Future;
 
 /**
- * 
+ *
  * @author ttkacik
  *
  * @param <C> Routing Context Identifier
@@ -13,34 +20,34 @@ import java.util.concurrent.Future;
  */
 public interface RpcRouter<C,T,R,D> {
 
-    
-    
+
+
     Future<RpcReply<D>> sendRpc(RpcRequest<C, T, R, D> input);
-    
-    
+
+
     /**
-     * 
-     * @author 
+     *
+     * @author
      *
      * @param <C> Routing Context Identifier
         * @param <R> Route Type
         * @param <T> Rpc Type
         * @param <D> Data Type
      */
-    public interface RpcRequest<C,T,R,D> {
+    interface RpcRequest<C,T,R,D> {
 
         RouteIdentifier<C,T,R> getRoutingInformation();
         D getPayload();
     }
-    
-    public interface RouteIdentifier<C,T,R> {
-        
+
+    interface RouteIdentifier<C,T,R> {
+
         C getContext(); // defines a routing table (e.g. NodeContext)
         T getType(); // rpc type
         R getRoute(); // e.g. (node identity)
     }
-    
-    public interface RpcReply<D> {
+
+    interface RpcReply<D> {
         D getPayload();
     }
 }