Renamed Sweeped property to Sweeping

This commit is contained in:
sta
2013-06-11 16:26:03 +09:00
parent 7499b6de74
commit 2f1673558f
40 changed files with 154 additions and 280 deletions

View File

@@ -161,19 +161,20 @@ namespace WebSocketSharp.Server {
}
/// <summary>
/// Gets or sets a value indicating whether the server cleans up the inactive clients periodically.
/// Gets or sets a value indicating whether the server cleans up the inactive WebSocket service
/// instances periodically.
/// </summary>
/// <value>
/// <c>true</c> if the server cleans up the inactive clients every 60 seconds; otherwise, <c>false</c>.
/// The default value is <c>true</c>.
/// <c>true</c> if the server cleans up the inactive WebSocket service instances every 60 seconds;
/// otherwise, <c>false</c>. The default value is <c>true</c>.
/// </value>
public bool Sweeped {
public bool Sweeping {
get {
return _svcHosts.Sweeped;
return _svcHosts.Sweeping;
}
set {
_svcHosts.Sweeped = value;
_svcHosts.Sweeping = value;
}
}
@@ -241,8 +242,8 @@ namespace WebSocketSharp.Server {
svcHost.Uri = BaseUri.IsAbsoluteUri
? new Uri(BaseUri, absPath)
: absPath.ToUri();
if (!Sweeped)
svcHost.Sweeped = Sweeped;
if (!Sweeping)
svcHost.Sweeping = false;
_svcHosts.Add(absPath, svcHost);
}