TYPO3 API  SVNRelease
Pop3Connection.php
Go to the documentation of this file.
00001 <?php
00002 
00003 /*
00004  * This file is part of SwiftMailer.
00005  * (c) 2004-2009 Chris Corbyn
00006  *
00007  * For the full copyright and license information, please view the LICENSE
00008  * file that was distributed with this source code.
00009  */
00010 
00011 /**
00012  * Pop3Connection interface for connecting and disconnecting to a POP3 host.
00013  *
00014  * @package Swift
00015  * @subpackage Plugins
00016  *
00017  * @author Chris Corbyn
00018  */
00019 interface Swift_Plugins_Pop_Pop3Connection
00020 {
00021 
00022   /**
00023    * Connect to the POP3 host and throw an Exception if it fails.
00024    *
00025    * @throws Swift_Plugins_Pop_Pop3Exception
00026    */
00027   public function connect();
00028 
00029   /**
00030    * Disconnect from the POP3 host and throw an Exception if it fails.
00031    *
00032    * @throws Swift_Plugins_Pop_Pop3Exception
00033    */
00034   public function disconnect();
00035 
00036 }