Horde\Socket\Client::_checkStream PHP Method

_checkStream() protected method

Throws an exception is the stream is not a resource.
protected _checkStream ( )
    protected function _checkStream()
    {
        if (!is_resource($this->_stream)) {
            throw new Client\Exception('Not connected');
        }
    }