Class Swift_Transport_StreamBuffer
A generic IoBuffer implementation supporting remote sockets and local processes.
- Swift_ByteStream_AbstractFilterableInputStream implements Swift_InputByteStream, Swift_Filterable
- Swift_Transport_StreamBuffer implements Swift_Transport_IoBuffer
Package: Swift\Transport
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php
public
|
#
__construct(
Create a new StreamBuffer using $replacementFactory for transformations. |
public
|
#
initialize( array $params )
Perform any initialization needed, using the given $params. Parameters will vary depending upon the type of IoBuffer used. |
public
|
|
public
|
|
public
|
|
public
|
#
setWriteTranslations( array $replacements )
Set an array of string replacements which should be made on data written to the buffer. This could replace LF with CRLF for example. |
public
string
|
|
public
string
|
|
public
boolean
|
|
protected
|
|
protected
|
|
private
|
|
private
|
|
private
|
addFilter(),
bind(),
commit(),
flushBuffers(),
removeFilter(),
unbind(),
write()
|
TYPE_PROCESS,
TYPE_SOCKET
|
private
|
$_stream
A primary socket |
|
private
|
$_in
The input stream |
|
private
|
$_out
The output stream |
|
private
array
|
$_params
Buffer initialization parameters |
#
array()
|
private
|
$_replacementFactory
The ReplacementFilterFactory |
|
private
array
|
$_translations
Translations performed on data being streamed into the buffer |
#
array()
|
$_sequence
|