public class StoreSCU extends Object
| Constructor and Description |
|---|
StoreSCU(ApplicationEntity ae) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addFile(BufferedWriter fileInfos,
File f,
long endFmi,
Attributes fmi,
Attributes ds) |
static void |
addTmpFileOptions(org.apache.commons.cli.Options opts) |
static void |
addUIDSuffixOption(org.apache.commons.cli.Options opts) |
void |
close() |
static void |
configureRelatedSOPClass(StoreSCU storescu,
org.apache.commons.cli.CommandLine cl) |
void |
echo() |
void |
enableSOPClassRelationshipExtNeg(boolean enable) |
AAssociateRQ |
getAAssociateRQ() |
Attributes |
getAttributes() |
Connection |
getRemoteConnection() |
static void |
main(String[] args) |
void |
open() |
void |
scanFiles(List<String> fnames) |
void |
send(File f,
long fmiEndPos,
String cuid,
String iuid,
String ts) |
void |
sendFiles() |
void |
setAttributes(Attributes attrs) |
void |
setPriority(int priority) |
void |
setTmpFile(File tmpFile) |
void |
setTmpFileDirectory(File tmpDir) |
void |
setTmpFilePrefix(String prefix) |
void |
setTmpFileSuffix(String suffix) |
void |
setUIDSuffix(String uidSuffix) |
static String |
uidSuffixOf(org.apache.commons.cli.CommandLine cl) |
public StoreSCU(ApplicationEntity ae) throws IOException
IOExceptionpublic 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 static void addUIDSuffixOption(org.apache.commons.cli.Options opts)
public static void addTmpFileOptions(org.apache.commons.cli.Options opts)
public static void main(String[] args)
public static String uidSuffixOf(org.apache.commons.cli.CommandLine cl)
public static void configureRelatedSOPClass(StoreSCU storescu, org.apache.commons.cli.CommandLine cl) throws IOException
IOExceptionpublic final void enableSOPClassRelationshipExtNeg(boolean enable)
public void scanFiles(List<String> fnames) throws IOException
IOExceptionpublic void sendFiles()
throws IOException
IOExceptionpublic boolean addFile(BufferedWriter fileInfos, File f, long endFmi, Attributes fmi, Attributes ds) throws IOException
IOExceptionpublic void echo()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void send(File f, long fmiEndPos, String cuid, String iuid, String ts) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void close()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void open()
throws IOException,
InterruptedException,
IncompatibleConnectionException,
GeneralSecurityException
Copyright © 2014 dcm4che.org. All Rights Reserved.