Example #1
0
 private void SubscribeEvent(DicomServer dicomServer)
 {
     dicomServer.OnTransactionAvailable += new DicomServer.TransactionAvailableHandler(TransactionIsAvailable);
 }
Example #2
0
 protected void AddDicomServer(DicomServer dicomServer, ActorConfig actorConfig)
 {
     int index = DicomConfigPresent(dicomServer.ActorName, actorConfig);
     if (index != -1)
     {
         dicomServer.ApplyConfig((DicomConfig)actorConfig[index]);
         SubscribeEvent(dicomServer);
         _dicomServers.Add(dicomServer.ActorName, dicomServer);
     }
 }