- java.lang.Object
-
- swim.runtime.uplink.UplinkModem
-
- swim.runtime.uplink.SeqUplinkModem
-
- All Implemented Interfaces:
swim.api.Link,swim.api.uplink.Uplink,swim.observable.Observable<Object>,LinkContext,swim.util.Log
- Direct Known Subclasses:
ListLaneUplink
public abstract class SeqUplinkModem extends UplinkModem
-
-
Field Summary
Fields Modifier and Type Field Description protected swim.collections.HashTrieMap<swim.structure.Value,ListOperation>keyQueueprotected Iterator<Map.Entry<swim.structure.Value,swim.structure.Value>>syncQueue-
Fields inherited from class swim.runtime.uplink.UplinkModem
linkBinding, linkKey, observers, status
-
-
Constructor Summary
Constructors Constructor Description SeqUplinkModem(LinkBinding linkBinding)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcueDownKey(swim.structure.Value key, ListOperation listOperation)protected booleandownQueueIsEmpty()protected swim.structure.ValuenextDownCue()protected abstract swim.structure.ValuenextDownKey(swim.structure.Value key, ListOperation listOperation)protected swim.structure.ValuenextDownQueue()protected voidqueueDown(swim.structure.Value body)voidsyncDown(Iterator<Map.Entry<swim.structure.Value,swim.structure.Value>> syncQueue)-
Methods inherited from class swim.runtime.uplink.UplinkModem
body, cipherSuite, cipherSuiteUp, close, closeUp, cueDown, cueUp, debug, debugUp, didClose, didCloseDown, didFail, didLink, didOpenDown, didSync, didUnlink, dispatchDidClose, dispatchOnCommand, dispatchOnEvent, dispatchOnLink, dispatchOnLinked, dispatchOnSync, dispatchOnSynced, dispatchOnUnlink, dispatchOnUnlinked, error, errorUp, feedUp, hostUri, info, infoUp, isConnected, isConnectedUp, isRemote, isRemoteUp, isSecure, isSecureUp, laneBinding, laneUri, linkBinding, linkedResponse, linkKey, localAddress, localAddressUp, localCertificates, localCertificatesUp, localIdentity, localIdentityUp, localPrincipal, localPrincipalUp, nextDownCueEvent, nextDownQueueEvent, nodeUri, observe, onCommand, onCommand, onEvent, onEvent, onLink, onLinked, onSync, onSynced, onUnlink, onUnlinked, prio, pullDown, pullDownEnvelope, pullDownEvent, pullDownLinked, pullDownSynced, pullDownUnlinked, pushUp, pushUpCommand, pushUpEnvelope, pushUpLink, pushUpSync, pushUpUnlink, rate, remoteAddress, remoteAddressUp, remoteCertificates, remoteCertificatesUp, remoteIdentity, remoteIdentityUp, remotePrincipal, remotePrincipalUp, runOnCommand, runOnLink, runOnSync, runOnUnlink, runPullDown, securityProtocol, securityProtocolUp, sendDown, skipUp, stage, syncedResponse, trace, traceUp, unlink, unlinkedResponse, unobserve, warn, warnUp, willLink, willSync, willUnlink
-
-
-
-
Field Detail
-
syncQueue
protected volatile Iterator<Map.Entry<swim.structure.Value,swim.structure.Value>> syncQueue
-
keyQueue
protected volatile swim.collections.HashTrieMap<swim.structure.Value,ListOperation> keyQueue
-
-
Constructor Detail
-
SeqUplinkModem
public SeqUplinkModem(LinkBinding linkBinding)
-
-
Method Detail
-
downQueueIsEmpty
protected boolean downQueueIsEmpty()
- Overrides:
downQueueIsEmptyin classUplinkModem
-
queueDown
protected void queueDown(swim.structure.Value body)
- Overrides:
queueDownin classUplinkModem
-
syncDown
public void syncDown(Iterator<Map.Entry<swim.structure.Value,swim.structure.Value>> syncQueue)
-
cueDownKey
public void cueDownKey(swim.structure.Value key, ListOperation listOperation)
-
nextDownKey
protected abstract swim.structure.Value nextDownKey(swim.structure.Value key, ListOperation listOperation)
-
nextDownQueue
protected swim.structure.Value nextDownQueue()
- Overrides:
nextDownQueuein classUplinkModem
-
nextDownCue
protected swim.structure.Value nextDownCue()
- Overrides:
nextDownCuein classUplinkModem
-
-