Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/client
ListDownlinkModel
Class ListDownlinkModel
Hierarchy
DownlinkModel
ListDownlinkModel
Index
Constructors
constructor
Properties
body
context
host
host
Uri
lane
Uri
node
Uri
prio
rate
state
status
views
Linked
Linking
Synced
Syncing
Unlinking
Accessors
length
session
type
unlink
Delay
Methods
add
Downlink
clear
close
close
Up
command
do
Unlink
entries
for
Each
get
get
Entry
host
Did
Connect
host
Did
Disconnect
host
Did
Fail
insert
is
Authenticated
is
Connected
is
Empty
is
Linked
is
Synced
keep
Linked
keep
Synced
keys
link
list
Did
Clear
list
Did
Drop
list
Did
Move
list
Did
Remove
list
Did
Take
list
Did
Update
list
Will
Clear
list
Will
Drop
list
Will
Move
list
Will
Remove
list
Will
Take
list
Will
Update
move
on
Clear
Event
on
Command
Message
on
Drop
Event
on
Event
Message
on
Insert
Event
on
Link
Request
on
Linked
Response
on
Move
Event
on
Remove
Event
on
Sync
Request
on
Synced
Response
on
Take
Event
on
Unlink
Request
on
Unlinked
Response
on
Update
Event
open
Up
pop
push
remove
remove
Downlink
set
set
State
shift
snapshot
splice
sync
unlink
unshift
values
Constructors
constructor
new
List
Downlink
Model
(
context
:
DownlinkContext
, hostUri
:
Uri
, nodeUri
:
Uri
, laneUri
:
Uri
, prio
?:
number
, rate
?:
number
, body
?:
Value
, state
?:
STree
<
Value
,
Value
>
)
:
ListDownlinkModel
Parameters
context:
DownlinkContext
hostUri:
Uri
nodeUri:
Uri
laneUri:
Uri
Optional
prio:
number
Optional
rate:
number
Optional
body:
Value
Optional
state:
STree
<
Value
,
Value
>
Returns
ListDownlinkModel
Properties
Readonly
body
body
:
Value
Readonly
context
context
:
DownlinkContext
Readonly
host
host
:
null
|
Host
Readonly
host
Uri
host
Uri
:
Uri
Readonly
lane
Uri
lane
Uri
:
Uri
Readonly
node
Uri
node
Uri
:
Uri
Readonly
prio
prio
:
number
Readonly
rate
rate
:
number
Readonly
state
state
:
STree
<
Value
,
Value
>
Readonly
status
status
:
number
Readonly
views
views
:
readonly
ListDownlink
<
unknown
,
never
>
[]
Static
Readonly
Linked
Linked
:
number
Static
Readonly
Linking
Linking
:
number
Static
Readonly
Synced
Synced
:
number
Static
Readonly
Syncing
Syncing
:
number
Static
Readonly
Unlinking
Unlinking
:
number
Accessors
length
get
length
(
)
:
number
Returns
number
session
get
session
(
)
:
Value
Returns
Value
type
get
type
(
)
:
DownlinkType
Returns
DownlinkType
unlink
Delay
get
unlinkDelay
(
)
:
number
Returns
number
Methods
add
Downlink
add
Downlink
(
view
:
Downlink
)
:
void
Parameters
view:
Downlink
Returns
void
clear
clear
(
)
:
void
Returns
void
close
close
(
)
:
void
Returns
void
close
Up
close
Up
(
)
:
void
Returns
void
command
command
(
body
:
AnyValue
)
:
void
Parameters
body:
AnyValue
Returns
void
Protected
do
Unlink
do
Unlink
(
)
:
void
Returns
void
entries
entries
(
)
:
Cursor
<
[
Value
,
Value
]
>
Returns
Cursor
<
[
Value
,
Value
]
>
for
Each
for
Each<T>
(
callback
:
(
value
:
Value
, index
:
number
, key
:
Value
)
=>
void
|
T
)
:
undefined
|
T
for
Each<T, S>
(
callback
:
(
value
:
Value
, index
:
number
, key
:
Value
)
=>
void
|
T
, thisArg
:
S
)
:
undefined
|
T
Type parameters
T
Parameters
callback:
(
value
:
Value
, index
:
number
, key
:
Value
)
=>
void
|
T
(
value
:
Value
, index
:
number
, key
:
Value
)
:
void
|
T
Parameters
value:
Value
index:
number
key:
Value
Returns
void
|
T
Returns
undefined
|
T
Type parameters
T
S
Parameters
callback:
(
value
:
Value
, index
:
number
, key
:
Value
)
=>
void
|
T
(
value
:
Value
, index
:
number
, key
:
Value
)
:
void
|
T
Parameters
value:
Value
index:
number
key:
Value
Returns
void
|
T
thisArg:
S
Returns
undefined
|
T
get
get
(
index
:
number
, key
?:
Value
)
:
Value
Parameters
index:
number
Optional
key:
Value
Returns
Value
get
Entry
get
Entry
(
index
:
number
, key
?:
Value
)
:
undefined
|
[
Value
,
Value
]
Parameters
index:
number
Optional
key:
Value
Returns
undefined
|
[
Value
,
Value
]
host
Did
Connect
host
Did
Connect
(
host
:
Host
)
:
void
Parameters
host:
Host
Returns
void
host
Did
Disconnect
host
Did
Disconnect
(
host
:
Host
)
:
void
Parameters
host:
Host
Returns
void
host
Did
Fail
host
Did
Fail
(
error
:
unknown
, host
:
Host
)
:
void
Parameters
error:
unknown
host:
Host
Returns
void
insert
insert
(
index
:
number
, newValue
:
Value
, key
?:
Value
)
:
ListDownlinkModel
Parameters
index:
number
newValue:
Value
Optional
key:
Value
Returns
ListDownlinkModel
is
Authenticated
is
Authenticated
(
)
:
boolean
Returns
boolean
is
Connected
is
Connected
(
)
:
boolean
Returns
boolean
is
Empty
is
Empty
(
)
:
boolean
Returns
boolean
is
Linked
is
Linked
(
)
:
boolean
Returns
boolean
is
Synced
is
Synced
(
)
:
boolean
Returns
boolean
keep
Linked
keep
Linked
(
)
:
boolean
Returns
boolean
keep
Synced
keep
Synced
(
)
:
boolean
Returns
boolean
keys
keys
(
)
:
Cursor
<
Value
>
Returns
Cursor
<
Value
>
link
link
(
)
:
void
Returns
void
Protected
list
Did
Clear
list
Did
Clear
(
)
:
void
Returns
void
Protected
list
Did
Drop
list
Did
Drop
(
lower
:
number
)
:
void
Parameters
lower:
number
Returns
void
Protected
list
Did
Move
list
Did
Move
(
fromIndex
:
number
, toIndex
:
number
, value
:
Value
)
:
void
Parameters
fromIndex:
number
toIndex:
number
value:
Value
Returns
void
Protected
list
Did
Remove
list
Did
Remove
(
index
:
number
, oldValue
:
Value
)
:
void
Parameters
index:
number
oldValue:
Value
Returns
void
Protected
list
Did
Take
list
Did
Take
(
upper
:
number
)
:
void
Parameters
upper:
number
Returns
void
Protected
list
Did
Update
list
Did
Update
(
index
:
number
, newValue
:
Value
, oldValue
:
Value
)
:
void
Parameters
index:
number
newValue:
Value
oldValue:
Value
Returns
void
Protected
list
Will
Clear
list
Will
Clear
(
)
:
void
Returns
void
Protected
list
Will
Drop
list
Will
Drop
(
lower
:
number
)
:
void
Parameters
lower:
number
Returns
void
Protected
list
Will
Move
list
Will
Move
(
fromIndex
:
number
, toIndex
:
number
, value
:
Value
)
:
void
Parameters
fromIndex:
number
toIndex:
number
value:
Value
Returns
void
Protected
list
Will
Remove
list
Will
Remove
(
index
:
number
)
:
void
Parameters
index:
number
Returns
void
Protected
list
Will
Take
list
Will
Take
(
upper
:
number
)
:
void
Parameters
upper:
number
Returns
void
Protected
list
Will
Update
list
Will
Update
(
index
:
number
, newValue
:
Value
)
:
Value
Parameters
index:
number
newValue:
Value
Returns
Value
move
move
(
fromIndex
:
number
, toIndex
:
number
, key
?:
Value
)
:
ListDownlinkModel
Parameters
fromIndex:
number
toIndex:
number
Optional
key:
Value
Returns
ListDownlinkModel
Protected
on
Clear
Event
on
Clear
Event
(
)
:
void
Returns
void
on
Command
Message
on
Command
Message
(
body
:
Value
)
:
void
Parameters
body:
Value
Returns
void
Protected
on
Drop
Event
on
Drop
Event
(
lower
:
number
)
:
void
Parameters
lower:
number
Returns
void
on
Event
Message
on
Event
Message
(
message
:
EventMessage
, host
:
Host
)
:
void
Parameters
message:
EventMessage
host:
Host
Returns
void
Protected
on
Insert
Event
on
Insert
Event
(
index
:
number
, newValue
:
Value
, key
:
Value
)
:
void
Parameters
index:
number
newValue:
Value
key:
Value
Returns
void
on
Link
Request
on
Link
Request
(
request
:
LinkRequest
)
:
void
Parameters
request:
LinkRequest
Returns
void
on
Linked
Response
on
Linked
Response
(
response
:
LinkedResponse
, host
:
Host
)
:
void
Parameters
response:
LinkedResponse
host:
Host
Returns
void
Protected
on
Move
Event
on
Move
Event
(
fromIndex
:
number
, toIndex
:
number
, key
:
Value
)
:
void
Parameters
fromIndex:
number
toIndex:
number
key:
Value
Returns
void
Protected
on
Remove
Event
on
Remove
Event
(
index
:
number
, key
:
Value
)
:
void
Parameters
index:
number
key:
Value
Returns
void
on
Sync
Request
on
Sync
Request
(
request
:
SyncRequest
)
:
void
Parameters
request:
SyncRequest
Returns
void
on
Synced
Response
on
Synced
Response
(
response
:
SyncedResponse
, host
:
Host
)
:
void
Parameters
response:
SyncedResponse
host:
Host
Returns
void
Protected
on
Take
Event
on
Take
Event
(
upper
:
number
)
:
void
Parameters
upper:
number
Returns
void
on
Unlink
Request
on
Unlink
Request
(
request
:
UnlinkRequest
, host
:
Host
)
:
void
Parameters
request:
UnlinkRequest
host:
Host
Returns
void
on
Unlinked
Response
on
Unlinked
Response
(
response
:
UnlinkedResponse
, host
:
Host
)
:
void
Parameters
response:
UnlinkedResponse
host:
Host
Returns
void
Protected
on
Update
Event
on
Update
Event
(
index
:
number
, newValue
:
Value
, key
:
Value
)
:
void
Parameters
index:
number
newValue:
Value
key:
Value
Returns
void
open
Up
open
Up
(
host
:
Host
)
:
void
Parameters
host:
Host
Returns
void
pop
pop
(
)
:
Value
Returns
Value
push
push
(
...
newValues
:
Value
[]
)
:
number
Parameters
Rest
...
newValues:
Value
[]
Returns
number
remove
remove
(
index
:
number
, key
?:
Value
)
:
ListDownlinkModel
Parameters
index:
number
Optional
key:
Value
Returns
ListDownlinkModel
remove
Downlink
remove
Downlink
(
view
:
Downlink
)
:
void
Parameters
view:
Downlink
Returns
void
set
set
(
index
:
number
, newValue
:
Value
, key
?:
Value
)
:
ListDownlinkModel
Parameters
index:
number
newValue:
Value
Optional
key:
Value
Returns
ListDownlinkModel
set
State
set
State
(
state
:
STree
<
Value
,
Value
>
)
:
void
Parameters
state:
STree
<
Value
,
Value
>
Returns
void
shift
shift
(
)
:
Value
Returns
Value
snapshot
snapshot
(
)
:
STree
<
Value
,
Value
>
Returns
STree
<
Value
,
Value
>
splice
splice
(
start
:
number
, deleteCount
?:
number
,
...
newValues
:
Value
[]
)
:
Value
[]
Parameters
start:
number
Optional
deleteCount:
number
Rest
...
newValues:
Value
[]
Returns
Value
[]
sync
sync
(
)
:
void
Returns
void
unlink
unlink
(
)
:
void
Returns
void
unshift
unshift
(
...
newValues
:
Value
[]
)
:
number
Parameters
Rest
...
newValues:
Value
[]
Returns
number
values
values
(
)
:
Cursor
<
Value
>
Returns
Cursor
<
Value
>
Modules
@swim/system
@swim/core
@swim/mesh
@swim/warp
@swim/client
@swim/toolkit
List
Downlink
Model
constructor
body
context
host
host
Uri
lane
Uri
node
Uri
prio
rate
state
status
views
Linked
Linking
Synced
Syncing
Unlinking
length
session
type
unlink
Delay
add
Downlink
clear
close
close
Up
command
do
Unlink
entries
for
Each
get
get
Entry
host
Did
Connect
host
Did
Disconnect
host
Did
Fail
insert
is
Authenticated
is
Connected
is
Empty
is
Linked
is
Synced
keep
Linked
keep
Synced
keys
link
list
Did
Clear
list
Did
Drop
list
Did
Move
list
Did
Remove
list
Did
Take
list
Did
Update
list
Will
Clear
list
Will
Drop
list
Will
Move
list
Will
Remove
list
Will
Take
list
Will
Update
move
on
Clear
Event
on
Command
Message
on
Drop
Event
on
Event
Message
on
Insert
Event
on
Link
Request
on
Linked
Response
on
Move
Event
on
Remove
Event
on
Sync
Request
on
Synced
Response
on
Take
Event
on
Unlink
Request
on
Unlinked
Response
on
Update
Event
open
Up
pop
push
remove
remove
Downlink
set
set
State
shift
snapshot
splice
sync
unlink
unshift
values
Generated using
TypeDoc