vendor/swiftmailer/lib/classes/Swift/Plugins/Pop/Pop3Connection.php
changeset 0 7f95f8617b0b
equal deleted inserted replaced
-1:000000000000 0:7f95f8617b0b
       
     1 <?php
       
     2 
       
     3 /*
       
     4  * This file is part of SwiftMailer.
       
     5  * (c) 2004-2009 Chris Corbyn
       
     6  *
       
     7  * For the full copyright and license information, please view the LICENSE
       
     8  * file that was distributed with this source code.
       
     9  */
       
    10 
       
    11 /**
       
    12  * Pop3Connection interface for connecting and disconnecting to a POP3 host.
       
    13  * 
       
    14  * @package Swift
       
    15  * @subpackage Plugins
       
    16  * 
       
    17  * @author Chris Corbyn
       
    18  */
       
    19 interface Swift_Plugins_Pop_Pop3Connection
       
    20 {
       
    21   
       
    22   /**
       
    23    * Connect to the POP3 host and throw an Exception if it fails.
       
    24    * 
       
    25    * @throws Swift_Plugins_Pop_Pop3Exception
       
    26    */
       
    27   public function connect();
       
    28   
       
    29   /**
       
    30    * Disconnect from the POP3 host and throw an Exception if it fails.
       
    31    * 
       
    32    * @throws Swift_Plugins_Pop_Pop3Exception
       
    33    */
       
    34   public function disconnect();
       
    35   
       
    36 }