PHP Class PHPDaemon\Clients\Mongo\Connection

Author: Vasily Zorin ([email protected])
Inheritance: extends PHPDaemon\Network\ClientConnection
Exibir arquivo Open project: kakserpom/phpdaemon

Public Properties

Property Type Description
$cursors Active cursors
$dbname Database name
$lastReqId ID of the last request
$requests Pending requests

Protected Properties

Property Type Description
$hdr array
$highMark Initial value of the maximum amout of bytes in buffer
$lowMark Initial value of the minimal amout of bytes in buffer
$maxQueue

Public Methods

Method Description
onFinish ( ) : void onFinish
onRead ( ) : void Called when new data received
onReady ( ) : void

Method Details

onFinish() public method

onFinish
public onFinish ( ) : void
return void

onRead() public method

Called when new data received
public onRead ( ) : void
return void

onReady() public method

public onReady ( ) : void
return void

Property Details

$cursors public_oe property

Active cursors
public $cursors

$dbname public_oe property

Database name
public $dbname

$hdr protected_oe property

protected array $hdr
return array

$highMark protected_oe property

Initial value of the maximum amout of bytes in buffer
protected $highMark

$lastReqId public_oe property

ID of the last request
public $lastReqId

$lowMark protected_oe property

Initial value of the minimal amout of bytes in buffer
protected $lowMark

$maxQueue protected_oe property

protected $maxQueue

$requests public_oe property

Pending requests
public $requests