TYPO3 API  SVNRelease
TransportChangeListener.php
Go to the documentation of this file.
00001 <?php
00002 
00003 /*
00004  * This file is part of SwiftMailer.
00005  * (c) 2004-2009 Chris Corbyn
00006  *
00007  * For the full copyright and license information, please view the LICENSE
00008  * file that was distributed with this source code.
00009  */
00010 
00011 //@require 'Swift/Events/EventListener.php';
00012 //@require 'Swift/Events/TransportChangeEvent.php';
00013 
00014 /**
00015  * Listens for changes within the Transport system.
00016  *
00017  * @package Swift
00018  * @subpackage Events
00019  *
00020  * @author Chris Corbyn
00021  */
00022 interface Swift_Events_TransportChangeListener extends Swift_Events_EventListener
00023 {
00024 
00025   /**
00026    * Invoked just before a Transport is started.
00027    *
00028    * @param Swift_Events_TransportChangeEvent $evt
00029    */
00030   public function beforeTransportStarted(Swift_Events_TransportChangeEvent $evt);
00031 
00032   /**
00033    * Invoked immediately after the Transport is started.
00034    *
00035    * @param Swift_Events_TransportChangeEvent $evt
00036    */
00037   public function transportStarted(Swift_Events_TransportChangeEvent $evt);
00038 
00039   /**
00040    * Invoked just before a Transport is stopped.
00041    *
00042    * @param Swift_Events_TransportChangeEvent $evt
00043    */
00044   public function beforeTransportStopped(Swift_Events_TransportChangeEvent $evt);
00045 
00046   /**
00047    * Invoked immediately after the Transport is stopped.
00048    *
00049    * @param Swift_Events_TransportChangeEvent $evt
00050    */
00051   public function transportStopped(Swift_Events_TransportChangeEvent $evt);
00052 
00053 }