Пример #1
0
 public void OnResponseReceived(NEventReportResponse resp, Association asc)
 {
     asc.Logger.Log("<-- DIMSE" + resp.GetLogString());
     resp.LogData(asc);
     asc.LastActive = DateTime.Now;
     _dms.RaiseDIMSEResponseReceived(resp, asc);
     asc.State = NetworkState.AWAITING_RELEASE;
 }
Пример #2
0
 public void OnResponseRecieved(CFindResponse resp, Association asc)
 {
     asc.Logger.LogInformation("<-- DIMSE" + resp.GetLogString());
     asc.LastActive = DateTime.Now;
     dms.RaiseDIMSEResponseReceived(resp, asc);
     resp.LogData(asc);
     if (resp.Status != (ushort)Status.PENDING)
     {
         AssociationMessenger.SendReleaseRequest(asc);
     }
 }
Пример #3
0
        public void OnResponseReceived(NActionResponse resp, Association asc)
        {
            asc.Logger.LogInformation("<-- DIMSE" + resp.GetLogString());
            resp.LogData(asc);
            asc.LastActive = DateTime.Now;
            _dms.RaiseDIMSEResponseReceived(resp, asc);

            //STORAGE COMMITMENT PUSH
            if (resp.AffectedSOPClassUID == AbstractSyntax.StorageCommitment_Push)
            {
                asc.State = NetworkState.ASSOCIATION_ESTABLISHED_WAITING_ON_DATA;
            }
            else
            {
                //Abstract syntax not supported
                if (resp.Status != (ushort)Status.PENDING)
                {
                    AssociationMessenger.SendReleaseRequest(asc);
                }
            }
        }