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
MapDownlinkModel
Class MapDownlinkModel
Hierarchy
DownlinkModel
MapDownlinkModel
Index
Constructors
constructor
Properties
body
context
host
host
Uri
lane
Uri
node
Uri
prio
rate
state
status
views
Linked
Linking
Synced
Syncing
Unlinking
Accessors
session
size
type
unlink
Delay
Methods
add
Downlink
clear
close
close
Up
command
delete
do
Unlink
drop
entries
for
Each
get
get
Entry
has
host
Did
Connect
host
Did
Disconnect
host
Did
Fail
is
Authenticated
is
Connected
is
Empty
is
Linked
is
Synced
keep
Linked
keep
Synced
keys
link
map
Did
Clear
map
Did
Drop
map
Did
Remove
map
Did
Take
map
Did
Update
map
Will
Clear
map
Will
Drop
map
Will
Remove
map
Will
Take
map
Will
Update
on
Clear
Event
on
Command
Message
on
Drop
Event
on
Event
Message
on
Link
Request
on
Linked
Response
on
Remove
Event
on
Sync
Request
on
Synced
Response
on
Take
Event
on
Unlink
Request
on
Unlinked
Response
on
Update
Event
open
Up
remove
Downlink
set
set
State
snapshot
sync
take
unlink
values
Constructors
constructor
new
Map
Downlink
Model
(
context
:
DownlinkContext
, hostUri
:
Uri
, nodeUri
:
Uri
, laneUri
:
Uri
, prio
?:
number
, rate
?:
number
, body
?:
Value
, state
?:
BTree
<
Value
,
Value
,
never
>
)
:
MapDownlinkModel
Parameters
context:
DownlinkContext
hostUri:
Uri
nodeUri:
Uri
laneUri:
Uri
Optional
prio:
number
Optional
rate:
number
Optional
body:
Value
Optional
state:
BTree
<
Value
,
Value
,
never
>
Returns
MapDownlinkModel
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
:
BTree
<
Value
,
Value
,
never
>
Readonly
status
status
:
number
Readonly
views
views
:
readonly
MapDownlink
<
unknown
,
unknown
,
never
,
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
session
get
session
(
)
:
Value
Returns
Value
size
get
size
(
)
:
number
Returns
number
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
delete
delete
(
key
:
Value
)
:
boolean
Parameters
key:
Value
Returns
boolean
Protected
do
Unlink
do
Unlink
(
)
:
void
Returns
void
drop
drop
(
lower
:
number
)
:
MapDownlinkModel
Parameters
lower:
number
Returns
MapDownlinkModel
entries
entries
(
)
:
Cursor
<
[
Value
,
Value
]
>
Returns
Cursor
<
[
Value
,
Value
]
>
for
Each
for
Each<T>
(
callback
:
(
key
:
Value
, value
:
Value
)
=>
void
|
T
)
:
undefined
|
T
for
Each<T, S>
(
callback
:
(
key
:
Value
, value
:
Value
)
=>
void
|
T
, thisArg
:
S
)
:
undefined
|
T
Type parameters
T
Parameters
callback:
(
key
:
Value
, value
:
Value
)
=>
void
|
T
(
key
:
Value
, value
:
Value
)
:
void
|
T
Parameters
key:
Value
value:
Value
Returns
void
|
T
Returns
undefined
|
T
Type parameters
T
S
Parameters
callback:
(
key
:
Value
, value
:
Value
)
=>
void
|
T
(
key
:
Value
, value
:
Value
)
:
void
|
T
Parameters
key:
Value
value:
Value
Returns
void
|
T
thisArg:
S
Returns
undefined
|
T
get
get
(
key
:
Value
)
:
Value
Parameters
key:
Value
Returns
Value
get
Entry
get
Entry
(
index
:
number
)
:
undefined
|
[
Value
,
Value
]
Parameters
index:
number
Returns
undefined
|
[
Value
,
Value
]
has
has
(
key
:
Value
)
:
boolean
Parameters
key:
Value
Returns
boolean
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
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
map
Did
Clear
map
Did
Clear
(
)
:
void
Returns
void
Protected
map
Did
Drop
map
Did
Drop
(
lower
:
number
)
:
void
Parameters
lower:
number
Returns
void
Protected
map
Did
Remove
map
Did
Remove
(
key
:
Value
, oldValue
:
Value
)
:
void
Parameters
key:
Value
oldValue:
Value
Returns
void
Protected
map
Did
Take
map
Did
Take
(
upper
:
number
)
:
void
Parameters
upper:
number
Returns
void
Protected
map
Did
Update
map
Did
Update
(
key
:
Value
, newValue
:
Value
, oldValue
:
Value
)
:
void
Parameters
key:
Value
newValue:
Value
oldValue:
Value
Returns
void
Protected
map
Will
Clear
map
Will
Clear
(
)
:
void
Returns
void
Protected
map
Will
Drop
map
Will
Drop
(
lower
:
number
)
:
void
Parameters
lower:
number
Returns
void
Protected
map
Will
Remove
map
Will
Remove
(
key
:
Value
)
:
void
Parameters
key:
Value
Returns
void
Protected
map
Will
Take
map
Will
Take
(
upper
:
number
)
:
void
Parameters
upper:
number
Returns
void
Protected
map
Will
Update
map
Will
Update
(
key
:
Value
, newValue
:
Value
)
:
Value
Parameters
key:
Value
newValue:
Value
Returns
Value
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
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
Remove
Event
on
Remove
Event
(
key
:
Value
)
:
void
Parameters
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
(
key
:
Value
, newValue
:
Value
)
:
void
Parameters
key:
Value
newValue:
Value
Returns
void
open
Up
open
Up
(
host
:
Host
)
:
void
Parameters
host:
Host
Returns
void
remove
Downlink
remove
Downlink
(
view
:
Downlink
)
:
void
Parameters
view:
Downlink
Returns
void
set
set
(
key
:
Value
, newValue
:
Value
)
:
MapDownlinkModel
Parameters
key:
Value
newValue:
Value
Returns
MapDownlinkModel
set
State
set
State
(
state
:
BTree
<
Value
,
Value
,
never
>
)
:
void
Parameters
state:
BTree
<
Value
,
Value
,
never
>
Returns
void
snapshot
snapshot
(
)
:
BTree
<
Value
,
Value
,
never
>
Returns
BTree
<
Value
,
Value
,
never
>
sync
sync
(
)
:
void
Returns
void
take
take
(
upper
:
number
)
:
MapDownlinkModel
Parameters
upper:
number
Returns
MapDownlinkModel
unlink
unlink
(
)
:
void
Returns
void
values
values
(
)
:
Cursor
<
Value
>
Returns
Cursor
<
Value
>
Modules
@swim/system
@swim/core
@swim/mesh
@swim/warp
@swim/client
@swim/toolkit
Map
Downlink
Model
constructor
body
context
host
host
Uri
lane
Uri
node
Uri
prio
rate
state
status
views
Linked
Linking
Synced
Syncing
Unlinking
session
size
type
unlink
Delay
add
Downlink
clear
close
close
Up
command
delete
do
Unlink
drop
entries
for
Each
get
get
Entry
has
host
Did
Connect
host
Did
Disconnect
host
Did
Fail
is
Authenticated
is
Connected
is
Empty
is
Linked
is
Synced
keep
Linked
keep
Synced
keys
link
map
Did
Clear
map
Did
Drop
map
Did
Remove
map
Did
Take
map
Did
Update
map
Will
Clear
map
Will
Drop
map
Will
Remove
map
Will
Take
map
Will
Update
on
Clear
Event
on
Command
Message
on
Drop
Event
on
Event
Message
on
Link
Request
on
Linked
Response
on
Remove
Event
on
Sync
Request
on
Synced
Response
on
Take
Event
on
Unlink
Request
on
Unlinked
Response
on
Update
Event
open
Up
remove
Downlink
set
set
State
snapshot
sync
take
unlink
values
Generated using
TypeDoc