Swift
[ class tree: Swift ] [ index: Swift ] [ all elements ]

Class: Swift_KeyCache_SimpleKeyCacheInputStream

Source Location: /vendors/swift/classes/Swift/KeyCache/SimpleKeyCacheInputStream.php

Class Overview


Writes data to a KeyCache using a stream.


Author(s):

  • Chris Corbyn

Implements interfaces:

Methods



Class Details

[line 20]
Writes data to a KeyCache using a stream.



Tags:

author:  Chris Corbyn
filesource:  Source Code for this file


[ Top ]


Class Methods


method bind [line 84]

void bind( Swift_InputByteStream $is)

Not used.



Tags:

access:  public



Implementation of:
Swift_InputByteStream::bind()
Attach $is to this stream.

Parameters:

Swift_InputByteStream   $is  

[ Top ]

method commit [line 77]

void commit( )

Not used.



Tags:

access:  public



Implementation of:
Swift_InputByteStream::commit()
For any bytes that are currently buffered inside the stream, force them off the buffer.
[ Top ]

method flushBuffers [line 99]

void flushBuffers( )

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



Tags:

access:  public



Implementation of:
Swift_InputByteStream::flushBuffers()
Flush the contents of the stream (empty it) and set the internal pointer to the beginning.
[ Top ]

method setItemKey [line 117]

void setItemKey( string $itemKey)

Set the itemKey which will be written to.



Tags:

access:  public



Implementation of:
Swift_KeyCache_KeyCacheInputStream::setItemKey()
Set the itemKey which will be written to.

Parameters:

string   $itemKey  

[ Top ]

method setKeyCache [line 40]

void setKeyCache( Swift_KeyCache $keyCache)

Set the KeyCache to wrap.



Tags:

access:  public



Implementation of:
Swift_KeyCache_KeyCacheInputStream::setKeyCache()
Set the KeyCache to wrap.

Parameters:

Swift_KeyCache   $keyCache  

[ Top ]

method setNsKey [line 108]

void setNsKey( string $nsKey)

Set the nsKey which will be written to.



Tags:

access:  public



Implementation of:
Swift_KeyCache_KeyCacheInputStream::setNsKey()
Set the nsKey which will be written to.

Parameters:

string   $nsKey  

[ Top ]

method setWriteThroughStream [line 49]

void setWriteThroughStream( Swift_InputByteStream $is)

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



Tags:

access:  public



Implementation of:
Swift_KeyCache_KeyCacheInputStream::setWriteThroughStream()
Specify a stream to write through for each write().

Parameters:

Swift_InputByteStream   $is  

[ Top ]

method unbind [line 91]

void unbind( Swift_InputByteStream $is)

Not used.



Tags:

access:  public



Implementation of:
Swift_InputByteStream::unbind()
Remove an already bound stream.

Parameters:

Swift_InputByteStream   $is  

[ Top ]

method write [line 59]

void write( string $bytes, [Swift_InputByteStream $is = null], Swift_InputByteStream $is,)

Writes $bytes to the end of the stream.



Tags:

access:  public



Implementation of:
Swift_InputByteStream::write()
Writes $bytes to the end of the stream.

Parameters:

string   $bytes  
Swift_InputByteStream   $is,   optional
Swift_InputByteStream   $is  

[ Top ]

method __clone [line 126]

void __clone( )

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



Tags:

access:  public



Implementation of:
Swift_KeyCache_KeyCacheInputStream::__clone()
Any implementation should be cloneable, allowing the clone to access a separate $nsKey and $itemKey.
[ Top ]


Documentation generated on Mon, 05 Sep 2011 20:34:20 -0500 by phpDocumentor 1.4.3