public class Device extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
addApplicationEntity(ApplicationEntity ae) |
void |
addConnection(Connection conn) |
void |
addDeviceExtension(DeviceExtension ext) |
void |
bindConnections() |
Connection |
connectionWithEqualsRDN(Connection other) |
void |
execute(Runnable command) |
X509Certificate[] |
getAllAuthorizedNodeCertificates() |
X509Certificate[] |
getAllThisNodeCertificates() |
Collection<String> |
getApplicationAETitles() |
Collection<ApplicationEntity> |
getApplicationEntities() |
ApplicationEntity |
getApplicationEntity(String aet) |
AssociationHandler |
getAssociationHandler() |
String[] |
getAuthorizedNodeCertificateRefs() |
X509Certificate[] |
getAuthorizedNodeCertificates(String ref) |
ConnectionMonitor |
getConnectionMonitor() |
String |
getDescription()
Get the description of this device.
|
<T extends DeviceExtension> |
getDeviceExtension(Class<T> clazz) |
<T extends DeviceExtension> |
getDeviceExtensionNotNull(Class<T> clazz) |
String |
getDeviceName()
Get the name of this device.
|
String |
getDeviceSerialNumber()
Get the serial number belonging to this device.
|
DimseRQHandler |
getDimseRQHandler() |
Executor |
getExecutor() |
String[] |
getInstitutionAddresses()
Set the address of the institution which operates this device.
|
String[] |
getInstitutionalDepartmentNames()
Get the department name associated with this device.
|
org.dcm4che3.data.Code[] |
getInstitutionCodes() |
String[] |
getInstitutionNames()
Get the institution name associated with this device; may be the site
where it resides or is operating on behalf of.
|
org.dcm4che3.data.Issuer |
getIssuerOfAccessionNumber() |
org.dcm4che3.data.Issuer |
getIssuerOfAdmissionID() |
org.dcm4che3.data.Issuer |
getIssuerOfContainerIdentifier() |
org.dcm4che3.data.Issuer |
getIssuerOfPatientID() |
org.dcm4che3.data.Issuer |
getIssuerOfServiceEpisodeID() |
org.dcm4che3.data.Issuer |
getIssuerOfSpecimenIdentifier() |
KeyManager |
getKeyManager() |
String |
getKeyStoreKeyPin() |
String |
getKeyStoreKeyPinProperty() |
String |
getKeyStorePin() |
String |
getKeyStorePinProperty() |
String |
getKeyStoreType() |
String |
getKeyStoreURL() |
int |
getLimitOpenAssociations() |
String |
getManufacturer()
Get the manufacturer of this device.
|
String |
getManufacturerModelName()
Get the manufacturer model name of this device.
|
int |
getNumberOfOpenAssociations() |
org.dcm4che3.data.Issuer |
getOrderFillerIdentifier() |
org.dcm4che3.data.Issuer |
getOrderPlacerIdentifier() |
String[] |
getPrimaryDeviceTypes()
Get the type codes associated with this device.
|
String[] |
getRelatedDeviceRefs() |
ScheduledExecutorService |
getScheduledExecutor() |
String[] |
getSoftwareVersions()
Get the software versions running on (or implemented by) this device.
|
String |
getStationName()
Get the station name belonging to this device.
|
String[] |
getThisNodeCertificateRefs() |
X509Certificate[] |
getThisNodeCertificates(String ref) |
TimeZone |
getTimeZoneOfDevice() |
TrustManager |
getTrustManager() |
String |
getTrustStorePin() |
String |
getTrustStorePinProperty() |
String |
getTrustStoreType() |
String |
getTrustStoreURL() |
byte[][] |
getVendorData()
Get device specific vendor configuration information
|
boolean |
isInstalled()
Get a boolean to indicate whether this device is presently installed on
the network.
|
boolean |
isLimitOfOpenAssociationsExceeded() |
List<Connection> |
listConnections() |
Collection<DeviceExtension> |
listDeviceExtensions() |
StringBuilder |
promptTo(StringBuilder sb,
String indent) |
void |
rebindConnections() |
void |
reconfigure(Device from) |
void |
reconfigureConnections(List<Connection> conns,
List<Connection> src) |
void |
removeAllAuthorizedNodeCertificates() |
void |
removeAllThisNodeCertificates() |
ApplicationEntity |
removeApplicationEntity(ApplicationEntity ae) |
ApplicationEntity |
removeApplicationEntity(String aet) |
X509Certificate[] |
removeAuthorizedNodeCertificates(String ref) |
boolean |
removeConnection(Connection conn) |
boolean |
removeDeviceExtension(DeviceExtension ext) |
X509Certificate[] |
removeThisNodeCertificates(String ref) |
ScheduledFuture<?> |
schedule(Runnable command,
long delay,
TimeUnit unit) |
ScheduledFuture<?> |
scheduleAtFixedRate(Runnable command,
long initialDelay,
long period,
TimeUnit unit) |
ScheduledFuture<?> |
scheduleWithFixedDelay(Runnable command,
long initialDelay,
long delay,
TimeUnit unit) |
void |
setAssociationHandler(AssociationHandler associationHandler) |
void |
setAuthorizedNodeCertificates(String ref,
X509Certificate... certs) |
void |
setConnectionMonitor(ConnectionMonitor connectionMonitor) |
void |
setDescription(String description)
Set the description of this device.
|
protected void |
setDeviceAttributes(Device from) |
void |
setDeviceName(String name)
Set the name of this device.
|
void |
setDeviceSerialNumber(String deviceSerialNumber)
Set the serial number of this device.
|
void |
setDimseRQHandler(DimseRQHandler dimseRQHandler) |
void |
setExecutor(Executor executor) |
void |
setInstalled(boolean installed)
Get a boolean to indicate whether this device is presently installed on
the network.
|
void |
setInstitutionAddresses(String... addresses)
Get the address of the institution which operates this device.
|
void |
setInstitutionalDepartmentNames(String... names)
Set the department name associated with this device.
|
void |
setInstitutionCodes(org.dcm4che3.data.Code... codes) |
void |
setInstitutionNames(String... names)
Set the institution name associated with this device; may be the site
where it resides or is operating on behalf of.
|
void |
setIssuerOfAccessionNumber(org.dcm4che3.data.Issuer issuerOfAccessionNumber) |
void |
setIssuerOfAdmissionID(org.dcm4che3.data.Issuer issuerOfAdmissionID) |
void |
setIssuerOfContainerIdentifier(org.dcm4che3.data.Issuer issuerOfContainerIdentifier) |
void |
setIssuerOfPatientID(org.dcm4che3.data.Issuer issuerOfPatientID) |
void |
setIssuerOfServiceEpisodeID(org.dcm4che3.data.Issuer issuerOfServiceEpisodeID) |
void |
setIssuerOfSpecimenIdentifier(org.dcm4che3.data.Issuer issuerOfSpecimenIdentifier) |
void |
setKeyManager(KeyManager km) |
void |
setKeyStoreKeyPin(String keyStorePin) |
void |
setKeyStoreKeyPinProperty(String keyStoreKeyPinProperty) |
void |
setKeyStorePin(String keyStorePin) |
void |
setKeyStorePinProperty(String keyStorePinProperty) |
void |
setKeyStoreType(String keyStoreType) |
void |
setKeyStoreURL(String keyStoreURL) |
void |
setLimitOpenAssociations(int limit) |
void |
setManufacturer(String manufacturer)
Set the manufacturer of this device.
|
void |
setManufacturerModelName(String manufacturerModelName)
Set the manufacturer model name of this device.
|
void |
setOrderFillerIdentifier(org.dcm4che3.data.Issuer orderFillerIdentifier) |
void |
setOrderPlacerIdentifier(org.dcm4che3.data.Issuer orderPlacerIdentifier) |
void |
setPrimaryDeviceTypes(String... primaryDeviceTypes)
Set the type codes associated with this device.
|
void |
setRelatedDeviceRefs(String... refs) |
void |
setScheduledExecutor(ScheduledExecutorService executor) |
void |
setSoftwareVersions(String... softwareVersions)
Set the software versions running on (or implemented by) this device.
|
void |
setStationName(String stationName)
Set the station name belonging to this device.
|
void |
setThisNodeCertificates(String ref,
X509Certificate... certs) |
void |
setTimeZoneOfDevice(TimeZone timeZoneOfDevice) |
void |
setTrustManager(TrustManager tm) |
void |
setTrustStorePin(String trustStorePin) |
void |
setTrustStorePinProperty(String trustStorePinProperty) |
void |
setTrustStoreType(String trustStoreType) |
void |
setTrustStoreURL(String trustStoreURL) |
void |
setVendorData(byte[]... vendorData)
Set device specific vendor configuration information
|
String |
toString() |
void |
unbindConnections() |
void |
waitForNoOpenConnections() |
public Device(String name)
public final String getDeviceName()
public final void setDeviceName(String name)
name - A String containing the device name.public final String getDescription()
public final void setDescription(String description)
description - A String containing the device description.public final String getManufacturer()
public final void setManufacturer(String manufacturer)
This should be the same as the value of Manufacturer (0008,0070) in SOP instances created by this device.
manufacturer - A String containing the device manufacturer.public final String getManufacturerModelName()
public final void setManufacturerModelName(String manufacturerModelName)
This should be the same as the value of Manufacturer Model Name (0008,1090) in SOP instances created by this device.
manufacturerModelName - A String containing the device manufacturer model name.public final String[] getSoftwareVersions()
public final void setSoftwareVersions(String... softwareVersions)
This should be the same as the values of Software Versions (0018,1020) in SOP instances created by this device.
softwareVersion - A String array containing the software versions.public final String getStationName()
public final void setStationName(String stationName)
This should be the same as the value of Station Name (0008,1010) in SOP instances created by this device.
stationName - A String containing the station name.public final String getDeviceSerialNumber()
public final void setDeviceSerialNumber(String deviceSerialNumber)
This should be the same as the value of Device Serial Number (0018,1000) in SOP instances created by this device.
deviceSerialNumber - A String containing the serial number.public final String[] getPrimaryDeviceTypes()
public void setPrimaryDeviceTypes(String... primaryDeviceTypes)
Represents the kind of device and is most applicable for acquisition modalities. Types should be selected from the list of code values (0008,0100) for Context ID 30 in PS3.16 when applicable.
primaryDeviceTypes - public final String[] getInstitutionNames()
public void setInstitutionNames(String... names)
Should be the same as the value of Institution Name (0008,0080) in SOP Instances created by this device.
names - A String array containing the institution name values.public final org.dcm4che3.data.Code[] getInstitutionCodes()
public void setInstitutionCodes(org.dcm4che3.data.Code... codes)
public final String[] getInstitutionAddresses()
public void setInstitutionAddresses(String... addresses)
Should be the same as the value of Institution Address (0008,0081) attribute in SOP Instances created by this device.
addr - A String array containing the institution address values.public final String[] getInstitutionalDepartmentNames()
public void setInstitutionalDepartmentNames(String... names)
Should be the same as the value of Institutional Department Name (0008,1040) in SOP Instances created by this device.
name - A String array containing the dept. name values.public final org.dcm4che3.data.Issuer getIssuerOfPatientID()
public final void setIssuerOfPatientID(org.dcm4che3.data.Issuer issuerOfPatientID)
public final org.dcm4che3.data.Issuer getIssuerOfAccessionNumber()
public final void setIssuerOfAccessionNumber(org.dcm4che3.data.Issuer issuerOfAccessionNumber)
public final org.dcm4che3.data.Issuer getOrderPlacerIdentifier()
public final void setOrderPlacerIdentifier(org.dcm4che3.data.Issuer orderPlacerIdentifier)
public final org.dcm4che3.data.Issuer getOrderFillerIdentifier()
public final void setOrderFillerIdentifier(org.dcm4che3.data.Issuer orderFillerIdentifier)
public final org.dcm4che3.data.Issuer getIssuerOfAdmissionID()
public final void setIssuerOfAdmissionID(org.dcm4che3.data.Issuer issuerOfAdmissionID)
public final org.dcm4che3.data.Issuer getIssuerOfServiceEpisodeID()
public final void setIssuerOfServiceEpisodeID(org.dcm4che3.data.Issuer issuerOfServiceEpisodeID)
public final org.dcm4che3.data.Issuer getIssuerOfContainerIdentifier()
public final void setIssuerOfContainerIdentifier(org.dcm4che3.data.Issuer issuerOfContainerIdentifier)
public final org.dcm4che3.data.Issuer getIssuerOfSpecimenIdentifier()
public final void setIssuerOfSpecimenIdentifier(org.dcm4che3.data.Issuer issuerOfSpecimenIdentifier)
public X509Certificate[] getAuthorizedNodeCertificates(String ref)
public void setAuthorizedNodeCertificates(String ref, X509Certificate... certs)
public X509Certificate[] removeAuthorizedNodeCertificates(String ref)
public void removeAllAuthorizedNodeCertificates()
public X509Certificate[] getAllAuthorizedNodeCertificates()
public String[] getAuthorizedNodeCertificateRefs()
public final String getTrustStoreURL()
public final void setTrustStoreURL(String trustStoreURL)
public final String getTrustStoreType()
public final void setTrustStoreType(String trustStoreType)
public final String getTrustStorePin()
public final void setTrustStorePin(String trustStorePin)
public final String getTrustStorePinProperty()
public final void setTrustStorePinProperty(String trustStorePinProperty)
public X509Certificate[] getThisNodeCertificates(String ref)
public void setThisNodeCertificates(String ref, X509Certificate... certs)
public X509Certificate[] removeThisNodeCertificates(String ref)
public final String getKeyStoreURL()
public final void setKeyStoreURL(String keyStoreURL)
public final String getKeyStoreType()
public final void setKeyStoreType(String keyStoreType)
public final String getKeyStorePin()
public final void setKeyStorePin(String keyStorePin)
public final String getKeyStorePinProperty()
public final void setKeyStorePinProperty(String keyStorePinProperty)
public final String getKeyStoreKeyPin()
public final void setKeyStoreKeyPin(String keyStorePin)
public final String getKeyStoreKeyPinProperty()
public final void setKeyStoreKeyPinProperty(String keyStoreKeyPinProperty)
public void removeAllThisNodeCertificates()
public X509Certificate[] getAllThisNodeCertificates()
public String[] getThisNodeCertificateRefs()
public final String[] getRelatedDeviceRefs()
public void setRelatedDeviceRefs(String... refs)
public final byte[][] getVendorData()
public void setVendorData(byte[]... vendorData)
vendorData - An Object of the device data.public final boolean isInstalled()
public final void setInstalled(boolean installed)
installed - A boolean which will be true if this device is installed.IOExceptionGeneralSecurityExceptionKeyManagementExceptionpublic void setTimeZoneOfDevice(TimeZone timeZoneOfDevice)
public TimeZone getTimeZoneOfDevice()
public final void setDimseRQHandler(DimseRQHandler dimseRQHandler)
public final DimseRQHandler getDimseRQHandler()
public final AssociationHandler getAssociationHandler()
public void setAssociationHandler(AssociationHandler associationHandler)
public ConnectionMonitor getConnectionMonitor()
public void setConnectionMonitor(ConnectionMonitor connectionMonitor)
public void bindConnections()
throws IOException,
GeneralSecurityException
IOExceptionGeneralSecurityExceptionpublic void rebindConnections()
throws IOException,
GeneralSecurityException
IOExceptionGeneralSecurityExceptionpublic void unbindConnections()
public final Executor getExecutor()
public final void setExecutor(Executor executor)
public final ScheduledExecutorService getScheduledExecutor()
public final void setScheduledExecutor(ScheduledExecutorService executor)
public void addConnection(Connection conn)
public boolean removeConnection(Connection conn)
public List<Connection> listConnections()
public Connection connectionWithEqualsRDN(Connection other)
public void addApplicationEntity(ApplicationEntity ae)
public ApplicationEntity removeApplicationEntity(ApplicationEntity ae)
public ApplicationEntity removeApplicationEntity(String aet)
public void addDeviceExtension(DeviceExtension ext)
public boolean removeDeviceExtension(DeviceExtension ext)
public final int getLimitOpenAssociations()
public final void setLimitOpenAssociations(int limit)
public int getNumberOfOpenAssociations()
public void waitForNoOpenConnections()
throws InterruptedException
InterruptedExceptionpublic boolean isLimitOfOpenAssociationsExceeded()
public ApplicationEntity getApplicationEntity(String aet)
public Collection<String> getApplicationAETitles()
public Collection<ApplicationEntity> getApplicationEntities()
public final void setKeyManager(KeyManager km)
public final KeyManager getKeyManager()
public final void setTrustManager(TrustManager tm)
public final TrustManager getTrustManager()
public void execute(Runnable command)
public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit)
public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)
public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit)
public StringBuilder promptTo(StringBuilder sb, String indent)
public void reconfigure(Device from) throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionprotected void setDeviceAttributes(Device from)
public void reconfigureConnections(List<Connection> conns, List<Connection> src)
public Collection<DeviceExtension> listDeviceExtensions()
public <T extends DeviceExtension> T getDeviceExtension(Class<T> clazz)
public <T extends DeviceExtension> T getDeviceExtensionNotNull(Class<T> clazz)
Copyright © 2014 dcm4che.org. All rights reserved.