public class StoreSCPTool extends Object implements TestTool
Modifier and Type | Field and Description |
---|---|
(package private) String |
aeTitle |
(package private) Connection |
bound |
private BasicCStoreSCP |
cstoreSCP |
(package private) Device |
device |
private int |
fileReceived |
private boolean |
first |
private List<File> |
instanceFiles |
private List<String> |
instanceLocations |
private static Logger |
LOG |
private boolean |
noStore |
private TestResult |
result |
private List<Attributes> |
rqCMDs |
private List<String> |
sopIUIDs |
private String |
sourceAETitle |
private boolean |
started |
(package private) int |
status |
private File |
storageDirectory |
(package private) StoreSCP |
storeSCP |
(package private) long |
t1 |
(package private) long |
t2 |
private String |
testDescription |
(package private) long |
totalTime |
Constructor and Description |
---|
StoreSCPTool(File storageDirectory,
Device device,
String sourceAETitle,
Connection conn,
boolean noStore) |
Modifier and Type | Method and Description |
---|---|
private void |
addSopUID(String uid) |
private DicomServiceRegistry |
createServiceRegistry() |
private List<Attributes> |
getCmdRQList() |
private int |
getfilesReceived() |
List<File> |
getInstanceFiles() |
List<String> |
getInstanceLocations() |
TestResult |
getResult() |
java.nio.file.Path |
getStorageDirectory() |
void |
init(TestResult resultIn) |
void |
start(String testDescriptionIn) |
void |
start(String testDescriptionIn,
String... transferSyntaxes) |
void |
stop() |
private final File storageDirectory
private final String sourceAETitle
private TestResult result
Connection bound
long totalTime
int status
long t1
long t2
private boolean first
private final boolean noStore
private int fileReceived
private final List<Attributes> rqCMDs
private final List<String> instanceLocations
private final List<File> instanceFiles
private String testDescription
private boolean started
private final BasicCStoreSCP cstoreSCP
public StoreSCPTool(File storageDirectory, Device device, String sourceAETitle, Connection conn, boolean noStore)
public void start(String testDescriptionIn) throws InterruptedException
InterruptedException
public void start(String testDescriptionIn, String... transferSyntaxes) throws InterruptedException
InterruptedException
public void stop()
private List<Attributes> getCmdRQList()
private int getfilesReceived()
private DicomServiceRegistry createServiceRegistry()
public void init(TestResult resultIn)
public TestResult getResult()
public List<String> getInstanceLocations()
public List<File> getInstanceFiles()
public java.nio.file.Path getStorageDirectory()
Copyright © 2017 dcm4che.org. All rights reserved.