PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/framework/vendor/swift/lib/classes/Swift/Events/TransportChangeListener.php

http://zoop.googlecode.com/
PHP | 53 lines | 8 code | 8 blank | 37 comment | 0 complexity | 46325981ac5349e305cd044f8f023831 MD5 | raw file
 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 */
22interface 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}