Esempio n. 1
0
  protected void removeRemotePAC(String localname) throws IOException, DicomNetworkException {

    networkApplicationInformation = networkApplicationProperties.getNetworkApplicationInformation();
    networkApplicationInformation.remove(localname);
    applicationProperties = networkApplicationProperties.getProperties(getProperties());
    log.debug(
        "4 localNameToApplicationEntityTitleMap:"
            + networkApplicationInformation.getListOfLocalNamesOfApplicationEntities());
    log.debug(
        "4 applicationEntityTitleToLocalNameMap:"
            + networkApplicationInformation
                .getListOfApplicationEntityTitlesOfApplicationEntities());
    this.storeProperties(localname + " deleted by EPAD " + new Date());
  }
Esempio n. 2
0
 protected void addRemotePAC(
     String localname,
     String aeTitle,
     String hostname,
     int port,
     String queryModel,
     String primaryDeviceType)
     throws IOException, DicomNetworkException {
   networkApplicationInformation = networkApplicationProperties.getNetworkApplicationInformation();
   networkApplicationInformation.add(
       localname, aeTitle, hostname, port, queryModel, primaryDeviceType);
   log.debug(
       "2 localNameToApplicationEntityTitleMap:"
           + networkApplicationInformation.getListOfLocalNamesOfApplicationEntities());
   applicationProperties = networkApplicationProperties.getProperties(getProperties());
   this.storeProperties(localname + " added by EPAD " + new Date());
 }