XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
initialize (array $params) | |
readLine ($sequence) | |
setParam ($param, $value) | |
setWriteTranslations (array $replacements) | |
terminate () | |
Public Member Functions inherited from Swift_InputByteStream | |
bind (Swift_InputByteStream $is) | |
commit () | |
flushBuffers () | |
unbind (Swift_InputByteStream $is) | |
write ($bytes) | |
Public Member Functions inherited from Swift_OutputByteStream | |
read ($length) | |
setReadPointer ($byteOffset) | |
Public Attributes | |
const | TYPE_PROCESS = 0x0010 |
const | TYPE_SOCKET = 0x0001 |
Definition at line 20 of file IoBuffer.php.
Swift_Transport_IoBuffer::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.
Swift_Transport_IoBuffer::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.
Swift_Transport_IoBuffer::setParam | ( | $param, | |
$value | |||
) |
Set an individual param on the buffer (e.g. switching to SSL).
string | $param | |
mixed | $value |
Implemented in Swift_Transport_StreamBuffer.
Swift_Transport_IoBuffer::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.
Swift_Transport_IoBuffer::terminate | ( | ) |
Perform any shutdown logic needed.
Implemented in Swift_Transport_StreamBuffer.
const Swift_Transport_IoBuffer::TYPE_PROCESS = 0x0010 |
A process buffer with I/O support
Definition at line 28 of file IoBuffer.php.
const Swift_Transport_IoBuffer::TYPE_SOCKET = 0x0001 |
A socket buffer over TCP
Definition at line 25 of file IoBuffer.php.