Modifier and Type | Class and Description |
---|---|
static class |
MoveSCU.InformationModel |
Modifier and Type | Field and Description |
---|---|
private ApplicationEntity |
ae |
private Association |
as |
private Connection |
conn |
private static int[] |
DEF_IN_FILTER |
private String |
destination |
private Device |
device |
private int |
exitCode |
private int |
idleRetrieveTimeout |
private int[] |
inFilter |
private Attributes |
keys |
private static Logger |
LOG |
private MoveSCU.InformationModel |
model |
private int |
priority |
private static ResourceBundle |
rb |
private Connection |
remote |
private AAssociateRQ |
rq |
Constructor and Description |
---|
MoveSCU() |
MoveSCU(ApplicationEntity ae) |
Modifier and Type | Method and Description |
---|---|
private static void |
addDestinationOption(org.apache.commons.cli.Options opts) |
void |
addKey(int tag,
String... ss) |
private static void |
addKeyOptions(org.apache.commons.cli.Options opts) |
void |
addLevel(String s) |
private static void |
addRetrieveLevelOption(org.apache.commons.cli.Options opts) |
private static void |
addServiceClassOptions(org.apache.commons.cli.Options opts) |
private static void |
addTimeoutOption(org.apache.commons.cli.Options opts) |
void |
close() |
private static void |
configureKeys(MoveSCU main,
org.apache.commons.cli.CommandLine cl) |
private static void |
configureServiceClass(MoveSCU main,
org.apache.commons.cli.CommandLine cl) |
private static String |
destinationOf(org.apache.commons.cli.CommandLine cl) |
AAssociateRQ |
getAAssociateRQ() |
ApplicationEntity |
getApplicationEntity() |
Association |
getAssociation() |
Device |
getDevice() |
Attributes |
getKeys() |
Connection |
getRemoteConnection() |
private static MoveSCU.InformationModel |
informationModelOf(org.apache.commons.cli.CommandLine cl) |
static void |
main(String[] args) |
void |
open() |
private static org.apache.commons.cli.CommandLine |
parseComandLine(String[] args) |
void |
retrieve() |
private void |
retrieve(Attributes keys) |
void |
retrieve(Attributes keys,
DimseRSPHandler handler) |
void |
retrieve(File f) |
void |
setDestination(String destination) |
void |
setInformationModel(MoveSCU.InformationModel model,
String[] tss,
boolean relational) |
void |
setInputFilter(int[] inFilter) |
void |
setLevel(MoveSCU.InformationModel mdl) |
void |
setPriority(int priority) |
private static ResourceBundle rb
private static final int[] DEF_IN_FILTER
private ApplicationEntity ae
private final Connection conn
private final Connection remote
private final AAssociateRQ rq
private int priority
private String destination
private MoveSCU.InformationModel model
private Attributes keys
private int[] inFilter
private Association as
private int idleRetrieveTimeout
private int exitCode
public MoveSCU() throws IOException
IOException
public MoveSCU(ApplicationEntity ae)
public final void setPriority(int priority)
public final void setInformationModel(MoveSCU.InformationModel model, String[] tss, boolean relational)
public ApplicationEntity getApplicationEntity()
public Connection getRemoteConnection()
public AAssociateRQ getAAssociateRQ()
public Association getAssociation()
public Attributes getKeys()
public final void setDestination(String destination)
public final void setInputFilter(int[] inFilter)
private static org.apache.commons.cli.CommandLine parseComandLine(String[] args) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
private static void addRetrieveLevelOption(org.apache.commons.cli.Options opts)
private static void addDestinationOption(org.apache.commons.cli.Options opts)
private static void addTimeoutOption(org.apache.commons.cli.Options opts)
private static void addKeyOptions(org.apache.commons.cli.Options opts)
private static void addServiceClassOptions(org.apache.commons.cli.Options opts)
private static void configureServiceClass(MoveSCU main, org.apache.commons.cli.CommandLine cl) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
private static String destinationOf(org.apache.commons.cli.CommandLine cl) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
private static void configureKeys(MoveSCU main, org.apache.commons.cli.CommandLine cl)
private static MoveSCU.InformationModel informationModelOf(org.apache.commons.cli.CommandLine cl) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
public void open() throws IOException, InterruptedException, IncompatibleConnectionException, GeneralSecurityException
public void close() throws IOException, InterruptedException
IOException
InterruptedException
public void retrieve(File f) throws IOException, InterruptedException
IOException
InterruptedException
public void retrieve() throws IOException, InterruptedException
IOException
InterruptedException
private void retrieve(Attributes keys) throws IOException, InterruptedException
IOException
InterruptedException
public void retrieve(Attributes keys, DimseRSPHandler handler) throws IOException, InterruptedException
IOException
InterruptedException
public void setLevel(MoveSCU.InformationModel mdl)
Copyright © 2017 dcm4che.org. All rights reserved.