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
EventDownlink
Class EventDownlink
Hierarchy
Downlink
EventDownlink
Index
Constructors
constructor
Properties
context
flags
model
observers
own
Body
own
Host
Uri
own
Lane
Uri
own
Node
Uri
own
Prio
own
Rate
owner
Accessors
session
type
Methods
body
close
close
Up
command
copy
did
Close
did
Connect
did
Disconnect
did
Fail
did
Link
did
Sync
did
Unlink
host
Did
Connect
host
Did
Disconnect
host
Did
Fail
host
Uri
is
Authenticated
is
Connected
is
Linked
is
Synced
keep
Linked
keep
Synced
lane
Uri
node
Uri
observe
on
Command
on
Command
Message
on
Event
on
Event
Message
on
Link
Request
on
Linked
Response
on
Sync
Request
on
Synced
Response
on
Unlink
Request
on
Unlinked
Response
open
open
Up
prio
rate
unobserve
will
Link
will
Sync
will
Unlink
init
Form
Constructors
constructor
new
Event
Downlink
(
context
:
DownlinkContext
, owner
:
null
|
DownlinkOwner
, init
?:
EventDownlinkInit
, hostUri
?:
Uri
, nodeUri
?:
Uri
, laneUri
?:
Uri
, prio
?:
number
, rate
?:
number
, body
?:
Value
, flags
?:
number
, observers
?:
EventDownlinkObserver
|
readonly
EventDownlinkObserver
[]
)
:
EventDownlink
Parameters
context:
DownlinkContext
owner:
null
|
DownlinkOwner
Optional
init:
EventDownlinkInit
Optional
hostUri:
Uri
Optional
nodeUri:
Uri
Optional
laneUri:
Uri
Optional
prio:
number
Optional
rate:
number
Optional
body:
Value
Optional
flags:
number
Optional
observers:
EventDownlinkObserver
|
readonly
EventDownlinkObserver
[]
Returns
EventDownlink
Properties
Readonly
context
context
:
DownlinkContext
Readonly
flags
flags
:
number
Readonly
model
model
:
null
|
EventDownlinkModel
Readonly
observers
observers
:
readonly
EventDownlinkObserver
[]
Readonly
own
Body
own
Body
:
Value
Readonly
own
Host
Uri
own
Host
Uri
:
Uri
Readonly
own
Lane
Uri
own
Lane
Uri
:
Uri
Readonly
own
Node
Uri
own
Node
Uri
:
Uri
Readonly
own
Prio
own
Prio
:
number
Readonly
own
Rate
own
Rate
:
number
Readonly
owner
owner
:
null
|
DownlinkOwner
Accessors
session
get
session
(
)
:
Value
Returns
Value
type
get
type
(
)
:
DownlinkType
Returns
DownlinkType
Methods
body
body
(
)
:
Value
body
(
body
:
AnyValue
)
:
EventDownlink
Returns
Value
Parameters
body:
AnyValue
Returns
EventDownlink
close
close
(
)
:
void
Returns
void
close
Up
close
Up
(
)
:
void
Returns
void
command
command
(
body
:
AnyValue
)
:
void
Parameters
body:
AnyValue
Returns
void
Protected
copy
copy
(
context
:
DownlinkContext
, owner
:
null
|
DownlinkOwner
, hostUri
:
Uri
, nodeUri
:
Uri
, laneUri
:
Uri
, prio
:
number
, rate
:
number
, body
:
Value
, flags
:
number
, observers
:
readonly
EventDownlinkObserver
[]
)
:
EventDownlink
Parameters
context:
DownlinkContext
owner:
null
|
DownlinkOwner
hostUri:
Uri
nodeUri:
Uri
laneUri:
Uri
prio:
number
rate:
number
body:
Value
flags:
number
observers:
readonly
EventDownlinkObserver
[]
Returns
EventDownlink
did
Close
did
Close
(
didClose
:
DownlinkDidClose
)
:
EventDownlink
Parameters
didClose:
DownlinkDidClose
Returns
EventDownlink
did
Connect
did
Connect
(
didConnect
:
DownlinkDidConnect
)
:
EventDownlink
Parameters
didConnect:
DownlinkDidConnect
Returns
EventDownlink
did
Disconnect
did
Disconnect
(
didDisconnect
:
DownlinkDidDisconnect
)
:
EventDownlink
Parameters
didDisconnect:
DownlinkDidDisconnect
Returns
EventDownlink
did
Fail
did
Fail
(
didFail
:
DownlinkDidFail
)
:
EventDownlink
Parameters
didFail:
DownlinkDidFail
Returns
EventDownlink
did
Link
did
Link
(
didLink
:
DownlinkDidLink
)
:
EventDownlink
Parameters
didLink:
DownlinkDidLink
Returns
EventDownlink
did
Sync
did
Sync
(
didSync
:
DownlinkDidSync
)
:
EventDownlink
Parameters
didSync:
DownlinkDidSync
Returns
EventDownlink
did
Unlink
did
Unlink
(
didUnlink
:
DownlinkDidUnlink
)
:
EventDownlink
Parameters
didUnlink:
DownlinkDidUnlink
Returns
EventDownlink
host
Did
Connect
host
Did
Connect
(
)
:
void
Returns
void
host
Did
Disconnect
host
Did
Disconnect
(
)
:
void
Returns
void
host
Did
Fail
host
Did
Fail
(
error
:
unknown
)
:
void
Parameters
error:
unknown
Returns
void
host
Uri
host
Uri
(
)
:
Uri
host
Uri
(
hostUri
:
AnyUri
)
:
EventDownlink
Returns
Uri
Parameters
hostUri:
AnyUri
Returns
EventDownlink
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
keep
Linked
(
keepLinked
:
boolean
)
:
EventDownlink
Returns
boolean
Parameters
keepLinked:
boolean
Returns
EventDownlink
keep
Synced
keep
Synced
(
)
:
boolean
keep
Synced
(
keepSynced
:
boolean
)
:
EventDownlink
Returns
boolean
Parameters
keepSynced:
boolean
Returns
EventDownlink
lane
Uri
lane
Uri
(
)
:
Uri
lane
Uri
(
laneUri
:
AnyUri
)
:
EventDownlink
Returns
Uri
Parameters
laneUri:
AnyUri
Returns
EventDownlink
node
Uri
node
Uri
(
)
:
Uri
node
Uri
(
nodeUri
:
AnyUri
)
:
EventDownlink
Returns
Uri
Parameters
nodeUri:
AnyUri
Returns
EventDownlink
observe
observe
(
observer
:
EventDownlinkObserver
)
:
EventDownlink
Parameters
observer:
EventDownlinkObserver
Returns
EventDownlink
on
Command
on
Command
(
onCommand
:
DownlinkOnCommand
)
:
EventDownlink
Parameters
onCommand:
DownlinkOnCommand
Returns
EventDownlink
on
Command
Message
on
Command
Message
(
body
:
Value
)
:
void
Parameters
body:
Value
Returns
void
on
Event
on
Event
(
onEvent
:
DownlinkOnEvent
)
:
EventDownlink
Parameters
onEvent:
DownlinkOnEvent
Returns
EventDownlink
on
Event
Message
on
Event
Message
(
message
:
EventMessage
)
:
void
Parameters
message:
EventMessage
Returns
void
on
Link
Request
on
Link
Request
(
request
?:
LinkRequest
)
:
void
Parameters
Optional
request:
LinkRequest
Returns
void
on
Linked
Response
on
Linked
Response
(
response
?:
LinkedResponse
)
:
void
Parameters
Optional
response:
LinkedResponse
Returns
void
on
Sync
Request
on
Sync
Request
(
request
?:
SyncRequest
)
:
void
Parameters
Optional
request:
SyncRequest
Returns
void
on
Synced
Response
on
Synced
Response
(
response
?:
SyncedResponse
)
:
void
Parameters
Optional
response:
SyncedResponse
Returns
void
on
Unlink
Request
on
Unlink
Request
(
request
?:
UnlinkRequest
)
:
void
Parameters
Optional
request:
UnlinkRequest
Returns
void
on
Unlinked
Response
on
Unlinked
Response
(
response
?:
UnlinkedResponse
)
:
void
Parameters
Optional
response:
UnlinkedResponse
Returns
void
open
open
(
)
:
EventDownlink
Returns
EventDownlink
open
Up
open
Up
(
host
:
Host
)
:
void
Parameters
host:
Host
Returns
void
prio
prio
(
)
:
number
prio
(
prio
:
number
)
:
EventDownlink
Returns
number
Parameters
prio:
number
Returns
EventDownlink
rate
rate
(
)
:
number
rate
(
rate
:
number
)
:
EventDownlink
Returns
number
Parameters
rate:
number
Returns
EventDownlink
unobserve
unobserve
(
observer
:
unknown
)
:
EventDownlink
Parameters
observer:
unknown
Returns
EventDownlink
will
Link
will
Link
(
willLink
:
DownlinkWillLink
)
:
EventDownlink
Parameters
willLink:
DownlinkWillLink
Returns
EventDownlink
will
Sync
will
Sync
(
willSync
:
DownlinkWillSync
)
:
EventDownlink
Parameters
willSync:
DownlinkWillSync
Returns
EventDownlink
will
Unlink
will
Unlink
(
willUnlink
:
DownlinkWillUnlink
)
:
EventDownlink
Parameters
willUnlink:
DownlinkWillUnlink
Returns
EventDownlink
Static
init
Form
init
Form
(
)
:
Form
<
undefined
|
DownlinkInit
,
never
>
Returns
Form
<
undefined
|
DownlinkInit
,
never
>
Modules
@swim/system
@swim/core
@swim/mesh
@swim/warp
@swim/client
@swim/toolkit
Event
Downlink
constructor
context
flags
model
observers
own
Body
own
Host
Uri
own
Lane
Uri
own
Node
Uri
own
Prio
own
Rate
owner
session
type
body
close
close
Up
command
copy
did
Close
did
Connect
did
Disconnect
did
Fail
did
Link
did
Sync
did
Unlink
host
Did
Connect
host
Did
Disconnect
host
Did
Fail
host
Uri
is
Authenticated
is
Connected
is
Linked
is
Synced
keep
Linked
keep
Synced
lane
Uri
node
Uri
observe
on
Command
on
Command
Message
on
Event
on
Event
Message
on
Link
Request
on
Linked
Response
on
Sync
Request
on
Synced
Response
on
Unlink
Request
on
Unlinked
Response
open
open
Up
prio
rate
unobserve
will
Link
will
Sync
will
Unlink
init
Form
Generated using
TypeDoc