MediaWiki
REL1_19
|
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 | |
$clients = array() | |
$rBuffers = array() | |
$wBuffers = array() |
LockServerDaemon helper class that keeps track socket states.
Definition at line 307 of file LockServerDaemon.php.
SocketArray::addSocket | ( | $ | sock | ) |
SocketArray::appendRcvBuffer | ( | $ | sock, |
$ | data | ||
) |
$sock | resource |
$data | string |
Definition at line 372 of file LockServerDaemon.php.
SocketArray::appendSndBuffer | ( | $ | sock, |
$ | data | ||
) |
$sock | resource |
$data | string |
Definition at line 402 of file LockServerDaemon.php.
SocketArray::closeSocket | ( | $ | sock | ) |
SocketArray::consumeSndBuffer | ( | $ | sock, |
$ | bytes | ||
) |
$sock | resource |
$bytes | integer |
Definition at line 430 of file LockServerDaemon.php.
SocketArray::readRcvBuffer | ( | $ | sock | ) |
SocketArray::readSndBuffer | ( | $ | sock | ) |
Definition at line 336 of file LockServerDaemon.php.
Definition at line 320 of file LockServerDaemon.php.
SocketArray::$clients = array() [protected] |
Definition at line 309 of file LockServerDaemon.php.
SocketArray::$rBuffers = array() [protected] |
Definition at line 311 of file LockServerDaemon.php.
SocketArray::$wBuffers = array() [protected] |
Definition at line 313 of file LockServerDaemon.php.
const SocketArray::BUFFER_SIZE = 65535 |
Definition at line 315 of file LockServerDaemon.php.