- 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,swim.util.Log
public class ValueDownlinkModel extends DemandDownlinkModem<ValueDownlinkView<?>>
-
-
Field Summary
Fields Modifier and Type Field Description protected intflagsprotected swim.structure.Valuestateprotected static intSTATEFUL-
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
-
-
Constructor Summary
Constructors Constructor Description ValueDownlinkModel(swim.uri.Uri meshUri, swim.uri.Uri hostUri, swim.uri.Uri nodeUri, swim.uri.Uri laneUri, float prio, float rate, swim.structure.Value body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddidAddDownlink(ValueDownlinkView<?> view)protected voiddidSet(swim.structure.Value newValue, swim.structure.Value oldValue)swim.structure.Valueget()booleanisStateful()ValueDownlinkModelisStateful(boolean isStateful)protected Push<swim.warp.CommandMessage>nextUpCue()protected voidpushDownEvent(Push<swim.warp.EventMessage> push)<V> Vset(ValueDownlinkView<V> view, V newObject)swim.structure.ValuesetValue(swim.structure.Value newValue)protected swim.structure.ValuewillSet(swim.structure.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, 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.runtime.DownlinkModel
addDownlink, removeDownlink, removeDownlinks, reopen
-
Methods inherited from class swim.runtime.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.runtime.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
-
STATEFUL
protected static final int STATEFUL
- See Also:
- Constant Field Values
-
flags
protected int flags
-
state
protected volatile swim.structure.Value state
-
-
Method Detail
-
isStateful
public final boolean isStateful()
-
isStateful
public ValueDownlinkModel isStateful(boolean isStateful)
-
pushDownEvent
protected void pushDownEvent(Push<swim.warp.EventMessage> push)
- Overrides:
pushDownEventin classWarpDownlinkModel<ValueDownlinkView<?>>
-
nextUpCue
protected Push<swim.warp.CommandMessage> nextUpCue()
- Specified by:
nextUpCuein classDemandDownlinkModem<ValueDownlinkView<?>>
-
didAddDownlink
protected void didAddDownlink(ValueDownlinkView<?> view)
- Overrides:
didAddDownlinkin classWarpDownlinkModem<ValueDownlinkView<?>>
-
get
public swim.structure.Value get()
-
set
public <V> V set(ValueDownlinkView<V> view, V newObject)
-
setValue
public swim.structure.Value setValue(swim.structure.Value newValue)
-
willSet
protected swim.structure.Value willSet(swim.structure.Value newValue)
-
didSet
protected void didSet(swim.structure.Value newValue, swim.structure.Value oldValue)
-
-