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
ValueDownlinkModel
Class ValueDownlinkModel
Hierarchy
DownlinkModel
ValueDownlinkModel
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
type
unlink
Delay
Methods
add
Downlink
close
close
Up
command
do
Unlink
get
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
Set
Event
on
Sync
Request
on
Synced
Response
on
Unlink
Request
on
Unlinked
Response
open
Up
remove
Downlink
set
set
State
sync
unlink
value
Did
Set
value
Will
Set
Constructors
constructor
new
Value
Downlink
Model
(
context
:
DownlinkContext
, hostUri
:
Uri
, nodeUri
:
Uri
, laneUri
:
Uri
, prio
?:
number
, rate
?:
number
, body
?:
Value
, state
?:
Value
)
:
ValueDownlinkModel
Parameters
context:
DownlinkContext
hostUri:
Uri
nodeUri:
Uri
laneUri:
Uri
Optional
prio:
number
Optional
rate:
number
Optional
body:
Value
Optional
state:
Value
Returns
ValueDownlinkModel
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
:
Value
Readonly
status
status
:
number
Readonly
views
views
:
readonly
ValueDownlink
<
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
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
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
get
get
(
)
:
Value
Returns
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
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
Protected
on
Set
Event
on
Set
Event
(
newValue
:
Value
)
:
void
Parameters
newValue:
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
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
set
set
(
newValue
:
Value
)
:
void
Parameters
newValue:
Value
Returns
void
set
State
set
State
(
state
:
Value
)
:
void
Parameters
state:
Value
Returns
void
sync
sync
(
)
:
void
Returns
void
unlink
unlink
(
)
:
void
Returns
void
Protected
value
Did
Set
value
Did
Set
(
newValue
:
Value
, oldValue
:
Value
)
:
void
Parameters
newValue:
Value
oldValue:
Value
Returns
void
Protected
value
Will
Set
value
Will
Set
(
newValue
:
Value
)
:
Value
Parameters
newValue:
Value
Returns
Value
Modules
@swim/system
@swim/core
@swim/mesh
@swim/warp
@swim/client
@swim/toolkit
Value
Downlink
Model
constructor
body
context
host
host
Uri
lane
Uri
node
Uri
prio
rate
state
status
views
Linked
Linking
Synced
Syncing
Unlinking
session
type
unlink
Delay
add
Downlink
close
close
Up
command
do
Unlink
get
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
Set
Event
on
Sync
Request
on
Synced
Response
on
Unlink
Request
on
Unlinked
Response
open
Up
remove
Downlink
set
set
State
sync
unlink
value
Did
Set
value
Will
Set
Generated using
TypeDoc