Modifier and Type | Field and Description |
---|---|
private ApplicationEntity |
ae |
private Association |
as |
private Attributes |
attrs |
private boolean |
keepAlive |
private static Logger |
LOG |
private HashMap<String,List<String>> |
map |
private HashSet<String> |
outstandingResults |
private static ResourceBundle |
rb |
private Connection |
remote |
private AAssociateRQ |
rq |
private int |
splitTag |
private int |
status |
private DicomService |
stgcmtResultHandler |
private File |
storageDir |
private String |
uidSuffix |
Constructor and Description |
---|
StgCmtSCU(ApplicationEntity ae) |
StgCmtSCU(ApplicationEntity ae,
DicomService stgCmtResultHndlr) |
Modifier and Type | Method and Description |
---|---|
boolean |
addInstance(Attributes inst) |
void |
addOutstandingResult(String tuid) |
static void |
addStgCmtOptions(org.apache.commons.cli.Options opts) |
void |
close() |
void |
echo() |
private Attributes |
eventRecord(Association as,
Attributes cmd,
Attributes eventInfo) |
AAssociateRQ |
getAAssociateRQ() |
Connection |
getRemoteConnection() |
static int |
getSplitTag(org.apache.commons.cli.CommandLine cl) |
File |
getStorageDirectory() |
static File |
getStorageDirectory(org.apache.commons.cli.CommandLine cl) |
static void |
main(String[] args) |
Attributes |
makeActionInfo(List<String> refSOPs) |
void |
open() |
private static org.apache.commons.cli.CommandLine |
parseComandLine(String[] args) |
void |
removeOutstandingResult(String tuid) |
private void |
sendRequest(Attributes actionInfo) |
void |
sendRequests() |
void |
setAttributes(Attributes attrs) |
void |
setKeepAlive(boolean keepAlive) |
void |
setSplitTag(int splitTag) |
void |
setStatus(int status) |
void |
setStorageDirectory(File storageDir) |
void |
setTransferSyntaxes(String[] tss) |
void |
setUIDSuffix(String uidSuffix) |
private void |
waitForOutstandingResults(Association as) |
private static ResourceBundle rb
private final ApplicationEntity ae
private final Connection remote
private final AAssociateRQ rq
private Attributes attrs
private File storageDir
private boolean keepAlive
private int splitTag
private int status
private Association as
private final HashSet<String> outstandingResults
private final DicomService stgcmtResultHandler
public StgCmtSCU(ApplicationEntity ae) throws IOException
IOException
public StgCmtSCU(ApplicationEntity ae, DicomService stgCmtResultHndlr) throws IOException
IOException
public Connection getRemoteConnection()
public AAssociateRQ getAAssociateRQ()
public void setStorageDirectory(File storageDir)
public File getStorageDirectory()
public final void setUIDSuffix(String uidSuffix)
public void setAttributes(Attributes attrs)
public static File getStorageDirectory(org.apache.commons.cli.CommandLine cl)
public static int getSplitTag(org.apache.commons.cli.CommandLine cl)
public void setSplitTag(int splitTag)
public void setKeepAlive(boolean keepAlive)
public void setStatus(int status)
public void setTransferSyntaxes(String[] tss)
public boolean addInstance(Attributes inst)
private static org.apache.commons.cli.CommandLine parseComandLine(String[] args) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
public static void addStgCmtOptions(org.apache.commons.cli.Options opts)
public void open() throws IOException, InterruptedException, IncompatibleConnectionException, GeneralSecurityException
public void echo() throws IOException, InterruptedException
IOException
InterruptedException
public void close() throws IOException, InterruptedException
IOException
InterruptedException
public void addOutstandingResult(String tuid)
public void removeOutstandingResult(String tuid)
private void waitForOutstandingResults(Association as) throws InterruptedException
InterruptedException
public Attributes makeActionInfo(List<String> refSOPs)
public void sendRequests() throws IOException, InterruptedException
IOException
InterruptedException
private void sendRequest(Attributes actionInfo) throws IOException, InterruptedException
IOException
InterruptedException
private Attributes eventRecord(Association as, Attributes cmd, Attributes eventInfo) throws DicomServiceException
DicomServiceException
Copyright © 2017 dcm4che.org. All rights reserved.