Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Class: Swift_Events_EventDispatcher

Source Location: /system/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/EventDispatcher.php

Interface Overview


Interface for the EventDispatcher which handles the event dispatching layer.


Author(s):

  • Chris Corbyn

Methods



Class Details

[line 16]
Interface for the EventDispatcher which handles the event dispatching layer.



Tags:

author:  Chris Corbyn


[ Top ]


Class Methods


method bindEventListener [line 74]

void bindEventListener( Swift_Events_EventListener $listener)

Bind an event listener to this dispatcher.



Tags:

access:  public


Parameters:

Swift_Events_EventListener   $listener  

[ Top ]

method createCommandEvent [line 37]

Swift_Events_CommandEvent createCommandEvent( Swift_Transport $source, string $command, [array $successCodes = array()])

Create a new CommandEvent for $source and $command.



Tags:

access:  public


Parameters:

Swift_Transport   $source  
string   $command   That will be executed
array   $successCodes   That are needed

[ Top ]

method createResponseEvent [line 48]

Swift_Events_ResponseEvent createResponseEvent( Swift_Transport $source, string $response, bool $valid)

Create a new ResponseEvent for $source and $response.



Tags:

access:  public


Parameters:

Swift_Transport   $source  
string   $response  
bool   $valid   If the response is valid

[ Top ]

method createSendEvent [line 26]

Swift_Events_SendEvent createSendEvent( Swift_Transport $source, Swift_Mime_Message $message)

Create a new SendEvent for $source and $message.



Tags:

access:  public


Parameters:

Swift_Transport   $source  
Swift_Mime_Message   $message  

[ Top ]

method createTransportChangeEvent [line 57]

Swift_Events_TransportChangeEvent createTransportChangeEvent( Swift_Transport $source)

Create a new TransportChangeEvent for $source.



Tags:

access:  public


Parameters:

Swift_Transport   $source  

[ Top ]

method createTransportExceptionEvent [line 67]

Swift_Events_TransportExceptionEvent createTransportExceptionEvent( Swift_Transport $source, Swift_TransportException $ex)

Create a new TransportExceptionEvent for $source.



Tags:

access:  public


Parameters:

Swift_Transport   $source  
Swift_TransportException   $ex  

[ Top ]

method dispatchEvent [line 82]

void dispatchEvent( Swift_Events_EventObject $evt, string $target)

Dispatch the given Event to all suitable listeners.



Tags:

access:  public


Parameters:

Swift_Events_EventObject   $evt  
string   $target   method

[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:48:32 +0000 by phpDocumentor 1.4.3