PageRenderTime 28ms CodeModel.GetById 16ms RepoModel.GetById 9ms app.codeStats 0ms

/framework/vendor/swift/lib/classes/Swift/Events/TransportChangeListener.php

http://zoop.googlecode.com/
PHP | 53 lines | 8 code | 8 blank | 37 comment | 0 complexity | 46325981ac5349e305cd044f8f023831 MD5 | raw file
Possible License(s): BSD-3-Clause, LGPL-2.1
  1. <?php
  2. /*
  3. * This file is part of SwiftMailer.
  4. * (c) 2004-2009 Chris Corbyn
  5. *
  6. * For the full copyright and license information, please view the LICENSE
  7. * file that was distributed with this source code.
  8. */
  9. //@require 'Swift/Events/EventListener.php';
  10. //@require 'Swift/Events/TransportChangeEvent.php';
  11. /**
  12. * Listens for changes within the Transport system.
  13. *
  14. * @package Swift
  15. * @subpackage Events
  16. *
  17. * @author Chris Corbyn
  18. */
  19. interface Swift_Events_TransportChangeListener extends Swift_Events_EventListener
  20. {
  21. /**
  22. * Invoked just before a Transport is started.
  23. *
  24. * @param Swift_Events_TransportChangeEvent $evt
  25. */
  26. public function beforeTransportStarted(Swift_Events_TransportChangeEvent $evt);
  27. /**
  28. * Invoked immediately after the Transport is started.
  29. *
  30. * @param Swift_Events_TransportChangeEvent $evt
  31. */
  32. public function transportStarted(Swift_Events_TransportChangeEvent $evt);
  33. /**
  34. * Invoked just before a Transport is stopped.
  35. *
  36. * @param Swift_Events_TransportChangeEvent $evt
  37. */
  38. public function beforeTransportStopped(Swift_Events_TransportChangeEvent $evt);
  39. /**
  40. * Invoked immediately after the Transport is stopped.
  41. *
  42. * @param Swift_Events_TransportChangeEvent $evt
  43. */
  44. public function transportStopped(Swift_Events_TransportChangeEvent $evt);
  45. }