Tabnine Logo
DataWriterAdapter
Code IndexAdd Tabnine to your IDE (free)

How to use
DataWriterAdapter
in
org.dcm4che3.net

Best Java code snippets using org.dcm4che3.net.DataWriterAdapter (Showing top 20 results out of 315)

origin: dcm4che/dcm4che

public static DataWriterAdapter forAttributes(Attributes data) {
  return data != null ? new DataWriterAdapter(data) : null;
}
origin: dcm4che/dcm4che

public void neventReport(String asuid, String cuid, String iuid, int eventTypeId,
    Attributes data, String tsuid, DimseRSPHandler rspHandler)
    throws IOException, InterruptedException {
  PresentationContext pc = pcFor(asuid, tsuid);
  checkIsSCP(cuid);
  Attributes neventrq =
      Commands.mkNEventReportRQ(rspHandler.getMessageID(), cuid, iuid,
          eventTypeId, data);
  invoke(pc, neventrq, DataWriterAdapter.forAttributes(data), rspHandler,
      conn.getResponseTimeout());
}
origin: dcm4che/dcm4che

if (dataWriter instanceof DataWriterAdapter)
  Dimse.LOG.debug("{} << {} Dataset:\n{}", as, dimse.toString(cmd),
      ((DataWriterAdapter) dataWriter).getDataset());
else
  Dimse.LOG.debug("{} << {} Dataset sending...", as, dimse.toString(cmd));
origin: dcm4che/dcm4che

public void naction(String asuid, String cuid, String iuid, int actionTypeId,
    Attributes data, String tsuid, DimseRSPHandler rspHandler)
    throws IOException, InterruptedException {
  PresentationContext pc = pcFor(asuid, tsuid);
  checkIsSCU(cuid);
  Attributes nactionrq =
      Commands.mkNActionRQ(rspHandler.getMessageID(), cuid, iuid,
          actionTypeId, data);
  invoke(pc, nactionrq, DataWriterAdapter.forAttributes(data), rspHandler,
      conn.getResponseTimeout());
}
origin: org.dcm4che/dcm4che-net

if (dataWriter instanceof DataWriterAdapter)
  Dimse.LOG.debug("{} << {} Dataset:\n{}", as, dimse.toString(cmd),
      ((DataWriterAdapter) dataWriter).getDataset());
else
  Dimse.LOG.debug("{} << {} Dataset sending...", as, dimse.toString(cmd));
origin: org.dcm4che/dcm4che-net

public static DataWriterAdapter forAttributes(Attributes data) {
  return data != null ? new DataWriterAdapter(data) : null;
}
origin: dcm4che/dcm4che

public void ncreate(String asuid, String cuid, String iuid,
    Attributes data, String tsuid, DimseRSPHandler rspHandler)
    throws IOException, InterruptedException {
  PresentationContext pc = pcFor(asuid, tsuid);
  checkIsSCU(cuid);
  Attributes ncreaterq =
      Commands.mkNCreateRQ(rspHandler.getMessageID(), cuid, iuid);
  invoke(pc, ncreaterq, DataWriterAdapter.forAttributes(data), rspHandler,
      conn.getResponseTimeout());
}
origin: dcm4che/dcm4che

public void nset(String cuid, String iuid, Attributes data,
    String tsuid, DimseRSPHandler rspHandler)
    throws IOException, InterruptedException {
  nset(cuid, cuid, iuid, new DataWriterAdapter(data), tsuid, rspHandler);
}
origin: org.dcm4che/dcm4che-net

public void ncreate(String asuid, String cuid, String iuid,
    Attributes data, String tsuid, DimseRSPHandler rspHandler)
    throws IOException, InterruptedException {
  PresentationContext pc = pcFor(asuid, tsuid);
  checkIsSCU(cuid);
  Attributes ncreaterq =
      Commands.mkNCreateRQ(rspHandler.getMessageID(), cuid, iuid);
  invoke(pc, ncreaterq, DataWriterAdapter.forAttributes(data), rspHandler,
      conn.getResponseTimeout());
}
origin: dcm4che/dcm4che

public DimseRSP nset(String asuid, String cuid, String iuid,
    Attributes data, String tsuid)
    throws IOException, InterruptedException {
  return nset(asuid, cuid, iuid, new DataWriterAdapter(data), tsuid);
}
origin: org.dcm4che/dcm4che-net

