Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
core
WebsocketFrontendConnectionService
Class WebsocketFrontendConnectionService
Implements
FrontendConnectionService
Index
Constructors
constructor
Properties
channels
Marked
For
Close
close
Timeouts
connections
By
Frontend
websocket
Server
ws
Handlers
Methods
close
Connection
create
Connection
frontend
Connection
Timeout
handle
Connection
handle
Socket
Disconnect
mark
For
Close
register
Connection
Handler
Constructors
constructor
new
Websocket
Frontend
Connection
Service
(
)
:
WebsocketFrontendConnectionService
Returns
WebsocketFrontendConnectionService
Properties
Protected
Readonly
channels
Marked
For
Close
channels
Marked
For
Close
:
Set
<
string
>
= ...
Protected
Readonly
close
Timeouts
close
Timeouts
:
Map
<
string
,
Timeout
>
= ...
Protected
Readonly
connections
By
Frontend
connections
By
Frontend
:
Map
<
string
,
ReconnectableSocketChannel
>
= ...
Protected
Readonly
websocket
Server
websocket
Server
:
WebsocketEndpoint
Protected
Readonly
ws
Handlers
ws
Handlers
:
ConnectionHandlers
<
unknown
>
= ...
Methods
Protected
close
Connection
close
Connection
(
frontEndId
,
reason
)
:
void
Parameters
frontEndId
:
string
reason
:
string
Returns
void
Protected
create
Connection
create
Connection
(
socket
,
frontEndId
)
:
ReconnectableSocketChannel
Parameters
socket
:
Socket
<
DefaultEventsMap
,
DefaultEventsMap
,
DefaultEventsMap
,
any
>
frontEndId
:
string
Returns
ReconnectableSocketChannel
Private
frontend
Connection
Timeout
frontend
Connection
Timeout
(
)
:
number
Returns
number
Protected
handle
Connection
handle
Connection
(
socket
,
channelCreatedHandler
)
:
Promise
<
void
>
Parameters
socket
:
Socket
<
DefaultEventsMap
,
DefaultEventsMap
,
DefaultEventsMap
,
any
>
channelCreatedHandler
:
(
(
channel
)
=>
void
)
(
channel
)
:
void
Parameters
channel
:
Channel
Returns
void
Returns
Promise
<
void
>
handle
Socket
Disconnect
handle
Socket
Disconnect
(
socket
,
channel
,
frontEndId
)
:
void
Parameters
socket
:
Socket
<
DefaultEventsMap
,
DefaultEventsMap
,
DefaultEventsMap
,
any
>
channel
:
ReconnectableSocketChannel
frontEndId
:
string
Returns
void
mark
For
Close
mark
For
Close
(
channelId
)
:
void
Parameters
channelId
:
string
Returns
void
register
Connection
Handler
register
Connection
Handler
(
spec
,
callback
)
:
void
Parameters
spec
:
string
callback
:
(
(
params
,
channel
)
=>
void
)
(
params
,
channel
)
:
void
Parameters
params
:
core
.
PathParams
channel
:
Channel
Returns
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
channels
Marked
For
Close
close
Timeouts
connections
By
Frontend
websocket
Server
ws
Handlers
close
Connection
create
Connection
frontend
Connection
Timeout
handle
Connection
handle
Socket
Disconnect
mark
For
Close
register
Connection
Handler
Theia TypeDoc
Loading...