TYPO3  7.6
Public Member Functions | Static Public Member Functions | List of all members
Swift_LoadBalancedTransport Class Reference
Inheritance diagram for Swift_LoadBalancedTransport:
Swift_Transport_LoadBalancedTransport Swift_Transport

Public Member Functions

 __construct ($transports=array())
 
- Public Member Functions inherited from Swift_Transport_LoadBalancedTransport
 __construct ()
 
 setTransports (array $transports)
 
 getTransports ()
 
 isStarted ()
 
 start ()
 
 stop ()
 
 send (Swift_Mime_Message $message, &$failedRecipients=null)
 
 registerPlugin (Swift_Events_EventListener $plugin)
 

Static Public Member Functions

static newInstance ($transports=array())
 

Additional Inherited Members

- Protected Member Functions inherited from Swift_Transport_LoadBalancedTransport
 _getNextTransport ()
 
 _killCurrentTransport ()
 
- Protected Attributes inherited from Swift_Transport_LoadBalancedTransport
 $_transports = array()
 

Detailed Description

Redundantly and rotationally uses several Transport implementations when sending.

Author
Chris Corbyn

Definition at line 16 of file LoadBalancedTransport.php.

Constructor & Destructor Documentation

__construct (   $transports = array())

Creates a new LoadBalancedTransport with $transports.

Parameters
array$transports

Definition at line 23 of file LoadBalancedTransport.php.

References Swift_DependencyContainer\getInstance(), and Swift_Transport_LoadBalancedTransport\setTransports().

Member Function Documentation

static newInstance (   $transports = array())
static

Create a new LoadBalancedTransport instance.

Parameters
array$transports
Returns
Swift_LoadBalancedTransport

Definition at line 41 of file LoadBalancedTransport.php.