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
LaneRef
Class LaneRef
Hierarchy
BaseRef
LaneRef
Index
Constructors
constructor
Properties
context
downlinks
host
host
Uri
lane
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
Lane
Ref
(
context
:
RefContext
, hostUri
:
Uri
, nodeUri
:
Uri
, laneUri
:
Uri
)
:
LaneRef
Parameters
context:
RefContext
hostUri:
Uri
nodeUri:
Uri
laneUri:
Uri
Returns
LaneRef
Properties
Readonly
context
context
:
RefContext
Readonly
downlinks
downlinks
:
Downlink
[]
Readonly
host
host
:
null
|
Host
Readonly
host
Uri
host
Uri
:
Uri
Readonly
lane
Uri
lane
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
(
body
:
AnyValue
)
:
void
Parameters
body:
AnyValue
Returns
void
did
Authenticate
did
Authenticate
(
didAuthenticate
:
WarpDidAuthenticate
)
:
LaneRef
Parameters
didAuthenticate:
WarpDidAuthenticate
Returns
LaneRef
did
Connect
did
Connect
(
didConnect
:
WarpDidConnect
)
:
LaneRef
Parameters
didConnect:
WarpDidConnect
Returns
LaneRef
did
Deauthenticate
did
Deauthenticate
(
didDeauthenticate
:
WarpDidDeauthenticate
)
:
LaneRef
Parameters
didDeauthenticate:
WarpDidDeauthenticate
Returns
LaneRef
did
Disconnect
did
Disconnect
(
didDisconnect
:
WarpDidDisconnect
)
:
LaneRef
Parameters
didDisconnect:
WarpDidDisconnect
Returns
LaneRef
did
Fail
did
Fail
(
didFail
:
WarpDidFail
)
:
LaneRef
Parameters
didFail:
WarpDidFail
Returns
LaneRef
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
)
:
LaneRef
Parameters
observer:
WarpObserver
Returns
LaneRef
open
open
(
)
:
void
Returns
void
remove
Downlink
remove
Downlink
(
downlink
:
Downlink
)
:
void
Parameters
downlink:
Downlink
Returns
void
unobserve
unobserve
(
observer
:
unknown
)
:
LaneRef
Parameters
observer:
unknown
Returns
LaneRef
Modules
@swim/system
@swim/core
@swim/mesh
@swim/warp
@swim/client
@swim/toolkit
Lane
Ref
constructor
context
downlinks
host
host
Uri
lane
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