|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.network.NetworkConfigurationSource
com.pixelmed.network.NetworkConfigurationFromMulticastDNS
public class NetworkConfigurationFromMulticastDNS
This class provides a dynamic registry of DICOM network parameters possibly federated from various sources.
Supported sources of information include:
| Nested Class Summary | |
|---|---|
protected class |
NetworkConfigurationFromMulticastDNS.OurJmDNSServiceListener
|
| Nested classes/interfaces inherited from class com.pixelmed.network.NetworkConfigurationSource |
|---|
NetworkConfigurationSource.DumpNetworkApplicationInformation |
| Field Summary | |
|---|---|
protected javax.jmdns.JmDNS |
jmDNS
|
| Fields inherited from class com.pixelmed.network.NetworkConfigurationSource |
|---|
debugLevel, DefaultDumpInfoInterval, DefaultSourceRefreshInterval, dumper, timer |
| Constructor Summary | |
|---|---|
NetworkConfigurationFromMulticastDNS(int debugLevel)
Construct an instance capable of handling dynamic configuration information but do not start anything yet. |
|
| Method Summary | |
|---|---|
void |
activateDiscovery(int refreshInterval)
Start DNS Self-Discovery, if possible. |
void |
deActivateDiscovery()
Stop DNS Self-Discovery. |
static void |
main(String[] arg)
Utility that activates a dynamic configuration listener and dumps its contents periodically. |
void |
registerDicomService(String calledApplicationEntityTitle,
int port,
String primaryDeviceType)
Register a DICOM service on the local host. |
void |
registerWADOService(String instanceName,
int port,
String path)
Register a WADO service on the local host. |
void |
unregisterAllServices()
Unregister all services that have been registered. |
| Methods inherited from class com.pixelmed.network.NetworkConfigurationSource |
|---|
activateDiscovery, activateDumper, activateDumper, close, deActivateDumper, getNetworkApplicationInformation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.jmdns.JmDNS jmDNS
| Constructor Detail |
|---|
public NetworkConfigurationFromMulticastDNS(int debugLevel)
Construct an instance capable of handling dynamic configuration information but do not start anything yet.
debugLevel - | Method Detail |
|---|
public void activateDiscovery(int refreshInterval)
Start DNS Self-Discovery, if possible.
Requires javax.jmdns package to be in class path.
activateDiscovery in class NetworkConfigurationSourcerefreshInterval - is ignored completely, since DNS-SD over mDNS is asynchronouspublic void deActivateDiscovery()
Stop DNS Self-Discovery.
deActivateDiscovery in class NetworkConfigurationSourcepublic void unregisterAllServices()
Unregister all services that have been registered.
public void registerDicomService(String calledApplicationEntityTitle,
int port,
String primaryDeviceType)
Register a DICOM service on the local host.
calledApplicationEntityTitle - the AET of the DICOM serviceport - the port that the service listens onprimaryDeviceType - the primaryDeviceType, or null if none
public void registerWADOService(String instanceName,
int port,
String path)
Register a WADO service on the local host.
instanceName - the instance name for the serviceport - the port that the service listens onpath - the path TXT parameter of the http servicepublic static void main(String[] arg)
Utility that activates a dynamic configuration listener and dumps its contents periodically.
Additionally, will register a DICOM service on the local machine, if parameters of that service are supplied.
arg - 2 or 3 arguments if a service is to be registered, the AET of the DICOM service,the port that the service listens on, and optionally the primaryDeviceType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||