|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.network.NetworkConfigurationSource
public abstract class NetworkConfigurationSource
This abstract class provides a source of DICOM network parameters.
| Nested Class Summary | |
|---|---|
protected class |
NetworkConfigurationSource.DumpNetworkApplicationInformation
|
| Field Summary | |
|---|---|
protected int |
debugLevel
|
protected static int |
DefaultDumpInfoInterval
|
protected static int |
DefaultSourceRefreshInterval
|
protected NetworkConfigurationSource.DumpNetworkApplicationInformation |
dumper
|
protected Timer |
timer
|
| Constructor Summary | |
|---|---|
protected |
NetworkConfigurationSource(int debugLevel)
Construct an instance capable of returning configuration information but do not start anything yet. |
| Method Summary | |
|---|---|
void |
activateDiscovery()
Start discovery of network configuration, if possible. |
abstract void |
activateDiscovery(int refreshInterval)
Start discovery of network configuration, if possible. |
void |
activateDumper()
Start dumping current configuration information at regular intervals. |
void |
activateDumper(int dumpInfoInterval)
Start dumping current configuration information at specified intervals. |
void |
close()
Close down any running threads related to an instance of this class. |
abstract void |
deActivateDiscovery()
Stop discovery. |
void |
deActivateDumper()
Stop dumping current configuration information. |
NetworkApplicationInformation |
getNetworkApplicationInformation()
Return the network application information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int DefaultDumpInfoInterval
protected static final int DefaultSourceRefreshInterval
protected int debugLevel
protected final Timer timer
protected NetworkConfigurationSource.DumpNetworkApplicationInformation dumper
| Constructor Detail |
|---|
protected NetworkConfigurationSource(int debugLevel)
Construct an instance capable of returning configuration information but do not start anything yet.
debugLevel - | Method Detail |
|---|
public NetworkApplicationInformation getNetworkApplicationInformation()
Return the network application information.
Synchronized since the information may be dynamically updated whilst accessible by other threads.
public final void activateDumper()
Start dumping current configuration information at regular intervals.
public void activateDumper(int dumpInfoInterval)
Start dumping current configuration information at specified intervals.
dumpInfoInterval - interval in millisecondspublic void deActivateDumper()
Stop dumping current configuration information.
public final void close()
Close down any running threads related to an instance of this class.
public final void activateDiscovery()
Start discovery of network configuration, if possible.
public abstract void activateDiscovery(int refreshInterval)
Start discovery of network configuration, if possible.
refreshInterval - interval to refresh configuration in milliseconds, 0 if no refresh (runs once only); may be ignored if source is asynchronouspublic abstract void deActivateDiscovery()
Stop discovery.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||