Class PeersManager

java.lang.Object
org.drasyl.peer.PeersManager

public class PeersManager extends Object
This class contains information about other peers. This includes the public keys, available interfaces, connections or relations (e.g. direct/relayed connection, super peer, child). Before a relation is set for a peer, it must be ensured that its information is available. Likewise, the information may not be removed from a peer if the peer still has a relation

This class is optimized for concurrent access and is thread-safe.