|
|
|
|
@ -588,8 +588,19 @@ namespace WebSocketSharp.Server
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
set {
|
|
|
|
|
var msg = _state.CheckIfAvailable (true, false, false) ?? value.CheckIfValidWaitTime ();
|
|
|
|
|
if (msg != null) {
|
|
|
|
|
string msg;
|
|
|
|
|
if (!checkIfAvailable (true, false, false, true, out msg)) {
|
|
|
|
|
_logger.Error (msg);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!value.CheckWaitTime (out msg)) {
|
|
|
|
|
_logger.Error (msg);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
lock (_sync) {
|
|
|
|
|
if (!checkIfAvailable (true, false, false, true, out msg)) {
|
|
|
|
|
_logger.Error (msg);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
@ -597,6 +608,7 @@ namespace WebSocketSharp.Server
|
|
|
|
|
_services.WaitTime = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the access to the WebSocket services provided by the server.
|
|
|
|
|
|