|
TYPO3 API
SVNRelease
|
00001 <?php 00002 00003 /* 00004 * This file is part of SwiftMailer. 00005 * (c) 2004-2009 Chris Corbyn 00006 * 00007 * For the full copyright and license information, please view the LICENSE 00008 * file that was distributed with this source code. 00009 */ 00010 00011 //@require 'Swift/KeyCache.php'; 00012 //@require 'Swift/InputByteStream.php'; 00013 00014 /** 00015 * Writes data to a KeyCache using a stream. 00016 * @package Swift 00017 * @subpackage KeyCache 00018 * @author Chris Corbyn 00019 */ 00020 interface Swift_KeyCache_KeyCacheInputStream extends Swift_InputByteStream 00021 { 00022 00023 /** 00024 * Set the KeyCache to wrap. 00025 * @param Swift_KeyCache $keyCache 00026 */ 00027 public function setKeyCache(Swift_KeyCache $keyCache); 00028 00029 /** 00030 * Set the nsKey which will be written to. 00031 * @param string $nsKey 00032 */ 00033 public function setNsKey($nsKey); 00034 00035 /** 00036 * Set the itemKey which will be written to. 00037 * @param string $itemKey 00038 */ 00039 public function setItemKey($itemKey); 00040 00041 /** 00042 * Specify a stream to write through for each write(). 00043 * @param Swift_InputByteStream $is 00044 */ 00045 public function setWriteThroughStream(Swift_InputByteStream $is); 00046 00047 /** 00048 * Any implementation should be cloneable, allowing the clone to access a 00049 * separate $nsKey and $itemKey. 00050 */ 00051 public function __clone(); 00052 00053 }
1.8.0