\Worker\BuiltBuffer

Buffer Worker is a process-level service that will actively push and clean up all data blocked in the buffer when it is idle.

It allows workers of all network types in this process to interact with data without having to worry too much about issues such as sending bytes/residuals/recycling etc. When passively forking, all buffer queues should be actively discarded to ensure the smooth operation of this process service.

Summary

Methods
Properties
Constants
heartbeat()
initialize()
handleEvent()
forkPassive()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$buffers
N/A

Properties

$buffers

$buffers : \Worker\Tunnel\SocketTunnel[]

缓冲区套接字列表

Type

SocketTunnel[]

Methods

heartbeat()

heartbeat() : void

心跳

initialize()

initialize() : void

初始化

handleEvent()

handleEvent(\Worker\Prop\Build  $event) : void

处理事件

Parameters

\Worker\Prop\Build $event

forkPassive()

forkPassive() : void

被动fork