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
DownlinkModel
Class DownlinkModel
Hierarchy
DownlinkModel
EventDownlinkModel
ListDownlinkModel
MapDownlinkModel
ValueDownlinkModel
Implements
HostDownlink
Index
Constructors
constructor
Properties
body
context
host
host
Uri
lane
Uri
node
Uri
prio
rate
status
type
views
Linked
Linking
Synced
Syncing
Unlinking
Accessors
session
unlink
Delay
Methods
add
Downlink
close
close
Up
command
do
Unlink
host
Did
Connect
host
Did
Disconnect
host
Did
Fail
is
Authenticated
is
Connected
is
Linked
is
Synced
keep
Linked
keep
Synced
link
on
Command
Message
on
Event
Message
on
Link
Request
on
Linked
Response
on
Sync
Request
on
Synced
Response
on
Unlink
Request
on
Unlinked
Response
open
Up
remove
Downlink
sync
unlink
Constructors
constructor
new
Downlink
Model
(
context
:
DownlinkContext
, hostUri
:
Uri
, nodeUri
:
Uri
, laneUri
:
Uri
, prio
?:
number
, rate
?:
number
, body
?:
Value
)
:
DownlinkModel
Parameters
context:
DownlinkContext
hostUri:
Uri
nodeUri:
Uri
laneUri:
Uri
Optional
prio:
number
Optional
rate:
number
Optional
body:
Value
Returns
DownlinkModel
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
status
status
:
number
Readonly
Abstract
type
type
:
DownlinkType
Readonly
views
views
:
readonly
Downlink
[]
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
unlink
Delay
get
unlinkDelay
(
)
:
number
Returns
number
Methods
add
Downlink
add
Downlink
(
view
:
Downlink
)
:
void
Parameters
view:
Downlink
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
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
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
link
link
(
)
:
void
Returns
void
on
Command
Message
on
Command
Message
(
body
:
Value
)
:
void
Parameters
body:
Value
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
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
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
open
Up
open
Up
(
host
:
Host
)
:
void
Parameters
host:
Host
Returns
void
remove
Downlink
remove
Downlink
(
view
:
Downlink
)
:
void
Parameters
view:
Downlink
Returns
void
sync
sync
(
)
:
void
Returns
void
unlink
unlink
(
)
:
void
Returns
void
Modules
@swim/system
@swim/core
@swim/mesh
@swim/warp
@swim/client
@swim/toolkit
Downlink
Model
constructor
body
context
host
host
Uri
lane
Uri
node
Uri
prio
rate
status
type
views
Linked
Linking
Synced
Syncing
Unlinking
session
unlink
Delay
add
Downlink
close
close
Up
command
do
Unlink
host
Did
Connect
host
Did
Disconnect
host
Did
Fail
is
Authenticated
is
Connected
is
Linked
is
Synced
keep
Linked
keep
Synced
link
on
Command
Message
on
Event
Message
on
Link
Request
on
Linked
Response
on
Sync
Request
on
Synced
Response
on
Unlink
Request
on
Unlinked
Response
open
Up
remove
Downlink
sync
unlink
Generated using
TypeDoc