Свойство | Тип | Описание | |
---|---|---|---|
$response | Response |
Свойство | Тип | Описание | |
---|---|---|---|
$highMark | Default high mark. Maximum number of bytes in buffer. | ||
$lowMark | Default low mark. Minimum number of bytes in buffer. | ||
$pctSize | Current packet size | ||
$rcodeMessages | |||
$seq | Sequence |
Метод | Описание | |
---|---|---|
get ( string $hostname, callable $cb ) : void | Gets the host information | |
onFinish ( ) : void | Called when connection finishes | |
onRead ( ) : void | Called when new data received | |
onUdpPacket ( string $pct ) : void | Called when new UDP packet received. |
Метод | Описание | |
---|---|---|
getMessageByRcode ( integer $rcode ) : string |
protected getMessageByRcode ( integer $rcode ) : string | ||
$rcode | integer | |
Результат | string |
public onUdpPacket ( string $pct ) : void | ||
$pct | string | |
Результат | void |
protected $highMark |
protected $lowMark |