php-amqplib

AbstractSignalHeartbeatSender
in package

Manages pcntl-based heartbeat sending for a {@link AbstractConnection}.

Table of Contents

$connection  : AbstractConnection|null
$wasActive  : bool
__construct()  : mixed
__destruct()  : mixed
register()  : void
Starts the heartbeats
unregister()  : void
Stops the heartbeats.
handleSignal()  : void
Handles the heartbeat when a signal interrupt is received
isSupported()  : bool

Properties

Methods

handleSignal()

Handles the heartbeat when a signal interrupt is received

protected handleSignal(int $interval) : void
Parameters
$interval : int
Return values
void

Search results