PageRenderTime 18ms CodeModel.GetById 15ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/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/*
 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 */
19interface 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}