public class StgCmtTool extends Object implements TestTool
Modifier and Type | Field and Description |
---|---|
(package private) String |
aeTitle |
private File |
baseDirectory |
(package private) Connection |
bound |
(package private) Device |
device |
private int |
fails |
private String |
host |
private Attributes |
nEventReqData |
private int |
port |
private TestResult |
result |
private String |
sourceAETitle |
private DicomService |
stgcmtResultHandler |
(package private) StgCmtSCU |
stgCmtSCU |
private File |
storageDirectory |
private int |
success |
Constructor and Description |
---|
StgCmtTool(String host,
int port,
String aeTitle,
File baseDir,
File storageDirectory,
Device device,
String sourceAETitle,
Connection conn) |
Modifier and Type | Method and Description |
---|---|
TestResult |
getResult() |
File |
getStorageDirectory() |
void |
init(TestResult result) |
private void |
setFailsandSuccess(Attributes data) |
void |
stgcmt(String description,
String fileName) |
private Attributes |
writeResponse(Association as,
Attributes cmd,
Attributes data) |
private final int port
private final File baseDirectory
private final File storageDirectory
private final String sourceAETitle
private Attributes nEventReqData
private int success
private int fails
private TestResult result
Connection bound
private final DicomService stgcmtResultHandler
public StgCmtTool(String host, int port, String aeTitle, File baseDir, File storageDirectory, Device device, String sourceAETitle, Connection conn)
private Attributes writeResponse(Association as, Attributes cmd, Attributes data) throws DicomServiceException
DicomServiceException
private void setFailsandSuccess(Attributes data)
public void stgcmt(String description, String fileName) throws InterruptedException, IOException, GeneralSecurityException, IncompatibleConnectionException
public void init(TestResult result)
public TestResult getResult()
public File getStorageDirectory()
Copyright © 2017 dcm4che.org. All rights reserved.