public class StoreSCU extends Object implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static interface |
StoreSCU.Callback |
static interface |
StoreSCU.RSPHandlerFactory |
class |
StoreSCU.SOPClasses |
| Modifier and Type | Field and Description |
|---|---|
StoreSCU.SOPClasses |
relSOPClasses |
| Constructor and Description |
|---|
StoreSCU(ApplicationEntity ae,
Progress progress) |
StoreSCU(ApplicationEntity ae,
Progress progress,
Editors attributesEditors) |
public final StoreSCU.SOPClasses relSOPClasses
public StoreSCU(ApplicationEntity ae, Progress progress) throws IOException
IOExceptionpublic StoreSCU(ApplicationEntity ae, Progress progress, Editors attributesEditors)
public static boolean updateAttributes(Attributes data, Attributes attrs, String uidSuffix)
public static void scan(List<String> fnames, StoreSCU.Callback scb)
public static void scan(List<String> fnames, boolean printout, StoreSCU.Callback scb)
public static String selectTransferSyntax(Association as, String cuid, String filets)
public void setRspHandlerFactory(StoreSCU.RSPHandlerFactory rspHandlerFactory)
public AAssociateRQ getAAssociateRQ()
public Connection getRemoteConnection()
public Attributes getAttributes()
public void setAttributes(Attributes attrs)
public void setTmpFile(File tmpFile)
public final void setPriority(int priority)
public final void setUIDSuffix(String uidSuffix)
public final void setTmpFilePrefix(String prefix)
public final void setTmpFileSuffix(String suffix)
public final void setTmpFileDirectory(File tmpDir)
public final void enableSOPClassRelationshipExtNeg(boolean enable)
public void scanFiles(List<String> fnames) throws IOException
IOExceptionpublic void scanFiles(List<String> fnames, boolean printout) throws IOException
IOExceptionpublic void sendFiles()
throws IOException
IOExceptionpublic boolean addFile(BufferedWriter fileInfos, File f, long endFmi, Attributes fmi, Attributes ds) throws IOException
IOExceptionpublic Attributes echo() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void send(File f, long fmiEndPos, String cuid, String iuid, String filets) throws IOException, InterruptedException, ParserConfigurationException, SAXException
public void close()
throws IOException,
InterruptedException
close in interface AutoCloseableIOExceptionInterruptedExceptionpublic void open()
throws IOException,
InterruptedException,
GeneralSecurityException
public int getFilesScanned()
public long getTotalSize()
public Status getState()
Copyright © 2021. All rights reserved.