XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
Swift_Transport_FailoverTransport Class Reference
Inheritance diagram for Swift_Transport_FailoverTransport:
Inheritance graph

Public Member Functions

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

Protected Member Functions

 _getNextTransport ()
 
 _killCurrentTransport ()
 
- Protected Member Functions inherited from Swift_Transport_LoadBalancedTransport
 _getNextTransport ()
 
 _killCurrentTransport ()
 

Private Attributes

 $_currentTransport
 

Additional Inherited Members

- Protected Attributes inherited from Swift_Transport_LoadBalancedTransport
 $_transports = array()
 

Detailed Description

Definition at line 20 of file FailoverTransport.php.

Constructor & Destructor Documentation

Swift_Transport_FailoverTransport::__construct ( )

Creates a new FailoverTransport.

Definition at line 34 of file FailoverTransport.php.

References __construct().

Here is the call graph for this function:

Member Function Documentation

Swift_Transport_FailoverTransport::_getNextTransport ( )
protected

Definition at line 82 of file FailoverTransport.php.

References $_currentTransport.

Referenced by send().

Here is the caller graph for this function:

Swift_Transport_FailoverTransport::_killCurrentTransport ( )
protected

Definition at line 91 of file FailoverTransport.php.

Referenced by send().

Here is the caller graph for this function:

Swift_Transport_FailoverTransport::send ( Swift_Mime_Message  $message,
$failedRecipients = null 
)

Send the given Message. Recipient/sender data will be retreived from the Message API. The return value is the number of recipients who were accepted for delivery.

Parameters
Swift_Mime_Message$message
string[]&$failedRecipients to collect failures by-reference
Returns
int

Implements Swift_Transport.

Definition at line 47 of file FailoverTransport.php.

References $i, _getNextTransport(), and _killCurrentTransport().

Here is the call graph for this function:

Member Data Documentation

Swift_Transport_FailoverTransport::$_currentTransport
private

Definition at line 29 of file FailoverTransport.php.

Referenced by _getNextTransport().


The documentation for this class was generated from the following file: