- 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 intflagsprotected 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, VIEWS
-
Fields inherited from class swim.runtime.AbstractDownlinkBinding
hostUri, laneUri, meshUri, nodeUri
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddidAddDownlink(ValueDownlinkView<?> view)protected voiddidSet(Value newValue, Value oldValue)Valueget()booleanisStateful()ValueDownlinkModelisStateful(boolean isStateful)protected Push<CommandMessage>nextUpCue()protected voidpushDownEvent(Push<EventMessage> push)<V> Vset(ValueDownlinkView<V> view, V newObject)ValuesetValue(Value newValue)protected ValuewillSet(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
-
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:
pushDownEventin classWarpDownlinkModel<ValueDownlinkView<?>>
-
nextUpCue
protected Push<CommandMessage> nextUpCue()
- Specified by:
nextUpCuein classDemandDownlinkModem<ValueDownlinkView<?>>
-
didAddDownlink
protected void didAddDownlink(ValueDownlinkView<?> view)
- Overrides:
didAddDownlinkin classWarpDownlinkModem<ValueDownlinkView<?>>
-
get
public Value get()
-
set
public <V> V set(ValueDownlinkView<V> view, V newObject)
-
-