Class OpcSubscriptionModel
- java.lang.Object
- 
- com.inductiveautomation.ignition.gateway.opc.OpcSubscriptionModel
 
- 
 public class OpcSubscriptionModel extends java.lang.Object
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceOpcSubscriptionModel.ModelChangeListener
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddModelChangeListener(java.lang.String connectionName, OpcSubscriptionModel.ModelChangeListener listener)Add aOpcSubscriptionModel.ModelChangeListenerthat will be notified of changes to the subscription model for anOpcConnectionidentified byconnectionName.voidremoveModelChangeListener(java.lang.String connectionName, OpcSubscriptionModel.ModelChangeListener listener)Remove a previously-registeredOpcSubscriptionModel.ModelChangeListener.
 
- 
- 
- 
Method Detail- 
addModelChangeListenerpublic void addModelChangeListener(java.lang.String connectionName, OpcSubscriptionModel.ModelChangeListener listener)Add aOpcSubscriptionModel.ModelChangeListenerthat will be notified of changes to the subscription model for anOpcConnectionidentified byconnectionName.The listener will receive immediate callbacks (on another thread) to OpcSubscriptionModel.ModelChangeListener.onSubscriptionCreated(String, PropertySet)andOpcSubscriptionModel.ModelChangeListener.onNodesCreated(String, List)for any existing subscriptions and nodes.- Parameters:
- connectionName- the name of the connection to register the listener under.
- listener- the- OpcSubscriptionModel.ModelChangeListenerthat will be notified.
 
 - 
removeModelChangeListenerpublic void removeModelChangeListener(java.lang.String connectionName, OpcSubscriptionModel.ModelChangeListener listener)Remove a previously-registeredOpcSubscriptionModel.ModelChangeListener.- Parameters:
- connectionName- the name of the connection the listener was registered under.
- listener- the- OpcSubscriptionModel.ModelChangeListenerto remove.
 
 
- 
 
-