Interface Swift_Events_EventDispatcher

(line 20)

Description


Located in File: /vendors/swiftMailer/classes/Swift/Events/EventDispatcher.php

Interface for the EventDispatcher which handles the event dispatching layer.


Class Variables

Summary:

Class Constants

Summary:

Method Detail

Summary:

Method bindEventListener (line 72)

void bindEventListener( Swift_Events_EventListener $listener)

Bind an event listener to this dispatcher.

Parameters

Info

  • access - public

Method createCommandEvent (line 39)

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

Create a new CommandEvent for $source and $command.

Parameters

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

Info

  • access - public

Method createResponseEvent (line 49)

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

Create a new ResponseEvent for $source and $response.

Parameters

  • Swift_Transport $source:
  • string $response:
  • boolean $valid: If the response is valid

Info

  • access - public

Method createSendEvent (line 29)

Swift_Events_SendEvent createSendEvent( Swift_Transport $source, Swift_Mime_Message $message)

Create a new SendEvent for $source and $message.

Parameters

Info

  • access - public

Method createTransportChangeEvent (line 57)

Swift_Events_TransportChangeEvent createTransportChangeEvent( Swift_Transport $source)

Create a new TransportChangeEvent for $source.

Parameters

Info

  • access - public

Method createTransportExceptionEvent (line 65)

Swift_Events_TransportExceptionEvent createTransportExceptionEvent( Swift_Transport $source, Swift_TransportException $ex)

Create a new TransportExceptionEvent for $source.

Parameters

Info

  • access - public

Method dispatchEvent (line 79)

void dispatchEvent( Swift_Events_EventObject $evt, string $target)

Dispatch the given Event to all suitable listeners.

Parameters

Info

  • access - public

Inherited Variables

Inherited Class Variable Summary

Inherited Methods

Inherited Method Summary


Documentation generated on Fri, 12 Nov 2010 20:45:21 +0000 by phpDocumentor 1.4.3