public void naction(String asuid, String cuid, String iuid, int actionTypeId,
    Attributes data, String tsuid, DimseRSPHandler rspHandler)
    throws IOException, InterruptedException {
  PresentationContext pc = pcFor(asuid, tsuid);
  checkIsSCU(cuid);
  Attributes nactionrq =
      Commands.mkNActionRQ(rspHandler.getMessageID(), cuid, iuid,
          actionTypeId, data);
  invoke(pc, nactionrq, DataWriterAdapter.forAttributes(data), rspHandler,
      conn.getResponseTimeout());
}
origin: dcm4che/dcm4che

public void nset(String asuid, String cuid, String iuid,
    Attributes data, String tsuid, DimseRSPHandler rspHandler)
    throws IOException, InterruptedException {
  nset(asuid, cuid, iuid, new DataWriterAdapter(data), tsuid, rspHandler);
}
origin: org.dcm4che/dcm4che-net

public void neventReport(String asuid, String cuid, String iuid, int eventTypeId,
    Attributes data, String tsuid, DimseRSPHandler rspHandler)
    throws IOException, InterruptedException {
  PresentationContext pc = pcFor(asuid, tsuid);
  checkIsSCP(cuid);
  Attributes neventrq =
      Commands.mkNEventReportRQ(rspHandler.getMessageID(), cuid, iuid,
          eventTypeId, data);
  invoke(pc, neventrq, DataWriterAdapter.forAttributes(data), rspHandler,
      conn.getResponseTimeout());
}
origin: org.dcm4che/dcm4che-net

public void nset(String cuid, String iuid, Attributes data,
    String tsuid, DimseRSPHandler rspHandler)
    throws IOException, InterruptedException {
  nset(cuid, cuid, iuid, new DataWriterAdapter(data), tsuid, rspHandler);
}
origin: org.dcm4che/dcm4che-net

public void nset(String asuid, String cuid, String iuid,
    Attributes data, String tsuid, DimseRSPHandler rspHandler)
    throws IOException, InterruptedException {
  nset(asuid, cuid, iuid, new DataWriterAdapter(data), tsuid, rspHandler);
}
origin: dcm4che/dcm4che

public DimseRSP nset(String cuid, String iuid, Attributes data,
    String tsuid) throws IOException,
    InterruptedException {
  return nset(cuid, cuid, iuid, new DataWriterAdapter(data), tsuid);
}
origin: org.dcm4che/dcm4che-net

public DimseRSP nset(String asuid, String cuid, String iuid,
    Attributes data, String tsuid)
    throws IOException, InterruptedException {
  return nset(asuid, cuid, iuid, new DataWriterAdapter(data), tsuid);
}
origin: org.dcm4che/dcm4che-net

public DimseRSP nset(String cuid, String iuid, Attributes data,
    String tsuid) throws IOException,
    InterruptedException {
  return nset(cuid, cuid, iuid, new DataWriterAdapter(data), tsuid);
}
origin: dcm4che/dcm4che

public void cfind(String cuid, int priority, Attributes data,
    String tsuid, DimseRSPHandler rspHandler) throws IOException,
    InterruptedException {
  PresentationContext pc = pcFor(cuid, tsuid);
  checkIsSCU(cuid);
  Attributes cfindrq =
      Commands.mkCFindRQ(rspHandler.getMessageID(), cuid, priority);
  invoke(pc, cfindrq, new DataWriterAdapter(data), rspHandler,
      conn.getResponseTimeout());
}
origin: org.dcm4che/dcm4che-net

public void cfind(String cuid, int priority, Attributes data,
    String tsuid, DimseRSPHandler rspHandler) throws IOException,
    InterruptedException {
  PresentationContext pc = pcFor(cuid, tsuid);
  checkIsSCU(cuid);
  Attributes cfindrq =
      Commands.mkCFindRQ(rspHandler.getMessageID(), cuid, priority);
  invoke(pc, cfindrq, new DataWriterAdapter(data), rspHandler,
      conn.getResponseTimeout());
}
org.dcm4che3.netDataWriterAdapter

Most used methods

  • <init>
  • forAttributes
  • getDataset

Popular in Java

  • Making http requests using okhttp
  • requestLocationUpdates (LocationManager)
  • setRequestProperty (URLConnection)
  • addToBackStack (FragmentTransaction)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Top Vim plugins
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