- java.lang.Object
-
- swim.system.AbstractDownlinkBinding
-
- swim.system.DownlinkModel<View>
-
- swim.system.warp.WarpDownlinkModem<View>
-
- swim.system.warp.WarpDownlinkModel<View>
-
- swim.system.warp.DemandDownlinkModem<ValueDownlinkView<?>>
-
- swim.system.downlink.ValueDownlinkModel
-
- All Implemented Interfaces:
LinkBinding
,WarpBinding
,Log
public class ValueDownlinkModel extends DemandDownlinkModem<ValueDownlinkView<?>>
-
-
Field Summary
Fields Modifier and Type Field Description protected int
flags
protected Value
state
protected static int
STATEFUL
-
Fields inherited from class swim.system.warp.WarpDownlinkModem
body, cellContext, EXEC_DELTA, EXEC_TIME, linkContext, prio, rate, status
-
Fields inherited from class swim.system.DownlinkModel
views, VIEWS
-
Fields inherited from class swim.system.AbstractDownlinkBinding
hostUri, laneUri, meshUri, nodeUri
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
didAddDownlink(ValueDownlinkView<?> view)
protected void
didSet(Value newValue, Value oldValue)
Value
get()
boolean
isStateful()
ValueDownlinkModel
isStateful(boolean isStateful)
protected Push<CommandMessage>
nextUpCue()
protected void
pushDownEvent(Push<EventMessage> push)
<V> V
set(ValueDownlinkView<V> view, V newObject)
Value
setValue(Value newValue)
protected Value
willSet(Value newValue)
-
Methods inherited from class swim.system.warp.WarpDownlinkModel
keepLinked, keepSynced, pullUpCommand, pullUpLink, pullUpSync, pullUpUnlink, pushDownLinked, pushDownSynced, pushDownUnlinked
-
Methods inherited from class swim.system.warp.WarpDownlinkModem
accumulateExecTime, body, cellContext, closeDown, collectProfile, command, command, command, command, cueDown, cueUp, didClose, didCloseUp, didConnect, didDisconnect, didFail, didFailUp, didLink, didOpen, didRemoveDownlink, didSync, didUnlink, didUpdateMetrics, feedDown, feedUp, flushMetrics, link, linkContext, linkRequest, linkWrapper, nextUpQueue, onCommand, onEvent, openDown, openMetaDownlink, prio, pullUp, pushDown, pushDownUnknown, pushUp, pushUp, queueUp, rate, reportMetrics, setCellContext, setLinkContext, skipDown, sync, syncRequest, unlink, unlinkRequest, upQueueIsEmpty, willLink, willSync, willUnlink
-
Methods inherited from class swim.system.DownlinkModel
addDownlink, removeDownlink, removeDownlinks, reopen
-
Methods inherited from class swim.system.AbstractDownlinkBinding
bottomLink, cellAddressDown, cipherSuite, cipherSuiteDown, debug, debugDown, error, errorDown, fail, failDown, hostUri, info, infoDown, isConnected, isConnectedDown, isRemote, isRemoteDown, isSecure, isSecureDown, laneUri, linkKey, localAddress, localAddressDown, localCertificates, localCertificatesDown, localIdentity, localIdentityDown, localPrincipal, localPrincipalDown, meshUri, nodeUri, remoteAddress, remoteAddressDown, remoteCertificates, remoteCertificatesDown, remoteIdentity, remoteIdentityDown, remotePrincipal, remotePrincipalDown, securityProtocol, securityProtocolDown, setHostUri, setNodeUri, trace, traceDown, unwrapLink, warn, warnDown
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface swim.system.LinkBinding
bottomLink, cellAddressDown, cipherSuiteDown, debugDown, errorDown, failDown, hostUri, infoDown, isConnectedDown, isRemoteDown, isSecureDown, laneUri, linkKey, localAddressDown, localCertificatesDown, localIdentityDown, localPrincipalDown, meshUri, nodeUri, remoteAddressDown, remoteCertificatesDown, remoteIdentityDown, remotePrincipalDown, reopen, securityProtocolDown, setHostUri, setNodeUri, traceDown, unwrapLink, warnDown
-
-
-
-
Field Detail
-
state
protected volatile Value state
-
flags
protected int flags
-
STATEFUL
protected static final int STATEFUL
- See Also:
- Constant Field Values
-
-
Method Detail
-
isStateful
public final boolean isStateful()
-
isStateful
public ValueDownlinkModel isStateful(boolean isStateful)
-
pushDownEvent
protected void pushDownEvent(Push<EventMessage> push)
- Overrides:
pushDownEvent
in classWarpDownlinkModel<ValueDownlinkView<?>>
-
nextUpCue
protected Push<CommandMessage> nextUpCue()
- Specified by:
nextUpCue
in classDemandDownlinkModem<ValueDownlinkView<?>>
-
didAddDownlink
protected void didAddDownlink(ValueDownlinkView<?> view)
- Overrides:
didAddDownlink
in classWarpDownlinkModem<ValueDownlinkView<?>>
-
get
public Value get()
-
set
public <V> V set(ValueDownlinkView<V> view, V newObject)
-
-