public void StartService() { if (ServiceHost == null) { ServiceHost = new ServiceHost(Service); } Debug.Assert(NodeIdentifier != null, "NodeIdentifier != null"); KadCore.NodeIdentifier = NodeIdentifier; ServiceHost.Open(); KadCore.JoinToNetwork(); }
public void StoreIntoLookUp(TKey key, TValue value) { KadCore.StoreIntoLookUp(key, value); }
public void StoreLookUp(TKey key, IEnumerable <TValue> value) { KadCore.StoreLookUp(key, value); }
public IEnumerable <TValue> ValueLookUp(TKey key) { return(KadCore.ValueLookUp(key)); }