MyQEE\Server\RPC::enableReuse PHP Method

enableReuse() protected method

系统会为每个客户端创建一个对象RPC的对象, 调用完毕后销毁, 设置后只要客户端没有断开则不会销毁 可以使用 $this->release() 释放对象
protected enableReuse ( )
    protected function enableReuse()
    {
        $rpc = get_class($this);
        self::$__instance[$rpc][$this->__fd] = $this;
        return $this;
    }