public class HL7Snd extends Device
Modifier and Type | Field and Description |
---|---|
private Connection |
conn |
private MLLPConnection |
mllp |
private static ResourceBundle |
rb |
private Connection |
remote |
private Socket |
sock |
Constructor and Description |
---|
HL7Snd() |
Modifier and Type | Method and Description |
---|---|
private static void |
addBindOption(org.apache.commons.cli.Options opts) |
private static void |
addConnectOption(org.apache.commons.cli.Options opts) |
void |
close() |
private static void |
configureBind(Connection conn,
org.apache.commons.cli.CommandLine cl) |
private static void |
configureConnect(Connection conn,
org.apache.commons.cli.CommandLine cl) |
static void |
main(String[] args) |
void |
open() |
private static org.apache.commons.cli.CommandLine |
parseComandLine(String[] args) |
private byte[] |
readFile(String pathname) |
void |
sendFiles(List<String> pathnames) |
addApplicationEntity, addConnection, addDeviceExtension, bindConnections, connectionWithEqualsRDN, execute, getAEsSupportingTransferCapability, getAllAuthorizedNodeCertificates, getAllThisNodeCertificates, getApplicationAETitles, getApplicationEntities, getApplicationEntitiesMap, getApplicationEntity, getApplicationEntityNotNull, getAssociationHandler, getAuthorizedNodeCertificateRefs, getAuthorizedNodeCertificates, getConnectionMonitor, getConnections, getDefaultAE, getDescription, getDeviceExtension, getDeviceExtensionNotNull, getDeviceName, getDeviceSerialNumber, getDimseRQHandler, getExecutor, getExtensions, getInstitutionAddresses, getInstitutionalDepartmentNames, getInstitutionCodes, getInstitutionNames, getIssuerOfAccessionNumber, getIssuerOfAdmissionID, getIssuerOfContainerIdentifier, getIssuerOfPatientID, getIssuerOfServiceEpisodeID, getIssuerOfSpecimenIdentifier, getKeyManager, getKeyStoreKeyPin, getKeyStoreKeyPinProperty, getKeyStorePin, getKeyStorePinProperty, getKeyStoreType, getKeyStoreURL, getLimitOpenAssociations, getManufacturer, getManufacturerModelName, getNumberOfOpenAssociations, getOlockHash, getOrderFillerIdentifier, getOrderPlacerIdentifier, getPrimaryDeviceTypes, getRelatedDeviceRefs, getScheduledExecutor, getSoftwareVersions, getStationName, getThisNodeCertificateRefs, getThisNodeCertificates, getTimeZoneOfDevice, getTrustManager, getTrustStorePin, getTrustStorePinProperty, getTrustStoreType, getTrustStoreURL, getUuid, getVendorData, isInstalled, isLimitOfOpenAssociationsExceeded, listConnections, listDeviceExtensions, promptTo, rebindConnections, reconfigure, reconfigureConnections, removeAllAuthorizedNodeCertificates, removeAllThisNodeCertificates, removeApplicationEntity, removeApplicationEntity, removeAuthorizedNodeCertificates, removeConnection, removeDeviceExtension, removeThisNodeCertificates, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, setApplicationEntitiesMap, setAssociationHandler, setAuthorizedNodeCertificates, setConnectionMonitor, setConnections, setDefaultAE, setDescription, setDeviceAttributes, setDeviceName, setDeviceSerialNumber, setDimseRQHandler, setExecutor, setExtensions, setInstalled, setInstitutionAddresses, setInstitutionalDepartmentNames, setInstitutionCodes, setInstitutionNames, setIssuerOfAccessionNumber, setIssuerOfAdmissionID, setIssuerOfContainerIdentifier, setIssuerOfPatientID, setIssuerOfServiceEpisodeID, setIssuerOfSpecimenIdentifier, setKeyManager, setKeyStoreKeyPin, setKeyStoreKeyPinProperty, setKeyStorePin, setKeyStorePinProperty, setKeyStoreType, setKeyStoreURL, setLimitOpenAssociations, setManufacturer, setManufacturerModelName, setOlockHash, setOrderFillerIdentifier, setOrderPlacerIdentifier, setPrimaryDeviceTypes, setRelatedDeviceRefs, setScheduledExecutor, setSoftwareVersions, setStationName, setThisNodeCertificates, setTimeZoneOfDevice, setTrustManager, setTrustStorePin, setTrustStorePinProperty, setTrustStoreType, setTrustStoreURL, setUuid, setVendorData, toString, unbindConnections, waitForNoOpenConnections
private static ResourceBundle rb
private final Connection conn
private final Connection remote
private MLLPConnection mllp
public HL7Snd() throws IOException
IOException
private static org.apache.commons.cli.CommandLine parseComandLine(String[] args) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
private static void addConnectOption(org.apache.commons.cli.Options opts)
private static void addBindOption(org.apache.commons.cli.Options opts)
private static void configureConnect(Connection conn, org.apache.commons.cli.CommandLine cl) throws org.apache.commons.cli.MissingOptionException, org.apache.commons.cli.ParseException
org.apache.commons.cli.MissingOptionException
org.apache.commons.cli.ParseException
private static void configureBind(Connection conn, org.apache.commons.cli.CommandLine cl)
public void open() throws IOException, IncompatibleConnectionException, GeneralSecurityException
public void close()
public void sendFiles(List<String> pathnames) throws IOException
IOException
private byte[] readFile(String pathname) throws IOException
IOException
Copyright © 2017 dcm4che.org. All rights reserved.