Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • Swift_FailoverTransport
  • Swift_LoadBalancedTransport
  • Swift_MailTransport
  • Swift_Plugins_Loggers_ArrayLogger
  • Swift_Plugins_Loggers_EchoLogger
  • Swift_SendmailTransport
  • Swift_SmtpTransport
  • Swift_Transport_AbstractSmtpTransport
  • Swift_Transport_Esmtp_Auth_CramMd5Authenticator
  • Swift_Transport_Esmtp_Auth_LoginAuthenticator
  • Swift_Transport_Esmtp_Auth_PlainAuthenticator
  • Swift_Transport_Esmtp_AuthHandler
  • Swift_Transport_EsmtpTransport
  • Swift_Transport_FailoverTransport
  • Swift_Transport_LoadBalancedTransport
  • Swift_Transport_MailTransport
  • Swift_Transport_SendmailTransport
  • Swift_Transport_SimpleMailInvoker
  • Swift_Transport_StreamBuffer

Interfaces

  • Swift_Plugins_Logger
  • Swift_Plugins_Pop_Pop3Exception
  • Swift_Transport
  • Swift_Transport_Esmtp_Authenticator
  • Swift_Transport_EsmtpHandler
  • Swift_Transport_IoBuffer
  • Swift_Transport_MailInvoker
  • Swift_Transport_SmtpAgent
  • Swift_TransportException
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class Swift_Transport_LoadBalancedTransport

Redudantly and rotationally uses several Transports when sending.

Swift_Transport_LoadBalancedTransport implements Swift_Transport

Direct known subclasses

Swift_LoadBalancedTransport, Swift_Transport_FailoverTransport

Indirect known subclasses

Swift_FailoverTransport
Package: Swift\Transport
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Transport/LoadBalancedTransport.php
Methods summary
public
# __construct( )

Creates a new LoadBalancedTransport.

Creates a new LoadBalancedTransport.

public
# setTransports( array $transports )

Set $transports to delegate to.

Set $transports to delegate to.

Parameters

$transports
Swift_Transport
public array
# getTransports( )

Get $transports to delegate to.

Get $transports to delegate to.

Returns

array
Swift_Transport
public boolean
# isStarted( )

Test if this Transport mechanism has started.

Test if this Transport mechanism has started.

Returns

boolean

Implementation of

Swift_Transport::isStarted()
public
# start( )

Start this Transport mechanism.

Start this Transport mechanism.

Implementation of

Swift_Transport::start()
public
# stop( )

Stop this Transport mechanism.

Stop this Transport mechanism.

Implementation of

Swift_Transport::stop()
public integer
# send( Swift_Mime_Message $message, string[] & $failedRecipients = null )

Send the given Message.

Send the given Message.

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

Parameters

$message
$failedRecipients
$failedRecipients to collect failures by-reference

Returns

integer

Implementation of

Swift_Transport::send()
public
# registerPlugin( Swift_Events_EventListener $plugin )

Register a plugin.

Register a plugin.

Parameters

$plugin

Implementation of

Swift_Transport::registerPlugin()
protected Swift_Transport
# _getNextTransport( )

Rotates the transport list around and returns the first instance.

Rotates the transport list around and returns the first instance.

Returns

Swift_Transport
protected
# _killCurrentTransport( )

Tag the currently used (top of stack) transport as dead/useless.

Tag the currently used (top of stack) transport as dead/useless.

Properties summary
private array $_deadTransports

Transports which are deemed useless

Transports which are deemed useless

# array()
protected array $_transports

The Transports which are used in rotation.

The Transports which are used in rotation.

# array()
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen