Added feature #15998: Create a new API to send mails based on SwiftMailer to replace...
[Packages/TYPO3.CMS.git] / typo3 / contrib / swiftmailer / classes / Swift / Events / TransportChangeListener.php
1 <?php
2
3 /*
4 * This file is part of SwiftMailer.
5 * (c) 2004-2009 Chris Corbyn
6 *
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
9 */
10
11 //@require 'Swift/Events/EventListener.php';
12 //@require 'Swift/Events/TransportChangeEvent.php';
13
14 /**
15 * Listens for changes within the Transport system.
16 *
17 * @package Swift
18 * @subpackage Events
19 *
20 * @author Chris Corbyn
21 */
22 interface Swift_Events_TransportChangeListener extends Swift_Events_EventListener
23 {
24
25 /**
26 * Invoked just before a Transport is started.
27 *
28 * @param Swift_Events_TransportChangeEvent $evt
29 */
30 public function beforeTransportStarted(Swift_Events_TransportChangeEvent $evt);
31
32 /**
33 * Invoked immediately after the Transport is started.
34 *
35 * @param Swift_Events_TransportChangeEvent $evt
36 */
37 public function transportStarted(Swift_Events_TransportChangeEvent $evt);
38
39 /**
40 * Invoked just before a Transport is stopped.
41 *
42 * @param Swift_Events_TransportChangeEvent $evt
43 */
44 public function beforeTransportStopped(Swift_Events_TransportChangeEvent $evt);
45
46 /**
47 * Invoked immediately after the Transport is stopped.
48 *
49 * @param Swift_Events_TransportChangeEvent $evt
50 */
51 public function transportStopped(Swift_Events_TransportChangeEvent $evt);
52
53 }