Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
c78d774566f6cbb45e8dbab926ff5a62641acda0
[simgrid.git] / contrib / psg / src / example / symphony / Handler.java
1 package example.symphony;\r
2 \r
3 import peersim.core.Node;\r
4 \r
5 /**\r
6  *\r
7  * @author Andrea Esposito <and1989@gmail.com>\r
8  */\r
9 public interface Handler {\r
10 \r
11     /**\r
12      * Handler associable to a routing request\r
13      *\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
16      * has done on\r
17      */\r
18     void handle(SymphonyProtocol src, Tuple<Node, Double> evt);\r
19 }\r