Search
Preparing search index...
The search index is not available
pinus
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
HeartbeatCommand
Class HeartbeatCommand
Process heartbeat request.
param
option request opts.heartbeat heartbeat interval
Hierarchy
HeartbeatCommand
Index
Constructors
constructor
Properties
clients
disconnect
OnTimeout
heartbeat
timeout
timeouts
Methods
clear
clear
Timers
handle
Constructors
constructor
new
Heartbeat
Command
(
opts
?:
HeartbeatCommandOptions
)
:
HeartbeatCommand
Parameters
Optional
opts:
HeartbeatCommandOptions
Returns
HeartbeatCommand
Properties
clients
clients
:
object
Type declaration
[
socketId:
number
]:
number
disconnect
OnTimeout
disconnect
OnTimeout
:
boolean
heartbeat
heartbeat
:
number
timeout
timeout
:
number
timeouts
timeouts
:
object
Type declaration
[
socketId:
number
]:
Timer
Methods
clear
clear
(
id
:
number
)
:
void
Parameters
id:
number
Returns
void
clear
Timers
clear
Timers
(
id
:
number
)
:
void
Parameters
id:
number
Returns
void
handle
handle
(
socket
:
ISocket
)
:
void
Parameters
socket:
ISocket
Returns
void
Globals
Heartbeat
Command
constructor
clients
disconnect
OnTimeout
heartbeat
timeout
timeouts
clear
clear
Timers
handle
Process heartbeat request.
option request opts.heartbeat heartbeat interval