/framework/vendor/swift/lib/classes/Swift/Plugins/Pop/Pop3Connection.php

http://zoop.googlecode.com/ · PHP · 36 lines · 6 code · 5 blank · 25 comment · 0 complexity · cb50d4a1d4398078239ef886eaa6d27a MD5 · raw file

  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. /**
  10. * Pop3Connection interface for connecting and disconnecting to a POP3 host.
  11. *
  12. * @package Swift
  13. * @subpackage Plugins
  14. *
  15. * @author Chris Corbyn
  16. */
  17. interface Swift_Plugins_Pop_Pop3Connection
  18. {
  19. /**
  20. * Connect to the POP3 host and throw an Exception if it fails.
  21. *
  22. * @throws Swift_Plugins_Pop_Pop3Exception
  23. */
  24. public function connect();
  25. /**
  26. * Disconnect from the POP3 host and throw an Exception if it fails.
  27. *
  28. * @throws Swift_Plugins_Pop_Pop3Exception
  29. */
  30. public function disconnect();
  31. }