* @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();
}
}