public KadCore(RoutingTable <TKey> routingTable, KademeliaSettings settings, Func <NodeIdentifier <TKey>, IKadNode <TKey, TValue> > createClientFromNodeIdDelegate, NodeIdentifier <TKey> nodeIdentifier = null) { _createClientFromNodeIdDelegate = createClientFromNodeIdDelegate; RoutingTable = routingTable; Settings = settings; NodeIdentifier = nodeIdentifier; }
public SetKadCore(RoutingTable <TKey> routingTable, KademeliaSettings settings, Func <NodeIdentifier <TKey>, ISetKadNode <TKey, TValue> > createClientFromNodeIdDelegate, NodeIdentifier <TKey> nodeIdentifier) : base(routingTable, settings, createClientFromNodeIdDelegate, nodeIdentifier) { }