Interface Swift_KeyCache_KeyCacheInputStream

ExtendsSwift_InputByteStream
Implemented bySwift_KeyCache_SimpleKeyCacheInputStream

Writes data to a KeyCache using a stream.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__clone() Any implementation should be cloneable, allowing the clone to access a separate $nsKey and $itemKey. Swift_KeyCache_KeyCacheInputStream
bind() Attach $is to this stream. Swift_InputByteStream
commit() For any bytes that are currently buffered inside the stream, force them off the buffer. Swift_InputByteStream
flushBuffers() Flush the contents of the stream (empty it) and set the internal pointer to the beginning. Swift_InputByteStream
setItemKey() Set the itemKey which will be written to. Swift_KeyCache_KeyCacheInputStream
setKeyCache() Set the KeyCache to wrap. Swift_KeyCache_KeyCacheInputStream
setNsKey() Set the nsKey which will be written to. Swift_KeyCache_KeyCacheInputStream
setWriteThroughStream() Specify a stream to write through for each write(). Swift_KeyCache_KeyCacheInputStream
unbind() Remove an already bound stream. Swift_InputByteStream
write() Writes $bytes to the end of the stream. Swift_InputByteStream

Method Details

__clone() public abstract method

Any implementation should be cloneable, allowing the clone to access a separate $nsKey and $itemKey.

public abstract void __clone ( )
setItemKey() public abstract method

Set the itemKey which will be written to.

public abstract void setItemKey ( $itemKey )
$itemKey string
setKeyCache() public abstract method

Set the KeyCache to wrap.

public abstract void setKeyCache ( Swift_KeyCache $keyCache )
$keyCache Swift_KeyCache
setNsKey() public abstract method

Set the nsKey which will be written to.

public abstract void setNsKey ( $nsKey )
$nsKey string
setWriteThroughStream() public abstract method

Specify a stream to write through for each write().

public abstract void setWriteThroughStream ( Swift_InputByteStream $is )
$is Swift_InputByteStream