Modifier and Type | Class and Description |
---|---|
static class |
GetSCU.InformationModel |
Modifier and Type | Field and Description |
---|---|
private ApplicationEntity |
ae |
private Association |
as |
private Connection |
conn |
private static int[] |
DEF_IN_FILTER |
private Device |
device |
private int[] |
inFilter |
private Attributes |
keys |
private static Logger |
LOG |
private GetSCU.InformationModel |
model |
private int |
priority |
private static ResourceBundle |
rb |
private Connection |
remote |
private AAssociateRQ |
rq |
private File |
storageDir |
private BasicCStoreSCP |
storageSCP |
Constructor and Description |
---|
GetSCU() |
GetSCU(ApplicationEntity appEntity) |
Modifier and Type | Method and Description |
---|---|
void |
addKey(int tag,
String... ss) |
private static void |
addKeyOptions(org.apache.commons.cli.Options opts) |
void |
addLevel(String s) |
void |
addOfferedStorageSOPClass(String cuid,
String... tsuids) |
private static void |
addRetrieveLevelOption(org.apache.commons.cli.Options opts) |
private static void |
addServiceClassOptions(org.apache.commons.cli.Options opts) |
private static void |
addStorageDirectoryOptions(org.apache.commons.cli.Options opts) |
void |
close() |
private static void |
configureKeys(GetSCU main,
org.apache.commons.cli.CommandLine cl) |
private static void |
configureServiceClass(GetSCU main,
org.apache.commons.cli.CommandLine cl) |
private static void |
configureStorageDirectory(GetSCU main,
org.apache.commons.cli.CommandLine cl) |
private static void |
configureStorageSOPClass(GetSCU main,
String cuid,
String tsuids0) |
private DicomServiceRegistry |
createServiceRegistry() |
AAssociateRQ |
getAAssociateRQ() |
ApplicationEntity |
getApplicationEntity() |
Association |
getAssociation() |
Device |
getDevice() |
Attributes |
getKeys() |
Connection |
getRemoteConnection() |
private static GetSCU.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) |
private void |
retrieve(Attributes keys,
DimseRSPHandler rspHandler) |
void |
retrieve(DimseRSPHandler rspHandler) |
void |
retrieve(File f) |
void |
setInformationModel(GetSCU.InformationModel model,
String[] tss,
boolean relational) |
void |
setInputFilter(int[] inFilter) |
void |
setPriority(int priority) |
void |
setStorageDirectory(File storageDir) |
static void |
storeTo(Association as,
Attributes fmi,
PDVInputStream data,
File file) |
private static ResourceBundle rb
private static final int[] DEF_IN_FILTER
private final ApplicationEntity ae
private final Connection conn
private final Connection remote
private final AAssociateRQ rq
private int priority
private GetSCU.InformationModel model
private File storageDir
private Attributes keys
private int[] inFilter
private Association as
private BasicCStoreSCP storageSCP
public GetSCU() throws IOException
IOException
public GetSCU(ApplicationEntity appEntity)
public ApplicationEntity getApplicationEntity()
public Connection getRemoteConnection()
public AAssociateRQ getAAssociateRQ()
public Association getAssociation()
public Attributes getKeys()
public static void storeTo(Association as, Attributes fmi, PDVInputStream data, File file) throws IOException
IOException
private DicomServiceRegistry createServiceRegistry()
public void setStorageDirectory(File storageDir)
public final void setPriority(int priority)
public final void setInformationModel(GetSCU.InformationModel model, String[] tss, boolean relational)
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 addStorageDirectoryOptions(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(GetSCU main, org.apache.commons.cli.CommandLine cl) throws Exception
Exception
private static void configureStorageSOPClass(GetSCU main, String cuid, String tsuids0)
public void addOfferedStorageSOPClass(String cuid, String... tsuids)
private static void configureStorageDirectory(GetSCU main, org.apache.commons.cli.CommandLine cl)
private static void configureKeys(GetSCU main, org.apache.commons.cli.CommandLine cl)
private static GetSCU.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(DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
private void retrieve(Attributes keys, DimseRSPHandler rspHandler) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2017 dcm4che.org. All rights reserved.