mirror of
https://github.com/ChronosX88/KademliaDHT.git
synced 2024-11-22 02:02:21 +00:00
Added a few utility methods
This commit is contained in:
parent
2adfc9b277
commit
64dfdda1c3
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user