Пример #1
0
            public void OnReceiveAssociationAccept(DicomAssociation association)
            {
                _client._assoc.Set();
                _client._assoc = null;

                foreach (var request in _client._requests)
                {
                    //zssure:2015-04-14,try to conform whether AddRequest and Send uses the same one client
                    LogManager.Default.GetLogger("Dicom.Network").Info("zssure debug at 20150414,the DicomRequest object is {0},the DicomClient is{1},the DicomServiceUser is {2}", request.GetHashCode(), _client.GetHashCode(), this.GetHashCode());
                    //zssure:2015-04-14,end

                    SendRequest(request);
                }
                _client._requests.Clear();
            }