- java.lang.Object
-
- swim.runtime.AbstractDownlinkBinding
-
- swim.runtime.DownlinkModel<View>
-
- swim.runtime.warp.WarpDownlinkModem<View>
-
- swim.runtime.warp.WarpDownlinkModel<View>
-
- swim.runtime.warp.DemandDownlinkModem<ValueDownlinkView<?>>
-
- swim.runtime.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.runtime.warp.WarpDownlinkModem
body, cellContext, EXEC_DELTA, EXEC_TIME, linkContext, prio, rate, status
-
Fields inherited from class swim.runtime.DownlinkModel
views
-
Fields inherited from class swim.runtime.AbstractDownlinkBinding
hostUri, laneUri, meshUri, nodeUri
-
-
Method Summary
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.runtime.warp.WarpDownlinkModel
keepLinked, keepSynced, pullUpCommand, pullUpLink, pullUpSync, pullUpUnlink, pushDownLinked, pushDownSynced, pushDownUnlinked
-
Methods inherited from class swim.runtime.warp.WarpDownlinkModem
accumulateExecTime, body, cellContext, closeDown, collectProfile, command, command, command, command, cueDown, cueUp, didClose, didCloseUp, didConnect, didDisconnect, didFail, 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, reopen, reportMetrics, setCellContext, setLinkContext, skipDown, sync, syncRequest, unlink, unlinkRequest, upQueueIsEmpty, willLink, willSync, willUnlink
-
Methods inherited from class swim.runtime.DownlinkModel
addDownlink, removeDownlink, removeDownlinks
-
Methods inherited from class swim.runtime.AbstractDownlinkBinding
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, 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.runtime.LinkBinding
cellAddressDown, cipherSuiteDown, debugDown, errorDown, failDown, hostUri, infoDown, isConnectedDown, isRemoteDown, isSecureDown, laneUri, linkKey, localAddressDown, localCertificatesDown, localIdentityDown, localPrincipalDown, meshUri, nodeUri, remoteAddressDown, remoteCertificatesDown, remoteIdentityDown, remotePrincipalDown, securityProtocolDown, traceDown, unwrapLink, warnDown
-
-
-
-
Field Detail
-
STATEFUL
protected static final int STATEFUL
- See Also:
- Constant Field Values
-
flags
protected int flags
-
state
protected volatile Value state
-
-
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)
-
-