Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 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
//@require 'Swift/KeyCache.php';
12
//@require 'Swift/InputByteStream.php';
13
 
14
/**
15
 * Writes data to a KeyCache using a stream.
16
 * @package Swift
17
 * @subpackage KeyCache
18
 * @author Chris Corbyn
19
 */
20
interface Swift_KeyCache_KeyCacheInputStream extends Swift_InputByteStream
21
{
22
 
23
  /**
24
   * Set the KeyCache to wrap.
25
   * @param Swift_KeyCache $keyCache
26
   */
27
  public function setKeyCache(Swift_KeyCache $keyCache);
28
 
29
  /**
30
   * Set the nsKey which will be written to.
31
   * @param string $nsKey
32
   */
33
  public function setNsKey($nsKey);
34
 
35
  /**
36
   * Set the itemKey which will be written to.
37
   * @param string $itemKey
38
   */
39
  public function setItemKey($itemKey);
40
 
41
  /**
42
   * Specify a stream to write through for each write().
43
   * @param Swift_InputByteStream $is
44
   */
45
  public function setWriteThroughStream(Swift_InputByteStream $is);
46
 
47
  /**
48
   * Any implementation should be cloneable, allowing the clone to access a
49
   * separate $nsKey and $itemKey.
50
   */
51
  public function __clone();
52
 
53
}