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

Class: Swift_Events_SimpleEventDispatcher

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

Class Overview


The EventDispatcher which handles the event dispatching layer.


Author(s):

  • Chris Corbyn

Implements interfaces:

Methods



Class Details

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



Tags:

author:  Chris Corbyn


[ Top ]


Class Methods


constructor __construct [line 30]

Swift_Events_SimpleEventDispatcher __construct( )

Create a new EventDispatcher.



Tags:

access:  public


[ Top ]

method bindEventListener [line 112]

void bindEventListener( Swift_Events_EventListener $listener)

Bind an event listener to this dispatcher.



Tags:

access:  public



Implementation of:
Swift_Events_EventDispatcher::bindEventListener()
Bind an event listener to this dispatcher.

Parameters:

Swift_Events_EventListener   $listener  

[ Top ]

method createCommandEvent [line 63]

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

Create a new CommandEvent for $source and $command.



Tags:

access:  public



Implementation of:
Swift_Events_EventDispatcher::createCommandEvent()
Create a new CommandEvent for $source and $command.

Parameters:

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

[ Top ]

method createResponseEvent [line 77]

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

Create a new ResponseEvent for $source and $response.



Tags:

access:  public



Implementation of:
Swift_Events_EventDispatcher::createResponseEvent()
Create a new ResponseEvent for $source and $response.

Parameters:

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

[ Top ]

method createSendEvent [line 49]

Swift_Events_SendEvent createSendEvent( Swift_Transport $source, Swift_Mime_Message $message)

Create a new SendEvent for $source and $message.



Tags:

access:  public



Implementation of:
Swift_Events_EventDispatcher::createSendEvent()
Create a new SendEvent for $source and $message.

Parameters:

Swift_Transport   $source  
Swift_Mime_Message   $message  

[ Top ]

method createTransportChangeEvent [line 89]

Swift_Events_TransportChangeEvent createTransportChangeEvent( Swift_Transport $source)

Create a new TransportChangeEvent for $source.



Tags:

access:  public



Implementation of:
Swift_Events_EventDispatcher::createTransportChangeEvent()
Create a new TransportChangeEvent for $source.

Parameters:

Swift_Transport   $source  

[ Top ]

method createTransportExceptionEvent [line 102]

Swift_Events_TransportExceptionEvent createTransportExceptionEvent( Swift_Transport $source, Swift_TransportException $ex)

Create a new TransportExceptionEvent for $source.



Tags:

access:  public



Implementation of:
Swift_Events_EventDispatcher::createTransportExceptionEvent()
Create a new TransportExceptionEvent for $source.

Parameters:

Swift_Transport   $source  
Swift_TransportException   $ex  

[ Top ]

method dispatchEvent [line 129]

void dispatchEvent( Swift_Events_EventObject $evt, string $target)

Dispatch the given Event to all suitable listeners.



Tags:

access:  public



Implementation of:
Swift_Events_EventDispatcher::dispatchEvent()
Dispatch the given Event to all suitable listeners.

Parameters:

Swift_Events_EventObject   $evt  
string   $target   method

[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:54:30 +0000 by phpDocumentor 1.4.3