/// <summary> /// /// </summary> public void QStop() { foreach (DictionaryEntry _q in Publishers.CurrentCacheState) { CacheItem _citem = _q.Value as CacheItem; QAgency _agency = _citem.Value as QAgency; QWriter.SendSignOut(QMaster, _agency, _agency.Certkey); //Remove(_agency); } }
/// <summary> /// /// </summary> /// <param name="queue_server"></param> public void QStop(QAgency queue_server) { Guid _certkey = Certkey(queue_server); // I will service out using the certification key. if (_certkey != Guid.Empty) { QWriter.SendSignOut(QMaster, queue_server, _certkey); } else { Remove(queue_server, null); } }