![]() |
TYPO3
7.6
|
Public Member Functions | |
| initialize (array $params) | |
| setParam ($param, $value) | |
| terminate () | |
| setWriteTranslations (array $replacements) | |
| readLine ($sequence) | |
Public Member Functions inherited from Swift_InputByteStream | |
| write ($bytes) | |
| commit () | |
| bind (Swift_InputByteStream $is) | |
| unbind (Swift_InputByteStream $is) | |
| flushBuffers () | |
Public Member Functions inherited from Swift_OutputByteStream | |
| read ($length) | |
| setReadPointer ($byteOffset) | |
Public Attributes | |
| const | TYPE_SOCKET = 0x0001 |
| const | TYPE_PROCESS = 0x0010 |
Buffers input and output to a resource.
Definition at line 16 of file IoBuffer.php.
| initialize | ( | array | $params | ) |
Perform any initialization needed, using the given $params.
Parameters will vary depending upon the type of IoBuffer used.
| array | $params |
Implemented in Swift_Transport_StreamBuffer.
| readLine | ( | $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.
| int | $sequence | of last write to scan from |
Implemented in Swift_Transport_StreamBuffer.
| setParam | ( | $param, | |
| $value | |||
| ) |
Set an individual param on the buffer (e.g. switching to SSL).
| string | $param | |
| mixed | $value |
Implemented in Swift_Transport_StreamBuffer.
| 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.
| string[] | $replacements |
Implemented in Swift_Transport_StreamBuffer.
| terminate | ( | ) |
Perform any shutdown logic needed.
Implemented in Swift_Transport_StreamBuffer.
| const TYPE_PROCESS = 0x0010 |
A process buffer with I/O support
Definition at line 22 of file IoBuffer.php.
| const TYPE_SOCKET = 0x0001 |
A socket buffer over TCP
Definition at line 19 of file IoBuffer.php.
1.8.3