Esempio n. 1
0
 protected void setApplicationEntityAttributes(ApplicationEntity from) {
   setOlockHash(from.olockHash);
   setDescription(from.description);
   setAETitleAliases(from.getAETitleAliases());
   setVendorData(from.vendorData);
   setApplicationClusters(from.applicationClusters);
   setPreferredCalledAETitles(from.preferredCalledAETitles);
   setPreferredCallingAETitles(from.preferredCallingAETitles);
   setAcceptedCallingAETitles(from.getAcceptedCallingAETitles());
   setSupportedCharacterSets(from.supportedCharacterSets);
   setAssociationAcceptor(from.associationAcceptor);
   setAssociationInitiator(from.associationInitiator);
   setAeInstalled(from.aeInstalled);
   setUuid(from.getUuid());
 }
Esempio n. 2
0
 public Association connect(ApplicationEntity remote, AAssociateRQ rq)
     throws IOException, InterruptedException, IncompatibleConnectionException,
         GeneralSecurityException {
   CompatibleConnection cc = findCompatibelConnection(remote);
   if (rq.getCalledAET() == null) rq.setCalledAET(remote.getAETitle());
   return connect(cc.getLocalConnection(), cc.getRemoteConnection(), rq);
 }