mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
Core/SSH: SetError internal method is renamed as ThrowError to better describe its function.
git-svn-id: svn://ultimatepp.org/upp/trunk@15504 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ce6e887992
commit
13766bd1c6
8 changed files with 81 additions and 81 deletions
|
|
@ -61,8 +61,8 @@ protected:
|
|||
bool WouldBlock(int rc) { return rc == LIBSSH2_ERROR_EAGAIN; }
|
||||
bool WouldBlock() { return ssh->session && WouldBlock(libssh2_session_last_errno(ssh->session)); }
|
||||
bool IsTimeout() const { return !IsNull(ssh->timeout) && ssh->timeout > 0 && msecs(ssh->start_time) >= ssh->timeout; }
|
||||
void SetError(int rc, const String& reason = Null);
|
||||
void ReportError(int rc, const String& reason);
|
||||
void ThrowError(int rc, const String& reason = Null);
|
||||
void SetError(int rc, const String& reason);
|
||||
void UpdateClient() { WhenWait ? WhenWait() : ssh->whenwait(); }
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue