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
EventDownlinkModel
Class EventDownlinkModel
Hierarchy
DownlinkModel
EventDownlinkModel
Index
Constructors
constructor
Properties
body
context
host
host
Uri
lane
Uri
node
Uri
prio
rate
status
views
Linked
Linking
Synced
Syncing
Unlinking
Accessors
session
type
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
Event
Downlink
Model
(
context
:
DownlinkContext
, hostUri
:
Uri
, nodeUri
:
Uri
, laneUri
:
Uri
, prio
?:
number
, rate
?:
number
, body
?:
Value
)
:
EventDownlinkModel
Parameters
context:
DownlinkContext
hostUri:
Uri
nodeUri:
Uri
laneUri:
Uri
Optional
prio:
number
Optional
rate:
number
Optional
body:
Value
Returns
EventDownlinkModel
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
views
views
:
readonly
EventDownlink
[]
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
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
Event
Downlink
Model
constructor
body
context
host
host
Uri
lane
Uri
node
Uri
prio
rate
status
views
Linked
Linking
Synced
Syncing
Unlinking
session
type
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