public class AggregateSubscriptionItem extends java.lang.Object implements SubscriptionItem
Constructor and Description |
---|
AggregateSubscriptionItem(SubscriptionItem item) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(SubscriptionItem item) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAddress() |
java.lang.Object |
getAddressObject() |
java.util.LinkedList<SubscriptionItem> |
getItems() |
NodeId |
getNodeId() |
int |
getSamplingRate()
The rate (in milliseconds) that the
Driver should update this item at. |
int |
hashCode() |
boolean |
isEmpty() |
boolean |
removeItem(SubscriptionItem item) |
void |
setAddressObject(java.lang.Object obj) |
void |
setValue(DataValue value)
Callback that the driver will invoke when the read completes.
|
java.lang.String |
toString() |
public AggregateSubscriptionItem(SubscriptionItem item)
public NodeId getNodeId()
getNodeId
in interface DriverItem
NodeId
of the Node
this item represents.public java.lang.String getAddress()
getAddress
in interface DriverItem
DriverItem
.public void setValue(DataValue value)
ReadItem
public void addItem(SubscriptionItem item)
public boolean removeItem(SubscriptionItem item)
public java.util.LinkedList<SubscriptionItem> getItems()
public int getSamplingRate()
SubscriptionItem
Driver
should update this item at.getSamplingRate
in interface SubscriptionItem
public boolean isEmpty()
public java.lang.Object getAddressObject()
getAddressObject
in interface DriverItem
public void setAddressObject(java.lang.Object obj)
setAddressObject
in interface DriverItem
obj
- The driver-specific address object for this item.public java.lang.String toString()
toString
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object