public class NetworkApplicationInformationFederated extends NetworkApplicationInformation
This class encapsulates information about DICOM network devices federated from multiple sources.
Modifier and Type | Field and Description |
---|---|
protected long |
lastTimeUpdateRan |
protected static long |
RefreshFromSourcesInterval |
protected java.util.ArrayList |
sources |
propertyName_DicomRemoteAEs, resourceName_PublicStorageSCPs
Constructor and Description |
---|
NetworkApplicationInformationFederated() |
Modifier and Type | Method and Description |
---|---|
void |
addSource(NetworkConfigurationSource source)
Add a new source of network information.
|
ApplicationEntityMap |
getApplicationEntityMap()
Return the application entity map.
|
java.lang.String |
getApplicationEntityTitleFromLocalName(java.lang.String localName)
Find the AET an application entity given its local name.
|
java.util.Set |
getListOfApplicationEntityTitlesOfApplicationEntities()
Return the set of local names of application entities.
|
java.util.Set |
getListOfLocalNamesOfApplicationEntities()
Return the set of local names of application entities.
|
java.lang.String |
getLocalNameFromApplicationEntityTitle(java.lang.String aet)
Find the local name of an application entity given its AET.
|
void |
removeAllSources()
Remove all sources and all caches of network information.
|
void |
startupAllKnownSourcesAndRegister(NetworkApplicationProperties properties)
Startup all sources of network information and register oneself.
|
void |
startupAllKnownSourcesAndRegister(NetworkApplicationProperties networkApplicationProperties,
WebServerApplicationProperties webServerApplicationProperties)
Startup all sources of network information and register oneself.
|
protected void |
update() |
add, add, addAll, addAll, addPublicStorageSCPs, getLDIFRepresentation, getProperties, remove, removeAll, toString
protected long lastTimeUpdateRan
protected static final long RefreshFromSourcesInterval
protected java.util.ArrayList sources
public NetworkApplicationInformationFederated()
public void addSource(NetworkConfigurationSource source)
Add a new source of network information.
source
- the source of network informationpublic ApplicationEntityMap getApplicationEntityMap()
Return the application entity map.
getApplicationEntityMap
in class NetworkApplicationInformation
public java.lang.String getApplicationEntityTitleFromLocalName(java.lang.String localName)
Find the AET an application entity given its local name.
getApplicationEntityTitleFromLocalName
in class NetworkApplicationInformation
localName
- the local name of the AEpublic java.util.Set getListOfApplicationEntityTitlesOfApplicationEntities()
Return the set of local names of application entities.
getListOfApplicationEntityTitlesOfApplicationEntities
in class NetworkApplicationInformation
public java.util.Set getListOfLocalNamesOfApplicationEntities()
Return the set of local names of application entities.
getListOfLocalNamesOfApplicationEntities
in class NetworkApplicationInformation
public java.lang.String getLocalNameFromApplicationEntityTitle(java.lang.String aet)
Find the local name of an application entity given its AET.
getLocalNameFromApplicationEntityTitle
in class NetworkApplicationInformation
aet
- the application entity titlepublic void removeAllSources()
Remove all sources and all caches of network information.
Includes unregistering any mDNS registered services.
E.g., prior to changing properties and restarting.
public void startupAllKnownSourcesAndRegister(NetworkApplicationProperties properties)
Startup all sources of network information and register oneself.
properties
- the pre-configured DICOM network properties, including information about other sources and self to registerpublic void startupAllKnownSourcesAndRegister(NetworkApplicationProperties networkApplicationProperties, WebServerApplicationProperties webServerApplicationProperties)
Startup all sources of network information and register oneself.
networkApplicationProperties
- the pre-configured DICOM network properties, including information about other sources and self to registerwebServerApplicationProperties
- the pre-configured web server network propertiesprotected void update()