Enum Class WicaDataAcquisitionMode
- All Implemented Interfaces:
Serializable
,Comparable<WicaDataAcquisitionMode>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSends a single network request to the underlying control system asking it to provide notification of interesting changes to the dynamically-changing information associated with the control point.Periodically sends a network request to the underlying control system asking it to provide updated information on the dynamically-changing properties of the control point.Samples the dynamically-changing properties of the control point using a combination of POLL and MONITOR modes.Sends a single network request to the underlying control system asking it to provide notification of interesting changes to the dynamically-changing information associated with the control point. -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
toString()
static WicaDataAcquisitionMode
Returns the enum constant of this class with the specified name.static WicaDataAcquisitionMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
POLL
Periodically sends a network request to the underlying control system asking it to provide updated information on the dynamically-changing properties of the control point. The information that is obtained is configurable but will usually include the current value of the control point. Additionally it is possible to request the control point's timestamp and alarm state.The received information is internally buffered by the Wica Server and sent out in batches as individual Server-Sent-Event (SSE) messages within the overall Wica Stream. The size of the polled-value buffer is configurable on the server by the system administrator. The rate at which the polled values are sent out in batches is configurable by the user as a property of each stream.
Unlike values obtained by monitoring, values obtained by polling are NOT filterable. That's to say each polled value will be directly represented in the Wica Stream's SSE update messages.
This mode allows the user to acquire information with the required update latency by configuration of the appropriate polling interval (but with consequential increase in the network demand).
- See Also:
-
MONITOR
Sends a single network request to the underlying control system asking it to provide notification of interesting changes to the dynamically-changing information associated with the control point.Interesting changes will usually include changes to the control point's current value (possibly outside certain defined limits) and additionally changes to the control point's alarm state.
Notified values are internally buffered on the Wica Server, optionally FILTERED (if an appropriate rule has been defined), and published in batches as individual Server-Sent-Event (SSE) messages on the Wica Stream.
The size of the internal monitored-value buffer is configured on the server by the system administrator. The rate at which the monitored values are sent out in batches is configurable by the user as a property of the stream.
This mode is economical with network usage whilst optimising the latency with which updated information is posted to the Wica Stream.
- See Also:
-
POLL_AND_MONITOR
Samples the dynamically-changing properties of the control point using a combination of POLL and MONITOR modes. By selection of an appropriate polling interval this mode can guarantee that the Wica Stream publishes a new value at least as often as every X milliseconds, seconds, minutes etc.This mode can be useful for updating a graphical plot of control point values at a periodic rate even when the value is not changing in the control system (that's to say when no monitor notifications are being posted). Another use case is to periodically verify that the control system monitoring is still working as expected (that's to say that the monitors on the control-points-of-interest have not quietly died).
- See Also:
-
POLL_MONITOR
Sends a single network request to the underlying control system asking it to provide notification of interesting changes to the dynamically-changing information associated with the control point. Internally buffers the most recently received notification information but does NOT publish this directly on the Wica Stream. Periodically samples the value that is buffered on the server, and publishes it as part of the Wica Stream's polled value flux.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
doesPolling
public boolean doesPolling() -
doesMonitorPublication
public boolean doesMonitorPublication() -
doesMonitoring
public boolean doesMonitoring() -
doesMonitorPolling
public boolean doesMonitorPolling() -
doesNetworkPolling
public boolean doesNetworkPolling() -
toString
- Overrides:
toString
in classEnum<WicaDataAcquisitionMode>
-