- 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, 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
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 Value
nextUpCue()
protected void
pushDownEvent(EventMessage message)
<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
body, cellContext, closeDown, command, command, cueDown, cueUp, didClose, didCloseUp, didConnect, didDisconnect, didFail, didLink, didOpen, didSync, didUnlink, feedDown, feedUp, link, linkContext, linkRequest, linkWrapper, nextUpCueCommand, nextUpQueue, nextUpQueueCommand, onCommand, onEvent, openDown, prio, pullUp, pushDown, pushDownEnvelope, pushUp, queueUp, rate, reopen, setCellContext, setLinkContext, skipDown, sync, syncRequest, unlink, unlinkRequest, upQueueIsEmpty, willLink, willSync, willUnlink
-
Methods inherited from class swim.runtime.DownlinkModel
addDownlink, didRemoveDownlink, removeDownlink
-
Methods inherited from class swim.runtime.AbstractDownlinkBinding
cipherSuite, cipherSuiteDown, debug, debugDown, error, errorDown, 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
cipherSuiteDown, debugDown, errorDown, hostUri, infoDown, isConnectedDown, isRemoteDown, isSecureDown, laneUri, linkKey, localAddressDown, localCertificatesDown, localIdentityDown, localPrincipalDown, meshUri, nodeUri, remoteAddressDown, remoteCertificatesDown, remoteIdentityDown, remotePrincipalDown, securityProtocolDown, traceDown, unwrapLink, warnDown
-
-
-
-
Field Detail
-
flags
protected int flags
-
state
protected volatile Value state
-
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(EventMessage message)
- Overrides:
pushDownEvent
in classWarpDownlinkModel<ValueDownlinkView<?>>
-
nextUpCue
protected Value nextUpCue()
- Specified by:
nextUpCue
in classDemandDownlinkModem<ValueDownlinkView<?>>
-
didAddDownlink
protected void didAddDownlink(ValueDownlinkView<?> view)
- Overrides:
didAddDownlink
in classDownlinkModel<ValueDownlinkView<?>>
-
get
public Value get()
-
set
public <V> V set(ValueDownlinkView<V> view, V newObject)
-
-