morozovsk\websocket\GenericLibevent::close PHP Method

close() protected method

protected close ( $connectionId )
    protected function close($connectionId)
    {
        @fclose($this->getConnectionById($connectionId));
        event_buffer_disable($this->buffers[$connectionId], EV_READ | EV_WRITE | EV_PERSIST);
        event_buffer_free($this->buffers[$connectionId]);
        unset($this->buffers[$connectionId]);
    }