Fix checkstyle violations in /sal-connector-api and sal-dummy-distributed-datastore
[controller.git] / opendaylight / md-sal / sal-connector-api / src / main / java / org / opendaylight / controller / sal / connector / api / RpcRouter.java
index f49f7ef5f40b2ad47213a0c682fd1bf4d4901aaf..c56560ac75f074f9ba735916c6a709e6f0de62c0 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.controller.sal.connector.api;
 import java.util.concurrent.Future;
 
 /**
+ * Interface for an RPC router.
  *
  * @author ttkacik
  *
@@ -19,31 +20,30 @@ import java.util.concurrent.Future;
  * @param <D> Data Type
  */
 public interface RpcRouter<C,T,R,D> {
-
-
-
     Future<RpcReply<D>> sendRpc(RpcRequest<C, T, R, D> input);
 
 
     /**
-     *
-     * @author
+     * Interface for an RPC request.
      *
      * @param <C> Routing Context Identifier
-        * @param <R> Route Type
-        * @param <T> Rpc Type
-        * @param <D> Data Type
+     * @param <R> Route Type
+     * @param <T> Rpc Type
+     * @param <D> Data Type
      */
     interface RpcRequest<C,T,R,D> {
 
         RouteIdentifier<C,T,R> getRoutingInformation();
+
         D getPayload();
     }
 
     interface RouteIdentifier<C,T,R> {
 
         C getContext(); // defines a routing table (e.g. NodeContext)
+
         T getType(); // rpc type
+
         R getRoute(); // e.g. (node identity)
     }