HumHub Documentation (unofficial)

FailoverTransport extends RoundRobinTransport
in package

Uses several Transports using a failover algorithm.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

Properties

$currentTransport  : mixed
$cursor  : mixed
$deadTransports  : SplObjectStorage<TransportInterface, float>
$retryPeriod  : mixed
$transports  : mixed

Methods

__construct()  : mixed
__toString()  : string
send()  : SentMessage|null
getInitialCursor()  : int
getNameSymbol()  : string
getNextTransport()  : TransportInterface|null
Rotates the transport list around and returns the first instance.
isTransportDead()  : bool
moveCursor()  : int

Properties

Methods

moveCursor()

private moveCursor(int $cursor) : int
Parameters
$cursor : int
Return values
int

        
On this page

Search results