Modifier and Type | Field and Description |
---|---|
private String |
aeTitle |
private Connection |
conn |
private Device |
device |
private int |
expectedMatches |
private String |
host |
private static String[] |
IVR_LE_FIRST |
private static Logger |
LOG |
private int |
numMatches |
private int |
port |
private Attributes |
queryatts |
private String |
queryLevel |
private FindSCU.InformationModel |
queryModel |
private boolean |
relational |
private List<Attributes> |
response |
private TestResult |
result |
private String |
sourceAETitle |
private long |
timeFirst |
Constructor and Description |
---|
QueryTool(String host,
int port,
String aeTitle,
String queryLevel,
String queryModel,
boolean relational,
Device device,
String sourceAETitle,
Connection conn) |
Modifier and Type | Method and Description |
---|---|
void |
addAll(Attributes attrs) |
void |
addQueryTag(int tag,
String value) |
void |
addQueryTag(String privateCreator,
int tag,
VR vr,
String value)
adds a new private query tag.
|
void |
addReturnTag(int tag) |
void |
addReturnTag(String privateCreator,
int tag,
VR vr) |
void |
clearQueryKeys() |
private void |
doQuery(String testDescription,
boolean fuzzy,
boolean combined) |
private DimseRSPHandler |
getDimseRSPHandler(int messageID) |
String |
getQueryLevel() |
TestResult |
getResult() |
void |
init(TestResult result) |
protected void |
onCFindResponse(Attributes cmd,
Attributes data) |
void |
query(String testDescription)
Query method setting parameter fuzzy = false and dataTimeCombined = false
|
void |
query(String testDescription,
boolean fuzzy,
boolean dataTimeCombined) |
void |
setAeTitle(String aeTitle) |
void |
setExpectedMatches(int matches) |
void |
setQueryLevel(String level) |
private void |
validateMatches(String testDescription) |
private final int port
private final Connection conn
private final String sourceAETitle
private final List<Attributes> response
private TestResult result
private String queryLevel
private final FindSCU.InformationModel queryModel
private final boolean relational
private int numMatches
private static String[] IVR_LE_FIRST
private Attributes queryatts
private int expectedMatches
private long timeFirst
public void query(String testDescription) throws IOException, InterruptedException, IncompatibleConnectionException, GeneralSecurityException
testDescription
- The purpose of the queryIOException
InterruptedException
IncompatibleConnectionException
GeneralSecurityException
public void query(String testDescription, boolean fuzzy, boolean dataTimeCombined) throws IOException, InterruptedException, IncompatibleConnectionException, GeneralSecurityException
private void doQuery(String testDescription, boolean fuzzy, boolean combined) throws IOException, InterruptedException, IncompatibleConnectionException, GeneralSecurityException
private void validateMatches(String testDescription)
public void addQueryTag(int tag, String value) throws Exception
Exception
public void addQueryTag(String privateCreator, int tag, VR vr, String value)
public void clearQueryKeys()
public void addAll(Attributes attrs)
public void addReturnTag(int tag) throws Exception
Exception
public void addReturnTag(String privateCreator, int tag, VR vr) throws Exception
Exception
public void setExpectedMatches(int matches)
private DimseRSPHandler getDimseRSPHandler(int messageID)
protected void onCFindResponse(Attributes cmd, Attributes data)
public void init(TestResult result)
public TestResult getResult()
public void setAeTitle(String aeTitle)
public String getQueryLevel()
public void setQueryLevel(String level)
Copyright © 2017 dcm4che.org. All rights reserved.