Lines Matching refs:read

34  *    echo $ssh->read('username@username:~$');
36 * echo $ssh->read('username@username:~$');
162 * @see \phpseclib3\Net\SSH2::read()
168 * @see \phpseclib3\Net\SSH2::read()
175 * to call read() multiple times when using this option
177 * @see \phpseclib3\Net\SSH2::read()
508 * We need to know how big the HMAC will be for the server to client direction so that we know how many bytes to read.
750 * @see self::read()
884 * Did read() timeout or return normally?
1305 private static function stream_select(&$read, &$write, &$except, $seconds, $microseconds = null)
1310 $result = @stream_select($read, $write, $except, $seconds, $microseconds);
1382 $read = [$this->fsock];
1387 if (static::stream_select($read, $write, $except, $sec, $usec) === false) {
2984 * @see self::read()
3046 * Return the channel to be used with read(), write(), and reset(), if none were specified
3050 * @see self::read()
3148 public function read($expect = '', $mode = self::READ_SIMPLE, $channel = null)
3202 * @see SSH2::read()
3287 * If read() timed out you might want to just close the channel and have it auto-restart on the next read() call
3311 * Did exec() or read() return because they timed out or because they encountered the end?
3510 $read = [$this->fsock];
3515 static::stream_select($read, $write, $except, null);
3517 if (!static::stream_select($read, $write, $except, $this->keepAlive)) {
3531 if (!static::stream_select($read, $write, $except, $this->keepAlive)) {
3545 if (!static::stream_select($read, $write, $except, $sec, $usec)) {