Class Swift_KeyCache_SimpleKeyCacheInputStream

InheritanceSwift_KeyCache_SimpleKeyCacheInputStream
ImplementsSwift_KeyCache_KeyCacheInputStream

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_SimpleKeyCacheInputStream
bind() Not used. Swift_KeyCache_SimpleKeyCacheInputStream
commit() Not used. Swift_KeyCache_SimpleKeyCacheInputStream
flushBuffers() Flush the contents of the stream (empty it) and set the internal pointer to the beginning. Swift_KeyCache_SimpleKeyCacheInputStream
setItemKey() Set the itemKey which will be written to. Swift_KeyCache_SimpleKeyCacheInputStream
setKeyCache() Set the KeyCache to wrap. Swift_KeyCache_SimpleKeyCacheInputStream
setNsKey() Set the nsKey which will be written to. Swift_KeyCache_SimpleKeyCacheInputStream
setWriteThroughStream() Specify a stream to write through for each write(). Swift_KeyCache_SimpleKeyCacheInputStream
unbind() Not used. Swift_KeyCache_SimpleKeyCacheInputStream
write() Writes $bytes to the end of the stream. Swift_KeyCache_SimpleKeyCacheInputStream

Method Details

__clone() public method

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

public void __clone ( )
bind() public method

Not used.

public void bind ( Swift_InputByteStream $is )
$is
commit() public method

Not used.

public void commit ( )
flushBuffers() public method

Flush the contents of the stream (empty it) and set the internal pointer to the beginning.

public void flushBuffers ( )
setItemKey() public method

Set the itemKey which will be written to.

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

Set the KeyCache to wrap.

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

Set the nsKey which will be written to.

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

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

public void setWriteThroughStream ( Swift_InputByteStream $is )
$is Swift_InputByteStream
unbind() public method

Not used.

public void unbind ( Swift_InputByteStream $is )
$is
write() public method

Writes $bytes to the end of the stream.

public void write ( $bytes, Swift_InputByteStream $is null )
$bytes string
$is Swift_InputByteStream

Optional