XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
EventDispatcher.php
Go to the documentation of this 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/Event.php';
13 
21 {
22 
29  public function createSendEvent(Swift_Transport $source,
30  Swift_Mime_Message $message);
31 
39  public function createCommandEvent(Swift_Transport $source,
40  $command, $successCodes = array());
41 
49  public function createResponseEvent(Swift_Transport $source,
50  $response, $valid);
51 
57  public function createTransportChangeEvent(Swift_Transport $source);
58 
65  public function createTransportExceptionEvent(Swift_Transport $source,
67 
72  public function bindEventListener(Swift_Events_EventListener $listener);
73 
79  public function dispatchEvent(Swift_Events_EventObject $evt, $target);
80 
81 }