fixed problem with opening client and server. in some cases it

would fail to open in such a way that it could never succeed
but it'd never stop retrying.  now terminating when open fails
such that it'll never succeed.
This commit is contained in:
crs
2002-07-31 12:39:34 +00:00
parent f5795a6630
commit 5e40de48f9
18 changed files with 141 additions and 59 deletions

View File

@@ -9,3 +9,31 @@ XScreenOpenFailure::getWhat() const throw()
{
return format("XScreenOpenFailure", "unable to open screen");
}
//
// XScreenUnavailable
//
XScreenUnavailable::XScreenUnavailable(double timeUntilRetry) :
m_timeUntilRetry(timeUntilRetry)
{
// do nothing
}
XScreenUnavailable::~XScreenUnavailable()
{
// do nothing
}
double
XScreenUnavailable::getRetryTime() const
{
return m_timeUntilRetry;
}
CString
XScreenUnavailable::getWhat() const throw()
{
return format("XScreenUnavailable", "unable to open screen");
}