PHP Class PHPDaemon\Clients\Gibson\Connection

Inheritance: extends PHPDaemon\Network\ClientConnection
Exibir arquivo Open project: kakserpom/phpdaemon

Public Properties

Property Type Description
$encoding
$error error message
$isFinal
$readedNum
$responseCode
$responseLength
$result
$totalNum

Protected Properties

Property Type Description
$lowMark Default low mark. Minimum number of bytes in buffer
$maxQueue

Public Methods

Method Description
getReadedNum ( ) : integer
getResponseCode ( ) : integer
getTotalNum ( ) : integer
isFinal ( ) : boolean
onReady ( ) : void Called when the connection is handshaked (at low-level), and peer is ready to recv. data

Protected Methods

Method Description
executeCb ( ) : void
onRead ( ) : void onRead

Method Details

executeCb() protected method

protected executeCb ( ) : void
return void

getReadedNum() public method

public getReadedNum ( ) : integer
return integer

getResponseCode() public method

public getResponseCode ( ) : integer
return integer

getTotalNum() public method

public getTotalNum ( ) : integer
return integer

isFinal() public method

public isFinal ( ) : boolean
return boolean

onRead() protected method

onRead
protected onRead ( ) : void
return void

onReady() public method

Called when the connection is handshaked (at low-level), and peer is ready to recv. data
public onReady ( ) : void
return void

Property Details

$encoding public_oe property

public $encoding

$error public_oe property

error message
public $error

$isFinal public_oe property

public $isFinal

$lowMark protected_oe property

Default low mark. Minimum number of bytes in buffer
protected $lowMark

$maxQueue protected_oe property

protected $maxQueue

$readedNum public_oe property

public $readedNum

$responseCode public_oe property

public $responseCode

$responseLength public_oe property

public $responseLength

$result public_oe property

public $result

$totalNum public_oe property

public $totalNum