Exemplo n.º 1
0
Arquivo: Form1.cs Projeto: nhannd/Xian
		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);
		}
Exemplo n.º 2
0
 public void OnReceiveAssociateRequest(DicomServer server, ServerAssociationParameters association)
 {
     server.SendAssociateAccept(association);
 }
Exemplo n.º 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));
     
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
     
 }
Exemplo n.º 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);

    }