diff --git a/src/kademlia/KademliaNode.java b/src/kademlia/KademliaNode.java index 0e99038..b242701 100644 --- a/src/kademlia/KademliaNode.java +++ b/src/kademlia/KademliaNode.java @@ -437,11 +437,22 @@ public class KademliaNode return nodeStateFolder.toString(); } + /** + * @return The routing table for this node. + */ public RoutingTable getRoutingTable() { return this.routingTable; } + /** + * @return The statistician that manages all statistics + */ + public Statistician getStatistician() + { + return this.statistician; + } + /** * Creates a string containing all data about this Kademlia instance *