Class BrokenBinding
- java.lang.Object
-
- com.inductiveautomation.perspective.gateway.binding.BrokenBinding
-
-
Field Summary
-
Fields inherited from interface com.inductiveautomation.perspective.gateway.api.Binding
BAD_CONFIG, BAD_REF, BIDIRECTIONAL_KEY, INITIAL_VALUE, MDC_BINDING_TARGET, NOT_FOUND
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onUserRefresh()
Called to prompt the binding to produce a value as soon as possible.void
shutdown()
Shut down the binding.void
startup()
Start up the binding.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.perspective.gateway.api.Binding
isBidirectional, onTargetPropertyChanged
-
-
-
-
Method Detail
-
startup
public void startup()
Description copied from interface:Binding
Start up the binding. Will be called on-queue
-
shutdown
public void shutdown()
Description copied from interface:Binding
Shut down the binding. Will be called on-queue
-
onUserRefresh
public void onUserRefresh()
Description copied from interface:Binding
Called to prompt the binding to produce a value as soon as possible. This _not_ the normal way that bindings work. Bindings are expected to produce a value un-prompted after startup, and then again whenever they feel is appropriate. This is there to allow the user to call component.refreshBinding(property) and prompt a non-polling binding to run.- Specified by:
onUserRefresh
in interfaceBinding
-
-