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 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.
|
String |
getApplicationEntityTitleFromLocalName(String localName)
Find the AET an application entity given its local name.
|
Set |
getListOfApplicationEntityTitlesOfApplicationEntities()
Return the set of local names of application entities.
|
Set |
getListOfLocalNamesOfApplicationEntities()
Return the set of local names of application entities.
|
String |
getLocalNameFromApplicationEntityTitle(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, toStringprotected long lastTimeUpdateRan
protected static final long RefreshFromSourcesInterval
protected 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 NetworkApplicationInformationpublic String getApplicationEntityTitleFromLocalName(String localName)
Find the AET an application entity given its local name.
getApplicationEntityTitleFromLocalName in class NetworkApplicationInformationlocalName - the local name of the AEpublic Set getListOfApplicationEntityTitlesOfApplicationEntities()
Return the set of local names of application entities.
getListOfApplicationEntityTitlesOfApplicationEntities in class NetworkApplicationInformationpublic Set getListOfLocalNamesOfApplicationEntities()
Return the set of local names of application entities.
getListOfLocalNamesOfApplicationEntities in class NetworkApplicationInformationpublic String getLocalNameFromApplicationEntityTitle(String aet)
Find the local name of an application entity given its AET.
getLocalNameFromApplicationEntityTitle in class NetworkApplicationInformationaet - 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()