public interface BindingAwareRpcRouter extends RpcRouter<String, String, String, byte[]> {
@Override
- public Future<org.opendaylight.controller.sal.connector.api.RpcRouter.RpcReply<byte[]>> sendRpc(
+ Future<org.opendaylight.controller.sal.connector.api.RpcRouter.RpcReply<byte[]>> sendRpc(
RpcRequest<String, String, String, byte[]> input);
class BindingAwareRequest implements RpcRequest<String, String, String, byte[]>, Immutable {
* @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();
}
}