\Swift_Transport_SpoolTransport
Stores Messages in a queue.
- Author: Fabien Potencier
Synopsis
class Swift_Transport_SpoolTransport
implements
Swift_Transport
{
- // members
- private $_spool;
- private $_eventDispatcher;
- // methods
- public void __construct()
- public Swift_Transport_SpoolTransport setSpool()
- public Swift_Spool getSpool()
- public boolean isStarted()
- public void start()
- public void stop()
- public integer send()
- public void registerPlugin()
Hierarchy
Members
private
-
$_eventDispatcher
The event dispatcher from the plugin API -
$_spool
The spool instance
Methods
public
- __construct() — Constructor.
- getSpool() — Get the spool object.
- isStarted() — Tests if this Transport mechanism has started.
- registerPlugin() — Register a plugin.
- send() — Sends the given message.
- setSpool() — Sets the spool object.
- start() — Starts this Transport mechanism.
- stop() — Stops this Transport mechanism.