~lzap/cupooy/trunk

« back to all changes in this revision

Viewing changes to lib/vendor/swift/classes/Swift/Plugins/Pop/Pop3Connection.php

  • Committer: Lukáš Zapletal
  • Date: 2009-11-16 15:18:26 UTC
  • Revision ID: lzap@shark-20091116151826-4287asrnx59j26g0
Mailing

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
}