TYPO3
7.6
|
Public Member Functions | |
createSendEvent (Swift_Transport $source, Swift_Mime_Message $message) | |
createCommandEvent (Swift_Transport $source, $command, $successCodes=array()) | |
createResponseEvent (Swift_Transport $source, $response, $valid) | |
createTransportChangeEvent (Swift_Transport $source) | |
createTransportExceptionEvent (Swift_Transport $source, Swift_TransportException $ex) | |
bindEventListener (Swift_Events_EventListener $listener) | |
dispatchEvent (Swift_Events_EventObject $evt, $target) | |
Interface for the EventDispatcher which handles the event dispatching layer.
Definition at line 16 of file EventDispatcher.php.
bindEventListener | ( | Swift_Events_EventListener | $listener | ) |
Bind an event listener to this dispatcher.
Swift_Events_EventListener | $listener |
Implemented in Swift_Events_SimpleEventDispatcher.
createCommandEvent | ( | Swift_Transport | $source, |
$command, | |||
$successCodes = array() |
|||
) |
Create a new CommandEvent for $source and $command.
Swift_Transport | $source | |
string | $command | That will be executed |
array | $successCodes | That are needed |
Implemented in Swift_Events_SimpleEventDispatcher.
createResponseEvent | ( | Swift_Transport | $source, |
$response, | |||
$valid | |||
) |
Create a new ResponseEvent for $source and $response.
Swift_Transport | $source | |
string | $response | |
bool | $valid | If the response is valid |
Implemented in Swift_Events_SimpleEventDispatcher.
createSendEvent | ( | Swift_Transport | $source, |
Swift_Mime_Message | $message | ||
) |
Create a new SendEvent for $source and $message.
Swift_Transport | $source | |
Swift_Mime_Message |
Implemented in Swift_Events_SimpleEventDispatcher.
createTransportChangeEvent | ( | Swift_Transport | $source | ) |
Create a new TransportChangeEvent for $source.
Swift_Transport | $source |
Implemented in Swift_Events_SimpleEventDispatcher.
createTransportExceptionEvent | ( | Swift_Transport | $source, |
Swift_TransportException | $ex | ||
) |
Create a new TransportExceptionEvent for $source.
Swift_Transport | $source | |
Swift_TransportException | $ex |
Implemented in Swift_Events_SimpleEventDispatcher.
dispatchEvent | ( | Swift_Events_EventObject | $evt, |
$target | |||
) |
Dispatch the given Event to all suitable listeners.
Swift_Events_EventObject | $evt | |
string | $target | method |
Implemented in Swift_Events_SimpleEventDispatcher.