Interface Swift_Transport_IoBuffer
Buffers input and output to a resource.
- Swift_Transport_IoBuffer implements Swift_InputByteStream, Swift_OutputByteStream
Direct known implementers
Package: Swift\Transport
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Transport/IoBuffer.php
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Transport/IoBuffer.php
Methods summary
public
|
#
initialize( array $params )
Perform any initialization needed, using the given $params. Parameters will vary depending upon the type of IoBuffer used. |
public
|
#
setParam( string $param, mixed $value )
Set an individual param on the buffer (e.g. switching to SSL). |
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
|
#
readLine( integer $sequence )
Get a line of output (including any CRLF). The $sequence number comes from any writes and may or may not be used depending upon the implementation. |
Methods inherited from Swift_InputByteStream
bind()
,
commit()
,
flushBuffers()
,
unbind()
,
write()
Methods inherited from Swift_OutputByteStream
Magic methods summary
Constants summary
integer |
TYPE_SOCKET |
0x0001 |
#
A socket buffer over TCP |
integer |
TYPE_PROCESS |
0x0010 |
#
A process buffer with I/O support |