public interface IMonitoredItem
Modifier and Type | Method and Description |
---|---|
void |
addTriggeringLink(IMonitoredItem item) |
AttributeType |
getAttributeType()
The AttributeType of the node this item is monitoring.
|
UInt32 |
getClientHandle()
Gets the client handle provided in the MonitoringParameters of this MonitoredItem.
|
ExtensionObject |
getFilterResult()
Gets the result of whatever Filter was specified in the MonitoringParameters.
|
java.lang.Object |
getLastValue() |
MonitoringMode |
getMonitoringMode()
Gets the current MonitoringMode for this item.
|
NodeId |
getNodeId()
NodeId if the Node being monitored.
|
java.util.List<DataValue> |
getQueuedValues(long numberOfValues)
Gets a specified number of items from the queue.
|
UInt32 |
getQueueSize()
Returns the maximum size of the queue used to hold values for this MonitoredItem.
|
int |
getRequestedRate()
The requested rate for this MonitoredItem as indicated by the MonitoringParameters for this
MonitoredItem.
|
int |
getRevisedRate()
The actual rate that will be used for this MonitoredItem.
|
UInt32 |
getServerHandle()
Returns the server-side handle used to identify this MonitoredItem.
|
int |
getSubscriptionRate()
The rate at which the Subscription this MonitoredItem belongs to is publishing at.
|
java.util.List<IMonitoredItem> |
getTriggeringLinks() |
boolean |
isTriggered() |
boolean |
isValueQueued()
True/false for whether or not there is currently one or more value in the queue.
|
void |
modify(MonitoringParameters monitoringParameters,
TimestampsToReturn timestampsToReturn)
Modify the settings of this MonitoredItem.
|
boolean |
removeTriggeringLink(IMonitoredItem item) |
void |
setMonitoringMode(MonitoringMode monitoringMode)
Sets the MonitoringMode for this MonitoredItem.
|
void |
setRevisedRate(int revisedRate)
Sets the actual rate that will be used for this MonitoredItem.
|
void |
setValue(DataValue value,
UtcTime serverTimestamp)
Attempts to add a value to the queue in this monitored item.
|
void |
trigger() |
int getSubscriptionRate()
int getRequestedRate()
int getRevisedRate()
void setRevisedRate(int revisedRate)
revisedRate
- boolean isValueQueued()
UInt32 getQueueSize()
UInt32 getServerHandle()
AttributeType getAttributeType()
NodeId getNodeId()
UInt32 getClientHandle()
java.util.List<DataValue> getQueuedValues(long numberOfValues)
ExtensionObject getFilterResult()
java.lang.Object getLastValue()
void setValue(DataValue value, UtcTime serverTimestamp)
value
- DataValue to add to the queue.serverTimestamp
- Server timestamp to apply if necessary.void modify(MonitoringParameters monitoringParameters, TimestampsToReturn timestampsToReturn)
monitoringParameters
- New MonitoringParameters for the item.timestampsToReturn
- New TimestampsToReturn for the item.void setMonitoringMode(MonitoringMode monitoringMode)
monitoringMode
- The new MonitoringMode for this item.MonitoringMode getMonitoringMode()
void addTriggeringLink(IMonitoredItem item)
boolean removeTriggeringLink(IMonitoredItem item)
java.util.List<IMonitoredItem> getTriggeringLinks()
void trigger()
boolean isTriggered()