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
NodeRef
Class NodeRef
Hierarchy
BaseRef
NodeRef
Index
Constructors
constructor
Properties
context
downlinks
host
host
Uri
node
Uri
observers
Accessors
session
Methods
add
Downlink
authenticate
close
close
Up
command
did
Authenticate
did
Connect
did
Deauthenticate
did
Disconnect
did
Fail
downlink
downlink
List
downlink
Map
downlink
Value
host
Did
Authenticate
host
Did
Connect
host
Did
Deauthenticate
host
Did
Disconnect
host
Did
Fail
host
Ref
is
Authenticated
is
Connected
lane
Ref
node
Ref
observe
open
remove
Downlink
unobserve
Constructors
constructor
new
Node
Ref
(
context
:
RefContext
, hostUri
:
Uri
, nodeUri
:
Uri
)
:
NodeRef
Parameters
context:
RefContext
hostUri:
Uri
nodeUri:
Uri
Returns
NodeRef
Properties
Readonly
context
context
:
RefContext
Readonly
downlinks
downlinks
:
Downlink
[]
Readonly
host
host
:
null
|
Host
Readonly
host
Uri
host
Uri
:
Uri
Readonly
node
Uri
node
Uri
:
Uri
Readonly
observers
observers
:
readonly
WarpObserver
[]
Accessors
session
get
session
(
)
:
Value
Returns
Value
Methods
add
Downlink
add
Downlink
(
downlink
:
Downlink
)
:
void
Parameters
downlink:
Downlink
Returns
void
authenticate
authenticate
(
credentials
:
AnyValue
)
:
void
Parameters
credentials:
AnyValue
Returns
void
close
close
(
)
:
void
Returns
void
close
Up
close
Up
(
)
:
void
Returns
void
command
command
(
laneUri
:
AnyUri
, body
:
AnyValue
)
:
void
Parameters
laneUri:
AnyUri
body:
AnyValue
Returns
void
did
Authenticate
did
Authenticate
(
didAuthenticate
:
WarpDidAuthenticate
)
:
NodeRef
Parameters
didAuthenticate:
WarpDidAuthenticate
Returns
NodeRef
did
Connect
did
Connect
(
didConnect
:
WarpDidConnect
)
:
NodeRef
Parameters
didConnect:
WarpDidConnect
Returns
NodeRef
did
Deauthenticate
did
Deauthenticate
(
didDeauthenticate
:
WarpDidDeauthenticate
)
:
NodeRef
Parameters
didDeauthenticate:
WarpDidDeauthenticate
Returns
NodeRef
did
Disconnect
did
Disconnect
(
didDisconnect
:
WarpDidDisconnect
)
:
NodeRef
Parameters
didDisconnect:
WarpDidDisconnect
Returns
NodeRef
did
Fail
did
Fail
(
didFail
:
WarpDidFail
)
:
NodeRef
Parameters
didFail:
WarpDidFail
Returns
NodeRef
downlink
downlink
(
init
?:
EventDownlinkInit
)
:
EventDownlink
Parameters
Optional
init:
EventDownlinkInit
Returns
EventDownlink
downlink
List
downlink
List
(
init
?:
ListDownlinkInit
<
Value
,
AnyValue
>
)
:
ListDownlink
<
Value
,
AnyValue
>
downlink
List<V, VU>
(
init
?:
ListDownlinkInit
<
V
,
VU
>
)
:
ListDownlink
<
V
,
VU
>
Parameters
Optional
init:
ListDownlinkInit
<
Value
,
AnyValue
>
Returns
ListDownlink
<
Value
,
AnyValue
>
Type parameters
V
VU =
never
Parameters
Optional
init:
ListDownlinkInit
<
V
,
VU
>
Returns
ListDownlink
<
V
,
VU
>
downlink
Map
downlink
Map
(
init
?:
MapDownlinkInit
<
Value
,
Value
,
AnyValue
,
AnyValue
>
)
:
MapDownlink
<
Value
,
Value
,
AnyValue
,
AnyValue
>
downlink
Map<K, V, KU, VU>
(
init
?:
MapDownlinkInit
<
K
,
V
,
KU
,
VU
>
)
:
MapDownlink
<
K
,
V
,
KU
,
VU
>
Parameters
Optional
init:
MapDownlinkInit
<
Value
,
Value
,
AnyValue
,
AnyValue
>
Returns
MapDownlink
<
Value
,
Value
,
AnyValue
,
AnyValue
>
Type parameters
K
V
KU =
never
VU =
never
Parameters
Optional
init:
MapDownlinkInit
<
K
,
V
,
KU
,
VU
>
Returns
MapDownlink
<
K
,
V
,
KU
,
VU
>
downlink
Value
downlink
Value
(
init
?:
ValueDownlinkInit
<
Value
,
AnyValue
>
)
:
ValueDownlink
<
Value
,
AnyValue
>
downlink
Value<V, VU>
(
init
?:
ValueDownlinkInit
<
V
,
VU
>
)
:
ValueDownlink
<
V
,
VU
>
Parameters
Optional
init:
ValueDownlinkInit
<
Value
,
AnyValue
>
Returns
ValueDownlink
<
Value
,
AnyValue
>
Type parameters
V
VU =
never
Parameters
Optional
init:
ValueDownlinkInit
<
V
,
VU
>
Returns
ValueDownlink
<
V
,
VU
>
host
Did
Authenticate
host
Did
Authenticate
(
body
:
Value
, host
:
Host
)
:
void
Parameters
body:
Value
host:
Host
Returns
void
host
Did
Connect
host
Did
Connect
(
host
:
Host
)
:
void
Parameters
host:
Host
Returns
void
host
Did
Deauthenticate
host
Did
Deauthenticate
(
body
:
Value
, host
:
Host
)
:
void
Parameters
body:
Value
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
host
Ref
host
Ref
(
hostUri
:
AnyUri
)
:
HostRef
Parameters
hostUri:
AnyUri
Returns
HostRef
is
Authenticated
is
Authenticated
(
)
:
boolean
Returns
boolean
is
Connected
is
Connected
(
)
:
boolean
Returns
boolean
lane
Ref
lane
Ref
(
laneUri
:
AnyUri
)
:
LaneRef
Parameters
laneUri:
AnyUri
Returns
LaneRef
node
Ref
node
Ref
(
nodeUri
:
AnyUri
)
:
NodeRef
Parameters
nodeUri:
AnyUri
Returns
NodeRef
observe
observe
(
observer
:
WarpObserver
)
:
NodeRef
Parameters
observer:
WarpObserver
Returns
NodeRef
open
open
(
)
:
void
Returns
void
remove
Downlink
remove
Downlink
(
downlink
:
Downlink
)
:
void
Parameters
downlink:
Downlink
Returns
void
unobserve
unobserve
(
observer
:
unknown
)
:
NodeRef
Parameters
observer:
unknown
Returns
NodeRef
Modules
@swim/system
@swim/core
@swim/mesh
@swim/warp
@swim/client
@swim/toolkit
Node
Ref
constructor
context
downlinks
host
host
Uri
node
Uri
observers
session
add
Downlink
authenticate
close
close
Up
command
did
Authenticate
did
Connect
did
Deauthenticate
did
Disconnect
did
Fail
downlink
downlink
List
downlink
Map
downlink
Value
host
Did
Authenticate
host
Did
Connect
host
Did
Deauthenticate
host
Did
Disconnect
host
Did
Fail
host
Ref
is
Authenticated
is
Connected
lane
Ref
node
Ref
observe
open
remove
Downlink
unobserve
Generated using
TypeDoc