MediaWiki
REL1_22
|
LockServerDaemon helper class that keeps track socket states. More...
Public Member Functions | |
addSocket ($sock) | |
appendRcvBuffer ($sock, $data) | |
appendSndBuffer ($sock, $data) | |
closeSocket ($sock) | |
consumeSndBuffer ($sock, $bytes) | |
readRcvBuffer ($sock) | |
readSndBuffer ($sock) | |
size () | |
socketsForSelect () | |
Public Attributes | |
const | BUFFER_SIZE = 65535 |
Protected Attributes | |
Array | $clients = array() |
Array | $rBuffers = array() |
Array | $wBuffers = array() |
LockServerDaemon helper class that keeps track socket states.
Definition at line 326 of file LockServerDaemon.php.
SocketArray::addSocket | ( | $ | sock | ) |
SocketArray::appendRcvBuffer | ( | $ | sock, |
$ | data | ||
) |
$sock | resource |
$data | string |
Definition at line 388 of file LockServerDaemon.php.
SocketArray::appendSndBuffer | ( | $ | sock, |
$ | data | ||
) |
$sock | resource |
$data | string |
Definition at line 418 of file LockServerDaemon.php.
SocketArray::closeSocket | ( | $ | sock | ) |
SocketArray::consumeSndBuffer | ( | $ | sock, |
$ | bytes | ||
) |
$sock | resource |
$bytes | integer |
Definition at line 446 of file LockServerDaemon.php.
SocketArray::readRcvBuffer | ( | $ | sock | ) |
SocketArray::readSndBuffer | ( | $ | sock | ) |
Definition at line 352 of file LockServerDaemon.php.
Definition at line 336 of file LockServerDaemon.php.
Array SocketArray::$clients = array() [protected] |
Definition at line 327 of file LockServerDaemon.php.
Array SocketArray::$rBuffers = array() [protected] |
Definition at line 328 of file LockServerDaemon.php.
Array SocketArray::$wBuffers = array() [protected] |
Definition at line 329 of file LockServerDaemon.php.
const SocketArray::BUFFER_SIZE = 65535 |
Definition at line 331 of file LockServerDaemon.php.