PHP 클래스 Swift_KeyCache_SimpleKeyCacheInputStream, Halite

저자: Chris Corbyn
상속: implements Swift_KeyCache_KeyCacheInputStream
파일 보기 프로젝트 열기: HaliteChallenge/Halite 1 사용 예제들

공개 메소드들

메소드 설명
__clone ( ) Any implementation should be cloneable, allowing the clone to access a separate $nsKey and $itemKey.
bind ( Swift_InputByteStream $is ) Not used.
commit ( ) Not used.
flushBuffers ( ) Flush the contents of the stream (empty it) and set the internal pointer to the beginning.
setItemKey ( string $itemKey ) Set the itemKey which will be written to.
setKeyCache ( Swift_KeyCache $keyCache ) Set the KeyCache to wrap.
setNsKey ( string $nsKey ) Set the nsKey which will be written to.
setWriteThroughStream ( Swift_InputByteStream $is ) Specify a stream to write through for each write().
unbind ( Swift_InputByteStream $is ) Not used.
write ( string $bytes, Swift_InputByteStream $is = null ) Writes $bytes to the end of the stream.

메소드 상세

__clone() 공개 메소드

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

bind() 공개 메소드

Not used.
public bind ( Swift_InputByteStream $is )
$is Swift_InputByteStream

commit() 공개 메소드

Not used.
public commit ( )

flushBuffers() 공개 메소드

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

setItemKey() 공개 메소드

Set the itemKey which will be written to.
public setItemKey ( string $itemKey )
$itemKey string

setKeyCache() 공개 메소드

Set the KeyCache to wrap.
public setKeyCache ( Swift_KeyCache $keyCache )
$keyCache Swift_KeyCache

setNsKey() 공개 메소드

Set the nsKey which will be written to.
public setNsKey ( string $nsKey )
$nsKey string

setWriteThroughStream() 공개 메소드

Specify a stream to write through for each write().
public setWriteThroughStream ( Swift_InputByteStream $is )
$is Swift_InputByteStream

unbind() 공개 메소드

Not used.
public unbind ( Swift_InputByteStream $is )
$is Swift_InputByteStream

write() 공개 메소드

Writes $bytes to the end of the stream.
public write ( string $bytes, Swift_InputByteStream $is = null )
$bytes string
$is Swift_InputByteStream optional