Property | Type | Description | |
---|---|---|---|
$_lastUsedTransport | Swift_Transport | The Transport used in the last successful send operation. | |
$_transports | Swift_Transport[] | The Transports which are used in rotation. |
Method | Description | |
---|---|---|
__construct ( ) | needed as __construct is called from elsewhere explicitly | |
getLastUsedTransport ( ) : Swift_Transport | Get the Transport used in the last successful send operation. | |
getTransports ( ) : Swift_Transport[] | Get $transports to delegate to. | |
isStarted ( ) : boolean | Test if this Transport mechanism has started. | |
registerPlugin ( Swift_Events_EventListener $plugin ) | Register a plugin. | |
send ( Swift_Mime_Message $message, string[] &$failedRecipients = null ) : integer | Send the given Message. | |
setTransports ( array $transports ) | Set $transports to delegate to. | |
start ( ) | Start this Transport mechanism. | |
stop ( ) | Stop this Transport mechanism. |
Method | Description | |
---|---|---|
_getNextTransport ( ) : Swift_Transport | Rotates the transport list around and returns the first instance. | |
_killCurrentTransport ( ) | Tag the currently used (top of stack) transport as dead/useless. |
public __construct ( ) |
protected _getNextTransport ( ) : Swift_Transport | ||
return | Swift_Transport |
protected _killCurrentTransport ( ) |
public getLastUsedTransport ( ) : Swift_Transport | ||
return | Swift_Transport |
public getTransports ( ) : Swift_Transport[] | ||
return | Swift_Transport[] |
public registerPlugin ( Swift_Events_EventListener $plugin ) | ||
$plugin | Swift_Events_EventListener |
public setTransports ( array $transports ) | ||
$transports | array |
protected Swift_Transport $_lastUsedTransport | ||
return | Swift_Transport |