1 package example.symphony;
\r
3 import peersim.core.Node;
\r
7 * @author Andrea Esposito <and1989@gmail.com>
\r
9 public interface Handler {
\r
12 * Handler associable to a routing request
\r
14 * @param src Symphony Protocol that has sent the routing request
\r
15 * @param evt Tuple that contains: Node that manages the identifier, Identifier that the routing
\r
18 void handle(SymphonyProtocol src, Tuple<Node, Double> evt);
\r