- java.lang.Object
-
- swim.runtime.downlink.DownlinkModem
-
- swim.runtime.downlink.DownlinkModel<View>
-
- swim.runtime.downlink.DemandDownlinkModem<ValueDownlinkView<?>>
-
- swim.runtime.downlink.ValueDownlinkModel
-
- All Implemented Interfaces:
LinkBinding,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.downlink.DownlinkModel
views
-
Fields inherited from class swim.runtime.downlink.DownlinkModem
body, cellContext, hostUri, laneUri, linkContext, meshUri, nodeUri, prio, rate, status
-
-
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 swim.structure.ValuenextUpCue()protected voidpushDownEvent(swim.warp.EventMessage message)<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.downlink.DownlinkModel
addDownlink, didCloseUp, didConnect, didDisconnect, didFail, didRemoveDownlink, keepLinked, keepSynced, pullUpCommand, pullUpLink, pullUpSync, pullUpUnlink, pushDownLinked, pushDownSynced, pushDownUnlinked, removeDownlink, reopen
-
Methods inherited from class swim.runtime.downlink.DownlinkModem
body, cellContext, cipherSuite, cipherSuiteDown, closeDown, command, command, cueDown, cueUp, debug, debugDown, didClose, didLink, didOpen, didSync, didUnlink, error, errorDown, feedDown, feedUp, hostUri, info, infoDown, isConnected, isConnectedDown, isRemote, isRemoteDown, isSecure, isSecureDown, laneUri, link, linkContext, linkRequest, localAddress, localAddressDown, localCertificates, localCertificatesDown, localIdentity, localIdentityDown, localPrincipal, localPrincipalDown, meshUri, nextUpCueCommand, nextUpQueue, nextUpQueueCommand, nodeUri, onCommand, onEvent, openDown, prio, pullUp, pushDown, pushDownEnvelope, pushUp, queueUp, rate, remoteAddress, remoteAddressDown, remoteCertificates, remoteCertificatesDown, remoteIdentity, remoteIdentityDown, remotePrincipal, remotePrincipalDown, securityProtocol, securityProtocolDown, setCellContext, setLinkContext, skipDown, sync, syncRequest, trace, traceDown, unlink, unlinkRequest, unwrapLink, upQueueIsEmpty, warn, warnDown, willLink, willSync, willUnlink
-
-
-
-
Field Detail
-
flags
protected int flags
-
state
protected volatile swim.structure.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(swim.warp.EventMessage message)
- Overrides:
pushDownEventin classDownlinkModel<ValueDownlinkView<?>>
-
nextUpCue
protected swim.structure.Value nextUpCue()
- Specified by:
nextUpCuein classDemandDownlinkModem<ValueDownlinkView<?>>
-
didAddDownlink
protected void didAddDownlink(ValueDownlinkView<?> view)
- Overrides:
didAddDownlinkin classDownlinkModel<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)
-
-