Пример #1
0
		public void OnReceiveAssociateRequest(DicomServer server, ServerAssociationParameters association)
		{
			if (_delayAssociationAccept.Checked)
				Thread.Sleep(TimeSpan.FromSeconds(35));

			if (_rejectAssociation.Checked)
				server.SendAssociateReject(DicomRejectResult.Permanent, DicomRejectSource.ServiceUser, DicomRejectReason.CallingAENotRecognized);
			else
				server.SendAssociateAccept(association);
		}
Пример #2
0
 public void OnReceiveAssociateRequest(DicomServer server, ServerAssociationParameters association)
 {
     server.SendAssociateAccept(association);
 }
Пример #3
0
 void IDicomServerHandler.OnReceiveAssociateRequest(DicomServer server, ServerAssociationParameters association)
 {
     //_sessionDebug.SetAssociationDumpString(association);
     server.SendAssociateAccept(association);
     Platform.Log(LogLevel.Info,string.Format("Accepting association between {0} and {1}.",
                      association.CallingAE, association.CalledAE));
     
 }
Пример #4
0
 void IDicomServerHandler.OnReceiveAssociateRequest(DicomServer server, ServerAssociationParameters association)
 {
     VBLogger.LogDebug("Receive Associate Request from" + association.CallingAE);
     //WriteLog("----------------------------------------------");
     server.SendAssociateAccept(association);
     VBLogger.LogDebug("Send Associate Respose To " + association.CallingAE);
 }
Пример #5
0
 void IDicomServerHandler.OnReceiveAssociateRequest(DicomServer server, ServerAssociationParameters association)
 {
     _sessionDebug.SetAssociationDumpString(association);
     server.SendAssociateAccept(association);
     Logger.LogInfo("Accepting association between {0} and {1}.",
                      association.CallingAE, association.CalledAE);
     
 }
Пример #6
0
    /// <summary>
    /// Association request.
    /// </summary>
    /// <param name="server"></param>
    /// <param name="association"></param>
    void IDicomServerHandler.OnReceiveAssociateRequest(DicomServer server, ServerAssociationParameters association)
    {

        server.SendAssociateAccept(association);
        ClearCanvas.Common.Platform.Log(LogLevel.Info, "Association request received from {0} ({1}).", association.CallingAE, association.RemoteEndPoint.Address);

    }