public function __construct($bufferSize = 0) { $this->messageBuffer = []; $this->messageBufferSize = 0; $this->messageBufferMax = $bufferSize; }