Tabnine Logo
HL7Application.addConnection
Code IndexAdd Tabnine to your IDE (free)

How to use
addConnection
method
in
org.dcm4che3.net.hl7.HL7Application

Best Java code snippets using org.dcm4che3.net.hl7.HL7Application.addConnection (Showing top 5 results out of 315)

origin: dcm4che/dcm4che

private HL7Application loadHL7Application(SearchResult sr, String deviceDN,
    Device device) throws NamingException, ConfigurationException {
  Attributes attrs = sr.getAttributes();
  HL7Application hl7app = new HL7Application(LdapUtils.stringValue(attrs.get("hl7ApplicationName"), null));
  loadFrom(hl7app, attrs);
  for (String connDN : LdapUtils.stringArray(attrs.get("dicomNetworkConnectionReference")))
    hl7app.addConnection(LdapUtils.findConnection(connDN, deviceDN, device));
  for (LdapHL7ConfigurationExtension ext : extensions)
    ext.loadChilds(hl7app, sr.getNameInNamespace());
  return hl7app;
}
origin: dcm4che/dcm4che

public HL7Rcv() throws IOException {
  conn.setProtocol(Protocol.HL7);
  device.addDeviceExtension(hl7Ext);
  device.addConnection(conn);
  hl7Ext.addHL7Application(hl7App);
  hl7App.setAcceptedMessageTypes("*");
  hl7App.addConnection(conn);
  hl7App.setHL7MessageListener(handler);
}
origin: org.dcm4che.tool/dcm4che-tool-hl7rcv

public HL7Rcv() throws IOException {
  conn.setProtocol(Protocol.HL7);
  device.addDeviceExtension(hl7Ext);
  device.addConnection(conn);
  hl7Ext.addHL7Application(hl7App);
  hl7App.setAcceptedMessageTypes("*");
  hl7App.addConnection(conn);
  hl7App.setHL7MessageListener(handler);
}
origin: dcm4che/dcm4che

case "dicomNetworkConnectionReference":
  for (String connRef : reader.stringArray())
    hl7App.addConnection(conns.get(JsonReader.toConnectionIndex(connRef)));
  break;
case "hl7AcceptedSendingApplication":
origin: org.dcm4che/dcm4che-conf-json

case "dicomNetworkConnectionReference":
  for (String connRef : reader.stringArray())
    hl7App.addConnection(conns.get(JsonReader.toConnectionIndex(connRef)));
  break;
case "hl7AcceptedSendingApplication":
org.dcm4che3.net.hl7HL7ApplicationaddConnection

Popular methods of HL7Application

  • <init>
  • getApplicationName
  • getConnections
  • setAcceptedMessageTypes
  • getAcceptedMessageTypes
  • getAcceptedSendingApplications
  • getApplicationClusters
  • getDescription
  • getHL7DefaultCharacterSet
  • getHL7SendingCharacterSet
  • getInstalled
  • getOtherApplicationNames
  • getInstalled,
  • getOtherApplicationNames,
  • setAcceptedSendingApplications,
  • setApplicationClusters,
  • setApplicationName,
  • setDescription,
  • setHL7DefaultCharacterSet,
  • setHL7SendingCharacterSet,
  • setInstalled

Popular in Java

  • Making http post requests using okhttp
  • setRequestProperty (URLConnection)
  • requestLocationUpdates (LocationManager)
  • getContentResolver (Context)
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now