Net_SSH2::isConnected PHP Method

isConnected() public method

Is the connection still active?
public isConnected ( ) : boolean
return boolean
    function isConnected()
    {
        return (bool) ($this->bitmap & NET_SSH2_MASK_CONNECTED);
    }

Usage Example

Example #1
0
 /**
  * @return bool
  */
 public function isConnected()
 {
     return $this->ssh->isConnected();
 }
All Usage Examples Of Net_SSH2::isConnected