- java.lang.Object
-
- swim.system.AbstractDownlinkBinding
-
- swim.system.DownlinkModel<View>
-
- swim.system.warp.WarpDownlinkModem<View>
-
- swim.system.warp.WarpDownlinkModel<View>
-
- swim.system.warp.ListDownlinkModem<ListDownlinkView<?>>
-
- swim.system.downlink.ListDownlinkModel
-
- All Implemented Interfaces:
LinkBinding
,WarpBinding
,Log
public class ListDownlinkModel extends ListDownlinkModem<ListDownlinkView<?>>
-
-
Field Summary
Fields Modifier and Type Field Description protected int
flags
protected STreeList<Value>
state
protected static int
STATEFUL
-
Fields inherited from class swim.system.warp.WarpDownlinkModem
body, cellContext, EXEC_DELTA, EXEC_TIME, linkContext, prio, rate, status
-
Fields inherited from class swim.system.DownlinkModel
views, VIEWS
-
Fields inherited from class swim.system.AbstractDownlinkBinding
hostUri, laneUri, meshUri, nodeUri
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> boolean
add(ListDownlinkView<V> view, int index, V newObject)
<V> boolean
add(ListDownlinkView<V> view, int index, V newObject, Object key)
void
clear(ListDownlinkView<?> view)
boolean
contains(Object value)
protected void
didAddDownlink(ListDownlinkView<?> view)
void
drop(ListDownlinkView<?> view, int lower)
ListIterator<Map.Entry<Object,Value>>
entryIterator()
Value
get(int index, Object key)
Map.Entry<Object,Value>
getEntry(int index)
Map.Entry<Object,Value>
getEntry(int index, Object key)
int
indexOf(Object o)
boolean
isEmpty()
boolean
isStateful()
ListDownlinkModel
isStateful(boolean isStateful)
Iterator<Value>
iterator()
ListIterator<Object>
keyIterator()
int
lastIndexOf(Object o)
ListIterator<Value>
listIterator()
ListIterator<Value>
listIterator(int index)
<V> void
move(ListDownlinkView<V> view, int fromIndex, int toIndex)
<V> void
move(ListDownlinkView<V> view, int fromIndex, int toIndex, Object key)
protected void
pushDownEvent(Push<EventMessage> push)
<V> V
remove(ListDownlinkView<V> view, int index)
<V> V
remove(ListDownlinkView<V> view, int index, Object key)
<V> V
set(ListDownlinkView<V> view, int index, V newObject)
<V> V
set(ListDownlinkView<V> view, int index, V newObject, Object key)
int
size()
List<Value>
subList(int fromIndex, int toIndex)
void
take(ListDownlinkView<?> view, int upper)
Object[]
toArray()
<V> V[]
toArray(V[] array)
-
Methods inherited from class swim.system.warp.ListDownlinkModem
nextUpQueue, pushUp, queueUp, upQueueIsEmpty
-
Methods inherited from class swim.system.warp.WarpDownlinkModel
keepLinked, keepSynced, pullUpCommand, pullUpLink, pullUpSync, pullUpUnlink, pushDownLinked, pushDownSynced, pushDownUnlinked
-
Methods inherited from class swim.system.warp.WarpDownlinkModem
accumulateExecTime, body, cellContext, closeDown, collectProfile, command, command, command, command, cueDown, cueUp, didClose, didCloseUp, didConnect, didDisconnect, didFail, didFailUp, didLink, didOpen, didRemoveDownlink, didSync, didUnlink, didUpdateMetrics, feedDown, feedUp, flushMetrics, link, linkContext, linkRequest, linkWrapper, nextUpCue, onCommand, onEvent, openDown, openMetaDownlink, prio, pullUp, pushDown, pushDownUnknown, pushUp, pushUp, queueUp, rate, reportMetrics, setCellContext, setLinkContext, skipDown, sync, syncRequest, unlink, unlinkRequest, willLink, willSync, willUnlink
-
Methods inherited from class swim.system.DownlinkModel
addDownlink, removeDownlink, removeDownlinks, reopen
-
Methods inherited from class swim.system.AbstractDownlinkBinding
bottomLink, cellAddressDown, cipherSuite, cipherSuiteDown, debug, debugDown, error, errorDown, fail, failDown, 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, setHostUri, setNodeUri, 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.system.LinkBinding
bottomLink, cellAddressDown, cipherSuiteDown, debugDown, errorDown, failDown, hostUri, infoDown, isConnectedDown, isRemoteDown, isSecureDown, laneUri, linkKey, localAddressDown, localCertificatesDown, localIdentityDown, localPrincipalDown, meshUri, nodeUri, remoteAddressDown, remoteCertificatesDown, remoteIdentityDown, remotePrincipalDown, reopen, securityProtocolDown, setHostUri, setNodeUri, traceDown, unwrapLink, warnDown
-
-
-
-
Field Detail
-
flags
protected int flags
-
STATEFUL
protected static final int STATEFUL
- See Also:
- Constant Field Values
-
-
Method Detail
-
isStateful
public final boolean isStateful()
-
isStateful
public ListDownlinkModel isStateful(boolean isStateful)
-
pushDownEvent
protected void pushDownEvent(Push<EventMessage> push)
- Overrides:
pushDownEvent
in classWarpDownlinkModel<ListDownlinkView<?>>
-
didAddDownlink
protected void didAddDownlink(ListDownlinkView<?> view)
- Overrides:
didAddDownlink
in classWarpDownlinkModem<ListDownlinkView<?>>
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
contains
public boolean contains(Object value)
-
indexOf
public int indexOf(Object o)
-
lastIndexOf
public int lastIndexOf(Object o)
-
toArray
public Object[] toArray()
-
toArray
public <V> V[] toArray(V[] array)
-
entryIterator
public ListIterator<Map.Entry<Object,Value>> entryIterator()
-
listIterator
public ListIterator<Value> listIterator()
-
listIterator
public ListIterator<Value> listIterator(int index)
-
keyIterator
public ListIterator<Object> keyIterator()
-
add
public <V> boolean add(ListDownlinkView<V> view, int index, V newObject)
-
add
public <V> boolean add(ListDownlinkView<V> view, int index, V newObject, Object key)
-
set
public <V> V set(ListDownlinkView<V> view, int index, V newObject)
-
set
public <V> V set(ListDownlinkView<V> view, int index, V newObject, Object key)
-
move
public <V> void move(ListDownlinkView<V> view, int fromIndex, int toIndex)
-
move
public <V> void move(ListDownlinkView<V> view, int fromIndex, int toIndex, Object key)
-
remove
public <V> V remove(ListDownlinkView<V> view, int index)
-
remove
public <V> V remove(ListDownlinkView<V> view, int index, Object key)
-
drop
public void drop(ListDownlinkView<?> view, int lower)
-
take
public void take(ListDownlinkView<?> view, int upper)
-
clear
public void clear(ListDownlinkView<?> view)
-
-