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

示例#1
0
文件: Ssh.php 项目: sayiho/Jumper
 /**
  * @return bool
  */
 public function isConnected()
 {
     return $this->ssh->isConnected();
 }
All Usage Examples Of Net_SSH2::isConnected