java.lang.Object
swim.system.DownlinkView
swim.system.warp.WarpDownlinkView
swim.system.downlink.EventDownlinkView<V>
- All Implemented Interfaces:
Downlink
,EventDownlink<V>
,Link
,WarpDownlink
,WarpLink
,Observable<Object>
,Log
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionEventDownlinkView
(CellContext cellContext, Stage stage, Uri meshUri, Uri hostUri, Uri nodeUri, Uri laneUri, float prio, float rate, Value body, int flags, Form<V> valueForm, Object observers) EventDownlinkView
(CellContext cellContext, Stage stage, Uri meshUri, Uri hostUri, Uri nodeUri, Uri laneUri, float prio, float rate, Value body, Form<V> valueForm) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
didConnect
(DidConnect didConnect) didDisconnect
(DidDisconnect didDisconnect) didReceive
(DidReceive didReceive) boolean
dispatchOnEvent
(V value, boolean preemptive) void
downlinkOnEvent
(V value) keepLinked
(boolean keepLinked) keepSynced
(boolean keepSynced) open()
prio
(float prio) rate
(float rate) protected Object
typesafeObservers
(Object observers) <V2> EventDownlinkView<V2>
valueClass
(Class<V2> valueClass) <V2> EventDownlinkView<V2>
willCommand
(WillCommand willCommand) willReceive
(WillReceive willReceive) willUnlink
(WillUnlink 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 Details
-
valueForm
-
model
-
-
Constructor Details
-
EventDownlinkView
-
EventDownlinkView
-
-
Method Details
-
downlinkModel
- Specified by:
downlinkModel
in classWarpDownlinkView
-
hostUri
- Specified by:
hostUri
in interfaceEventDownlink<V>
- Specified by:
hostUri
in interfaceWarpDownlink
- Specified by:
hostUri
in classWarpDownlinkView
-
hostUri
- Specified by:
hostUri
in interfaceEventDownlink<V>
- Specified by:
hostUri
in interfaceWarpDownlink
- Specified by:
hostUri
in classWarpDownlinkView
-
nodeUri
- Specified by:
nodeUri
in interfaceEventDownlink<V>
- Specified by:
nodeUri
in interfaceWarpDownlink
- Specified by:
nodeUri
in classWarpDownlinkView
-
nodeUri
- Specified by:
nodeUri
in interfaceEventDownlink<V>
- Specified by:
nodeUri
in interfaceWarpDownlink
- Specified by:
nodeUri
in classWarpDownlinkView
-
laneUri
- Specified by:
laneUri
in interfaceEventDownlink<V>
- Specified by:
laneUri
in interfaceWarpDownlink
- Specified by:
laneUri
in classWarpDownlinkView
-
laneUri
- Specified by:
laneUri
in interfaceEventDownlink<V>
- Specified by:
laneUri
in interfaceWarpDownlink
- Specified by:
laneUri
in classWarpDownlinkView
-
prio
- Specified by:
prio
in interfaceEventDownlink<V>
- Specified by:
prio
in interfaceWarpDownlink
- Specified by:
prio
in classWarpDownlinkView
-
rate
- Specified by:
rate
in interfaceEventDownlink<V>
- Specified by:
rate
in interfaceWarpDownlink
- Specified by:
rate
in classWarpDownlinkView
-
body
- Specified by:
body
in interfaceEventDownlink<V>
- Specified by:
body
in interfaceWarpDownlink
- Specified by:
body
in classWarpDownlinkView
-
keepLinked
- Specified by:
keepLinked
in interfaceEventDownlink<V>
- Specified by:
keepLinked
in interfaceWarpDownlink
- Specified by:
keepLinked
in classWarpDownlinkView
-
keepSynced
- Specified by:
keepSynced
in interfaceEventDownlink<V>
- Specified by:
keepSynced
in interfaceWarpDownlink
- Specified by:
keepSynced
in classWarpDownlinkView
-
valueForm
- Specified by:
valueForm
in interfaceEventDownlink<V>
-
valueForm
- Specified by:
valueForm
in interfaceEventDownlink<V>
-
valueClass
- Specified by:
valueClass
in interfaceEventDownlink<V>
-
typesafeObservers
-
observe
- Specified by:
observe
in interfaceDownlink
- Specified by:
observe
in interfaceEventDownlink<V>
- Specified by:
observe
in interfaceLink
- Specified by:
observe
in interfaceObservable<V>
- Specified by:
observe
in interfaceWarpDownlink
- Overrides:
observe
in classWarpDownlinkView
-
unobserve
- Specified by:
unobserve
in interfaceDownlink
- Specified by:
unobserve
in interfaceEventDownlink<V>
- Specified by:
unobserve
in interfaceLink
- Specified by:
unobserve
in interfaceObservable<V>
- Specified by:
unobserve
in interfaceWarpDownlink
- Overrides:
unobserve
in classWarpDownlinkView
-
onEvent
- Specified by:
onEvent
in interfaceEventDownlink<V>
-
willReceive
- Specified by:
willReceive
in interfaceEventDownlink<V>
- Specified by:
willReceive
in interfaceWarpDownlink
- Specified by:
willReceive
in classWarpDownlinkView
-
didReceive
- Specified by:
didReceive
in interfaceEventDownlink<V>
- Specified by:
didReceive
in interfaceWarpDownlink
- Specified by:
didReceive
in classWarpDownlinkView
-
willCommand
- Specified by:
willCommand
in interfaceEventDownlink<V>
- Specified by:
willCommand
in interfaceWarpDownlink
- Specified by:
willCommand
in classWarpDownlinkView
-
willLink
- Specified by:
willLink
in interfaceEventDownlink<V>
- Specified by:
willLink
in interfaceWarpDownlink
- Specified by:
willLink
in classWarpDownlinkView
-
didLink
- Specified by:
didLink
in interfaceEventDownlink<V>
- Specified by:
didLink
in interfaceWarpDownlink
- Specified by:
didLink
in classWarpDownlinkView
-
willSync
- Specified by:
willSync
in interfaceEventDownlink<V>
- Specified by:
willSync
in interfaceWarpDownlink
- Specified by:
willSync
in classWarpDownlinkView
-
didSync
- Specified by:
didSync
in interfaceEventDownlink<V>
- Specified by:
didSync
in interfaceWarpDownlink
- Specified by:
didSync
in classWarpDownlinkView
-
willUnlink
- Specified by:
willUnlink
in interfaceEventDownlink<V>
- Specified by:
willUnlink
in interfaceWarpDownlink
- Specified by:
willUnlink
in classWarpDownlinkView
-
didUnlink
- Specified by:
didUnlink
in interfaceEventDownlink<V>
- Specified by:
didUnlink
in interfaceWarpDownlink
- Specified by:
didUnlink
in classWarpDownlinkView
-
didConnect
- Specified by:
didConnect
in interfaceDownlink
- Specified by:
didConnect
in interfaceEventDownlink<V>
- Specified by:
didConnect
in interfaceWarpDownlink
- Specified by:
didConnect
in classWarpDownlinkView
-
didDisconnect
- Specified by:
didDisconnect
in interfaceDownlink
- Specified by:
didDisconnect
in interfaceEventDownlink<V>
- Specified by:
didDisconnect
in interfaceWarpDownlink
- Specified by:
didDisconnect
in classWarpDownlinkView
-
didClose
- Specified by:
didClose
in interfaceDownlink
- Specified by:
didClose
in interfaceEventDownlink<V>
- Specified by:
didClose
in interfaceWarpDownlink
- Specified by:
didClose
in classWarpDownlinkView
-
didFail
- Specified by:
didFail
in interfaceDownlink
- Specified by:
didFail
in interfaceEventDownlink<V>
- Specified by:
didFail
in interfaceWarpDownlink
- Specified by:
didFail
in classWarpDownlinkView
-
dispatchOnEvent
-
downlinkOnEvent
-
createDownlinkModel
- Specified by:
createDownlinkModel
in classWarpDownlinkView
-
open
- Specified by:
open
in interfaceDownlink
- Specified by:
open
in interfaceEventDownlink<V>
- Specified by:
open
in interfaceWarpDownlink
- Specified by:
open
in classWarpDownlinkView
-
close
public void close()- Specified by:
close
in interfaceLink
- Overrides:
close
in classDownlinkView
-