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