- java.lang.Object
-
- swim.system.DownlinkView
-
- swim.system.warp.WarpDownlinkView
-
- swim.system.downlink.ValueDownlinkView<V>
-
- swim.system.lane.JoinValueLaneDownlink<V>
-
- All Implemented Interfaces:
Downlink
,ValueDownlink<V>
,Link
,WarpDownlink
,WarpLink
,Observable<Object>
,ObservableValue<V>
,Inlet<V>
,Outlet<V>
,Log
public class JoinValueLaneDownlink<V> extends ValueDownlinkView<V>
-
-
Field Summary
Fields Modifier and Type Field Description protected Value
key
protected JoinValueLaneModel
laneModel
-
Fields inherited from class swim.system.downlink.ValueDownlinkView
input, model, outputs, STATEFUL, valueForm, version
-
Fields inherited from class swim.system.warp.WarpDownlinkView
body, flags, hostUri, KEEP_LINKED, KEEP_SYNCED, laneUri, meshUri, nodeUri, prio, rate
-
Fields inherited from class swim.system.DownlinkView
cellContext, observers, stage
-
-
Constructor Summary
Constructors Constructor Description JoinValueLaneDownlink(CellContext cellContext, Stage stage, JoinValueLaneModel laneModel, Value key, Uri meshUri, Uri hostUri, Uri nodeUri, Uri laneUri, float prio, float rate, Value body, int flags, Form<V> valueForm, Object observers)
JoinValueLaneDownlink(CellContext cellContext, Stage stage, JoinValueLaneModel laneModel, Value key, Uri meshUri, Uri hostUri, Uri nodeUri, Uri laneUri, float prio, float rate, Value body, Form<V> valueForm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueDownlinkView<V>
body(Value body)
void
downlinkDidSetValue(Value newValue, Value oldValue)
Value
downlinkWillSetValue(Value newValue)
ValueDownlinkView<V>
hostUri(Uri hostUri)
ValueDownlinkView<V>
laneUri(Uri laneUri)
ValueDownlinkView<V>
nodeUri(Uri nodeUri)
ValueDownlinkView<V>
open()
protected void
openDownlink()
ValueDownlinkView<V>
prio(float prio)
ValueDownlinkView<V>
rate(float rate)
Value
setValue(Value newValue)
<V2> ValueDownlinkView<V2>
valueForm(Form<V2> valueForm)
-
Methods inherited from class swim.system.downlink.ValueDownlinkView
bindInput, bindOutput, close, createDownlinkModel, decohere, decohereInput, decohereOutput, didClose, didConnect, didDecohere, didDisconnect, didFail, didLink, didReceive, didRecohere, didSet, didSync, didUnlink, disconnectInputs, disconnectOutputs, dispatchDidSet, dispatchWillSet, downlinkDidSet, downlinkModel, downlinkWillSet, get, hostUri, input, isStateful, isStateful, keepLinked, keepSynced, laneUri, nodeUri, observe, onDecohere, onRecohere, outputIterator, recohere, recohereInput, recohereOutput, set, typesafeObservers, unbindInput, unbindOutput, unbindOutputs, unobserve, valueClass, valueForm, willCommand, willDecohere, willLink, willReceive, willRecohere, willSet, willSync, willUnlink
-
Methods inherited from class swim.system.warp.WarpDownlinkView
body, command, command, command, command, dispatchDidLink, dispatchDidReceive, dispatchDidSync, dispatchDidUnlink, dispatchWillCommand, dispatchWillLink, dispatchWillReceive, dispatchWillSync, dispatchWillUnlink, downlinkDidLink, downlinkDidReceive, downlinkDidSync, downlinkDidUnlink, downlinkWillCommand, downlinkWillLink, downlinkWillReceive, downlinkWillSync, downlinkWillUnlink, hostUri, keepLinked, keepSynced, laneUri, meshUri, nodeUri, prio, rate
-
Methods inherited from class swim.system.DownlinkView
cellContext, cipherSuite, debug, dispatchDidClose, dispatchDidConnect, dispatchDidDisconnect, dispatchDidFail, downlinkDidClose, downlinkDidConnect, downlinkDidDisconnect, downlinkDidFail, error, fail, info, isConnected, isRemote, isSecure, localAddress, localCertificates, localIdentity, localPrincipal, remoteAddress, remoteCertificates, remoteIdentity, remotePrincipal, securityProtocol, stage, trace, warn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface swim.api.Link
cipherSuite, hostUri, isConnected, isRemote, isSecure, laneUri, localAddress, localCertificates, localIdentity, localPrincipal, nodeUri, remoteAddress, remoteCertificates, remoteIdentity, remotePrincipal, securityProtocol
-
Methods inherited from interface swim.api.warp.WarpDownlink
body, command, command, command, command, keepLinked, keepSynced, prio, rate
-
-
-
-
Field Detail
-
laneModel
protected final JoinValueLaneModel laneModel
-
key
protected final Value key
-
-
Method Detail
-
hostUri
public ValueDownlinkView<V> hostUri(Uri hostUri)
- Specified by:
hostUri
in interfaceValueDownlink<V>
- Specified by:
hostUri
in interfaceWarpDownlink
- Overrides:
hostUri
in classValueDownlinkView<V>
-
nodeUri
public ValueDownlinkView<V> nodeUri(Uri nodeUri)
- Specified by:
nodeUri
in interfaceValueDownlink<V>
- Specified by:
nodeUri
in interfaceWarpDownlink
- Overrides:
nodeUri
in classValueDownlinkView<V>
-
laneUri
public ValueDownlinkView<V> laneUri(Uri laneUri)
- Specified by:
laneUri
in interfaceValueDownlink<V>
- Specified by:
laneUri
in interfaceWarpDownlink
- Overrides:
laneUri
in classValueDownlinkView<V>
-
prio
public ValueDownlinkView<V> prio(float prio)
- Specified by:
prio
in interfaceValueDownlink<V>
- Specified by:
prio
in interfaceWarpDownlink
- Overrides:
prio
in classValueDownlinkView<V>
-
rate
public ValueDownlinkView<V> rate(float rate)
- Specified by:
rate
in interfaceValueDownlink<V>
- Specified by:
rate
in interfaceWarpDownlink
- Overrides:
rate
in classValueDownlinkView<V>
-
body
public ValueDownlinkView<V> body(Value body)
- Specified by:
body
in interfaceValueDownlink<V>
- Specified by:
body
in interfaceWarpDownlink
- Overrides:
body
in classValueDownlinkView<V>
-
valueForm
public <V2> ValueDownlinkView<V2> valueForm(Form<V2> valueForm)
- Specified by:
valueForm
in interfaceValueDownlink<V>
- Overrides:
valueForm
in classValueDownlinkView<V>
-
downlinkWillSetValue
public Value downlinkWillSetValue(Value newValue)
- Overrides:
downlinkWillSetValue
in classValueDownlinkView<V>
-
downlinkDidSetValue
public void downlinkDidSetValue(Value newValue, Value oldValue)
- Overrides:
downlinkDidSetValue
in classValueDownlinkView<V>
-
open
public ValueDownlinkView<V> open()
- Specified by:
open
in interfaceDownlink
- Specified by:
open
in interfaceValueDownlink<V>
- Specified by:
open
in interfaceWarpDownlink
- Overrides:
open
in classValueDownlinkView<V>
-
openDownlink
protected void openDownlink()
-
-