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

Binary file not shown.

View File

@ -20,7 +20,7 @@ namespace Example2
//var wssv = new WebSocketServiceHost<Chat>(4649);
//var wssv = new WebSocketServiceHost<Chat>(4649, "/Chat");
//var wssv = new WebSocketServiceHost<Chat>(4649, "/チャット");
//wssv.Sweeped = false; // Stop the Sweep inactive session Timer.
//wssv.Sweeping = false; // Stop the sweep inactive session timer.
wssv.Start();
Console.WriteLine(
@ -31,7 +31,7 @@ namespace Example2
// Multi services server
var wssv = new WebSocketServer(4649);
//var wssv = new WebSocketServer("ws://localhost:4649");
//wssv.Sweeped = false; // Stop the Sweep inactive session Timer.
//wssv.Sweeping = false; // Stop the sweep inactive session timer.
wssv.AddWebSocketService<Echo>("/Echo");
wssv.AddWebSocketService<Chat>("/Chat");
//wssv.AddWebSocketService<Echo>("/エコー");

View File

@ -12,7 +12,7 @@ namespace Example3
public static void Main(string[] args)
{
_httpsv = new HttpServer(4649);
//_httpsv.Sweeped = false;
//_httpsv.Sweeping = false;
_httpsv.AddWebSocketService<Echo>("/Echo");
_httpsv.AddWebSocketService<Chat>("/Chat");

View File

@ -121,19 +121,20 @@ namespace WebSocketSharp.Server {
}
/// <summary>
/// Gets or sets a value indicating whether the server cleans up the inactive WebSocket service instances 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 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;
}
}
@ -391,8 +392,8 @@ namespace WebSocketSharp.Server {
var svcHost = new WebSocketServiceHost<T>();
svcHost.Uri = absPath.ToUri();
if (!Sweeped)
svcHost.Sweeped = Sweeped;
if (!Sweeping)
svcHost.Sweeping = false;
_svcHosts.Add(absPath, svcHost);
}

View File

@ -32,19 +32,21 @@ using WebSocketSharp.Net.WebSockets;
namespace WebSocketSharp.Server {
/// <summary>
/// Exposes the methods and property for the host that provides a <see cref="WebSocketService"/>.
/// Exposes the methods and properties for the WebSocket service host.
/// </summary>
/// <remarks>
/// </remarks>
public interface IServiceHost {
/// <summary>
/// Gets or sets a value indicating whether the WebSocket service host cleans up the inactive service clients periodically.
/// Gets or sets a value indicating whether the WebSocket service host cleans up the inactive service
/// instances periodically.
/// </summary>
/// <value>
/// <c>true</c> if the WebSocket service host cleans up the inactive service clients periodically; otherwise, <c>false</c>.
/// <c>true</c> if the WebSocket service host cleans up the inactive service instances periodically;
/// otherwise, <c>false</c>.
/// </value>
bool Sweeped { get; set; }
bool Sweeping { get; set; }
/// <summary>
/// Binds the specified <see cref="WebSocketContext"/> to a <see cref="WebSocketService"/> instance.

View File

@ -36,7 +36,7 @@ namespace WebSocketSharp.Server {
#region Private Fields
private Dictionary<string, IServiceHost> _svcHosts;
private bool _sweeped;
private bool _sweeping;
#endregion
@ -45,7 +45,7 @@ namespace WebSocketSharp.Server {
public ServiceHostManager()
{
_svcHosts = new Dictionary<string, IServiceHost>();
_sweeped = true;
_sweeping = true;
}
#endregion
@ -70,17 +70,17 @@ namespace WebSocketSharp.Server {
}
}
public bool Sweeped {
public bool Sweeping {
get {
return _sweeped;
return _sweeping;
}
set {
if (_sweeped ^ value)
if (_sweeping ^ value)
{
_sweeped = value;
_sweeping = value;
foreach (var svcHost in _svcHosts.Values)
svcHost.Sweeped = value;
svcHost.Sweeping = value;
}
}
}

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);
}

View File

@ -183,19 +183,20 @@ namespace WebSocketSharp.Server {
#region Public Properties
/// <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 _sessions.Sweeped;
return _sessions.Sweeping;
}
set {
_sessions.Sweeped = value;
_sessions.Sweeping = value;
}
}
@ -237,7 +238,7 @@ namespace WebSocketSharp.Server {
protected override void AcceptWebSocket(TcpListenerWebSocketContext context)
{
var websocket = context.WebSocket;
var path = context.Path.UrlDecode();
var path = context.Path.UrlDecode();
if (path != Uri.GetAbsolutePath().UrlDecode())
{
websocket.Close(HttpStatusCode.NotImplemented);

View File

@ -138,7 +138,7 @@ namespace WebSocketSharp.Server {
/// <c>true</c> if the <see cref="WebSocketServiceManager"/> cleans up the inactive <see cref="WebSocketService"/> objects
/// every 60 seconds; otherwise, <c>false</c>.
/// </value>
public bool Sweeped {
public bool Sweeping {
get {
return _sweepTimer.Enabled;
}
@ -230,7 +230,7 @@ namespace WebSocketSharp.Server {
private void startSweepTimer()
{
if (!Sweeped)
if (!_sweepTimer.Enabled)
_sweepTimer.Start();
}
@ -253,7 +253,7 @@ namespace WebSocketSharp.Server {
private void stopSweepTimer()
{
if (Sweeped)
if (_sweepTimer.Enabled)
_sweepTimer.Stop();
}

View File

@ -1223,13 +1223,14 @@
An IEnumerable&lt;string&gt; that contains the collection of paths.
</value>
</member>
<member name="P:WebSocketSharp.Server.WebSocketServer.Sweeped">
<member name="P:WebSocketSharp.Server.WebSocketServer.Sweeping">
<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>
</member>
<member name="M:WebSocketSharp.Server.WebSocketServer.AcceptWebSocket(WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext)">
@ -3777,9 +3778,10 @@
An IEnumerable&lt;string&gt; that contains the collection of paths.
</value>
</member>
<member name="P:WebSocketSharp.Server.HttpServer.Sweeped">
<member name="P:WebSocketSharp.Server.HttpServer.Sweeping">
<summary>
Gets or sets a value indicating whether the server cleans up the inactive WebSocket service instances 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 WebSocket service instances every 60 seconds;
@ -4298,17 +4300,19 @@
</member>
<member name="T:WebSocketSharp.Server.IServiceHost">
<summary>
Exposes the methods and property for the host that provides a <see cref="T:WebSocketSharp.Server.WebSocketService" />.
Exposes the methods and properties for the WebSocket service host.
</summary>
<remarks>
</remarks>
</member>
<member name="P:WebSocketSharp.Server.IServiceHost.Sweeped">
<member name="P:WebSocketSharp.Server.IServiceHost.Sweeping">
<summary>
Gets or sets a value indicating whether the WebSocket service host cleans up the inactive service clients periodically.
Gets or sets a value indicating whether the WebSocket service host cleans up the inactive service
instances periodically.
</summary>
<value>
<c>true</c> if the WebSocket service host cleans up the inactive service clients periodically; otherwise, <c>false</c>.
<c>true</c> if the WebSocket service host cleans up the inactive service instances periodically;
otherwise, <c>false</c>.
</value>
</member>
<member name="M:WebSocketSharp.Server.IServiceHost.BindWebSocket(WebSocketSharp.Net.WebSockets.WebSocketContext)">
@ -4438,13 +4442,14 @@
A <see cref="T:System.Boolean" /> that indicates providing a secure connection or not. (<c>true</c> indicates providing a secure connection.)
</param>
</member>
<member name="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeped">
<member name="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeping">
<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>
</member>
<member name="P:WebSocketSharp.Server.WebSocketServiceHost`1.Uri">
@ -5119,7 +5124,7 @@
An IEnumerable&lt;string&gt; that contains the collection of IDs of <see cref="T:WebSocketSharp.Server.WebSocketService" /> objects.
</value>
</member>
<member name="P:WebSocketSharp.Server.WebSocketServiceManager.Sweeped">
<member name="P:WebSocketSharp.Server.WebSocketServiceManager.Sweeping">
<summary>
Gets a value indicating whether the <see cref="T:WebSocketSharp.Server.WebSocketServiceManager" /> cleans up
the inactive <see cref="T:WebSocketSharp.Server.WebSocketService" /> objects periodically.

View File

@ -333,14 +333,15 @@
</td>
<td>
<b>
<a href="#P:WebSocketSharp.Server.HttpServer.Sweeped">Sweeped</a>
<a href="#P:WebSocketSharp.Server.HttpServer.Sweeping">Sweeping</a>
</b>
</td>
<td>
<i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
</i>.
Gets or sets a value indicating whether the server cleans up the inactive WebSocket service instances periodically.
Gets or sets a value indicating whether the server cleans up the inactive WebSocket service
instances periodically.
</td>
</tr>
</table>
@ -548,36 +549,6 @@
</table>
</div>
</div>
<h2 class="Section">Extension Methods</h2>
<div class="SectionBox" id="Extension Methods">
<div class="SubsectionBox">
<table class="TypeMembers">
<tr valign="top">
<td>
<div>static </div>
</td>
<td colspan="2">
<b>
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNull``1(``0)">IsNull&lt;T&gt;</a>
</b>(<i>this</i> <i title="&#xA; The type of the parameter.&#xA; ">T</i>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
Determines whether the specified object is <tt>null</tt>.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>static </div>
</td>
<td colspan="2">
<b>
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNullDo``1(``0,System.Action)">IsNullDo&lt;T&gt;</a>
</b>(<i>this</i> <i title="&#xA; The type of the parameter.&#xA; ">T</i>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
Determines whether the specified object is <tt>null</tt>.
And invokes the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a> delegate if the specified object is <tt>null</tt>.
</blockquote></td>
</tr>
</table>
</div>
</div>
</div>
</div>
<div class="Members" id="T:WebSocketSharp.Server.HttpServer:Members">
@ -929,24 +900,25 @@
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="P:WebSocketSharp.Server.HttpServer.Sweeped">Sweeped Property</h3>
<blockquote id="P:WebSocketSharp.Server.HttpServer.Sweeped:member">
<h3 id="P:WebSocketSharp.Server.HttpServer.Sweeping">Sweeping Property</h3>
<blockquote id="P:WebSocketSharp.Server.HttpServer.Sweeping:member">
<p class="Summary">
Gets or sets a value indicating whether the server cleans up the inactive WebSocket service instances periodically.
Gets or sets a value indicating whether the server cleans up the inactive WebSocket service
instances periodically.
</p>
<h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Sweeped</b> { get; set; }</div>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Sweeping</b> { get; set; }</div>
<h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.HttpServer.Sweeped:Value">
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.HttpServer.Sweeping:Value">
<tt>true</tt> if the server cleans up the inactive WebSocket service instances every 60 seconds;
otherwise, <tt>false</tt>. The default value is <tt>true</tt>.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Server.HttpServer.Sweeped:Remarks">
<div class="SectionBox" id="P:WebSocketSharp.Server.HttpServer.Sweeping:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
</div>
<h2 class="Section">Requirements</h2>
<div class="SectionBox" id="P:WebSocketSharp.Server.HttpServer.Sweeped:Version Information">
<div class="SectionBox" id="P:WebSocketSharp.Server.HttpServer.Sweeping:Version Information">
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>

View File

@ -207,7 +207,7 @@
</div>
<h1 class="PageTitle" id="T:WebSocketSharp.Server.IServiceHost">IServiceHost Interface</h1>
<p class="Summary" id="T:WebSocketSharp.Server.IServiceHost:Summary">
Exposes the methods and property for the host that provides a <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a>.
Exposes the methods and properties for the WebSocket service host.
</p>
<div id="T:WebSocketSharp.Server.IServiceHost:Signature">
<h2>Syntax</h2>
@ -233,14 +233,15 @@
</td>
<td>
<b>
<a href="#P:WebSocketSharp.Server.IServiceHost.Sweeped">Sweeped</a>
<a href="#P:WebSocketSharp.Server.IServiceHost.Sweeping">Sweeping</a>
</b>
</td>
<td>
<i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
</i>.
Gets or sets a value indicating whether the WebSocket service host cleans up the inactive service clients periodically.
Gets or sets a value indicating whether the WebSocket service host cleans up the inactive service
instances periodically.
</td>
</tr>
</table>
@ -301,36 +302,6 @@
</table>
</div>
</div>
<h2 class="Section">Extension Methods</h2>
<div class="SectionBox" id="Extension Methods">
<div class="SubsectionBox">
<table class="TypeMembers">
<tr valign="top">
<td>
<div>static </div>
</td>
<td colspan="2">
<b>
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNull``1(``0)">IsNull&lt;T&gt;</a>
</b>(<i>this</i> <i title="&#xA; The type of the parameter.&#xA; ">T</i>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
Determines whether the specified object is <tt>null</tt>.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>static </div>
</td>
<td colspan="2">
<b>
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNullDo``1(``0,System.Action)">IsNullDo&lt;T&gt;</a>
</b>(<i>this</i> <i title="&#xA; The type of the parameter.&#xA; ">T</i>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
Determines whether the specified object is <tt>null</tt>.
And invokes the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a> delegate if the specified object is <tt>null</tt>.
</blockquote></td>
</tr>
</table>
</div>
</div>
</div>
</div>
<div class="Members" id="T:WebSocketSharp.Server.IServiceHost:Members">
@ -422,23 +393,25 @@
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="P:WebSocketSharp.Server.IServiceHost.Sweeped">Sweeped Property</h3>
<blockquote id="P:WebSocketSharp.Server.IServiceHost.Sweeped:member">
<h3 id="P:WebSocketSharp.Server.IServiceHost.Sweeping">Sweeping Property</h3>
<blockquote id="P:WebSocketSharp.Server.IServiceHost.Sweeping:member">
<p class="Summary">
Gets or sets a value indicating whether the WebSocket service host cleans up the inactive service clients periodically.
Gets or sets a value indicating whether the WebSocket service host cleans up the inactive service
instances periodically.
</p>
<h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Sweeped</b> { get; set; }</div>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Sweeping</b> { get; set; }</div>
<h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.IServiceHost.Sweeped:Value">
<tt>true</tt> if the WebSocket service host cleans up the inactive service clients periodically; otherwise, <tt>false</tt>.
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.IServiceHost.Sweeping:Value">
<tt>true</tt> if the WebSocket service host cleans up the inactive service instances periodically;
otherwise, <tt>false</tt>.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Server.IServiceHost.Sweeped:Remarks">
<div class="SectionBox" id="P:WebSocketSharp.Server.IServiceHost.Sweeping:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
</div>
<h2 class="Section">Requirements</h2>
<div class="SectionBox" id="P:WebSocketSharp.Server.IServiceHost.Sweeped:Version Information">
<div class="SectionBox" id="P:WebSocketSharp.Server.IServiceHost.Sweeping:Version Information">
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>

View File

@ -410,14 +410,15 @@
</td>
<td>
<b>
<a href="#P:WebSocketSharp.Server.WebSocketServer.Sweeped">Sweeped</a>
<a href="#P:WebSocketSharp.Server.WebSocketServer.Sweeping">Sweeping</a>
</b>
</td>
<td>
<i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
</i>.
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.
</td>
</tr>
</table>
@ -575,36 +576,6 @@
</table>
</div>
</div>
<h2 class="Section">Extension Methods</h2>
<div class="SectionBox" id="Extension Methods">
<div class="SubsectionBox">
<table class="TypeMembers">
<tr valign="top">
<td>
<div>static </div>
</td>
<td colspan="2">
<b>
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNull``1(``0)">IsNull&lt;T&gt;</a>
</b>(<i>this</i> <i title="&#xA; The type of the parameter.&#xA; ">T</i>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
Determines whether the specified object is <tt>null</tt>.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>static </div>
</td>
<td colspan="2">
<b>
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNullDo``1(``0,System.Action)">IsNullDo&lt;T&gt;</a>
</b>(<i>this</i> <i title="&#xA; The type of the parameter.&#xA; ">T</i>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
Determines whether the specified object is <tt>null</tt>.
And invokes the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a> delegate if the specified object is <tt>null</tt>.
</blockquote></td>
</tr>
</table>
</div>
</div>
</div>
</div>
<div class="Members" id="T:WebSocketSharp.Server.WebSocketServer:Members">
@ -918,24 +889,25 @@
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="P:WebSocketSharp.Server.WebSocketServer.Sweeped">Sweeped Property</h3>
<blockquote id="P:WebSocketSharp.Server.WebSocketServer.Sweeped:member">
<h3 id="P:WebSocketSharp.Server.WebSocketServer.Sweeping">Sweeping Property</h3>
<blockquote id="P:WebSocketSharp.Server.WebSocketServer.Sweeping:member">
<p class="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.
</p>
<h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Sweeped</b> { get; set; }</div>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Sweeping</b> { get; set; }</div>
<h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.WebSocketServer.Sweeped:Value">
<tt>true</tt> if the server cleans up the inactive clients every 60 seconds; otherwise, <tt>false</tt>.
The default value is <tt>true</tt>.
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.WebSocketServer.Sweeping:Value">
<tt>true</tt> if the server cleans up the inactive WebSocket service instances every 60 seconds;
otherwise, <tt>false</tt>. The default value is <tt>true</tt>.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServer.Sweeped:Remarks">
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServer.Sweeping:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
</div>
<h2 class="Section">Requirements</h2>
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServer.Sweeped:Version Information">
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServer.Sweeping:Version Information">
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>

View File

@ -424,14 +424,15 @@
</td>
<td>
<b>
<a href="#P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeped">Sweeped</a>
<a href="#P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeping">Sweeping</a>
</b>
</td>
<td>
<i>
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
</i>.
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.
</td>
</tr>
<tr valign="top">
@ -624,36 +625,6 @@
</table>
</div>
</div>
<h2 class="Section">Extension Methods</h2>
<div class="SectionBox" id="Extension Methods">
<div class="SubsectionBox">
<table class="TypeMembers">
<tr valign="top">
<td>
<div>static </div>
</td>
<td colspan="2">
<b>
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNull``1(``0)">IsNull&lt;T&gt;</a>
</b>(<i>this</i> <a href="javascript:alert(&quot;Documentation not found.&quot;)">T</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
Determines whether the specified object is <tt>null</tt>.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>static </div>
</td>
<td colspan="2">
<b>
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNullDo``1(``0,System.Action)">IsNullDo&lt;T&gt;</a>
</b>(<i>this</i> <a href="javascript:alert(&quot;Documentation not found.&quot;)">T</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
Determines whether the specified object is <tt>null</tt>.
And invokes the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a> delegate if the specified object is <tt>null</tt>.
</blockquote></td>
</tr>
</table>
</div>
</div>
</div>
</div>
<div class="Members" id="T:WebSocketSharp.Server.WebSocketServiceHost`1:Members">
@ -1011,24 +982,25 @@
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeped">Sweeped Property</h3>
<blockquote id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeped:member">
<h3 id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeping">Sweeping Property</h3>
<blockquote id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeping:member">
<p class="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.
</p>
<h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Sweeped</b> { get; set; }</div>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Sweeping</b> { get; set; }</div>
<h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeped:Value">
<tt>true</tt> if the server cleans up the inactive clients every 60 seconds; otherwise, <tt>false</tt>.
The default value is <tt>true</tt>.
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeping:Value">
<tt>true</tt> if the server cleans up the inactive WebSocket service instances every 60 seconds;
otherwise, <tt>false</tt>. The default value is <tt>true</tt>.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeped:Remarks">
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeping:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
</div>
<h2 class="Section">Requirements</h2>
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeped:Version Information">
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeping:Version Information">
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>

View File

@ -295,7 +295,7 @@
<td>[read-only]<div></div></td>
<td>
<b>
<a href="#P:WebSocketSharp.Server.WebSocketServiceManager.Sweeped">Sweeped</a>
<a href="#P:WebSocketSharp.Server.WebSocketServiceManager.Sweeping">Sweeping</a>
</b>
</td>
<td>
@ -379,36 +379,6 @@
</table>
</div>
</div>
<h2 class="Section">Extension Methods</h2>
<div class="SectionBox" id="Extension Methods">
<div class="SubsectionBox">
<table class="TypeMembers">
<tr valign="top">
<td>
<div>static </div>
</td>
<td colspan="2">
<b>
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNull``1(``0)">IsNull&lt;T&gt;</a>
</b>(<i>this</i> <i title="&#xA; The type of the parameter.&#xA; ">T</i>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
Determines whether the specified object is <tt>null</tt>.
</blockquote></td>
</tr>
<tr valign="top">
<td>
<div>static </div>
</td>
<td colspan="2">
<b>
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNullDo``1(``0,System.Action)">IsNullDo&lt;T&gt;</a>
</b>(<i>this</i> <i title="&#xA; The type of the parameter.&#xA; ">T</i>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
Determines whether the specified object is <tt>null</tt>.
And invokes the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a> delegate if the specified object is <tt>null</tt>.
</blockquote></td>
</tr>
</table>
</div>
</div>
</div>
</div>
<div class="Members" id="T:WebSocketSharp.Server.WebSocketServiceManager:Members">
@ -604,25 +574,25 @@
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>
<h3 id="P:WebSocketSharp.Server.WebSocketServiceManager.Sweeped">Sweeped Property</h3>
<blockquote id="P:WebSocketSharp.Server.WebSocketServiceManager.Sweeped:member">
<h3 id="P:WebSocketSharp.Server.WebSocketServiceManager.Sweeping">Sweeping Property</h3>
<blockquote id="P:WebSocketSharp.Server.WebSocketServiceManager.Sweeping:member">
<p class="Summary">
Gets a value indicating whether the <a href="../WebSocketSharp.Server/WebSocketServiceManager.html">WebSocketSharp.Server.WebSocketServiceManager</a> cleans up
the inactive <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> objects periodically.
</p>
<h2>Syntax</h2>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Sweeped</b> { get; }</div>
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Sweeping</b> { get; }</div>
<h4 class="Subsection">Value</h4>
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.WebSocketServiceManager.Sweeped:Value">
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.WebSocketServiceManager.Sweeping:Value">
<tt>true</tt> if the <a href="../WebSocketSharp.Server/WebSocketServiceManager.html">WebSocketSharp.Server.WebSocketServiceManager</a> cleans up the inactive <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> objects
every 60 seconds; otherwise, <tt>false</tt>.
</blockquote>
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServiceManager.Sweeped:Remarks">
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServiceManager.Sweeping:Remarks">
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
</div>
<h2 class="Section">Requirements</h2>
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServiceManager.Sweeped:Version Information">
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServiceManager.Sweeping:Version Information">
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
<hr size="1" />
</blockquote>

View File

@ -223,7 +223,7 @@
<a href="./IServiceHost.html">IServiceHost</a>
</td>
<td>
Exposes the methods and property for the host that provides a <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a>.
Exposes the methods and properties for the WebSocket service host.
</td>
</tr>
<tr valign="top">

View File

@ -487,7 +487,7 @@
<a href="WebSocketSharp.Server/IServiceHost.html">IServiceHost</a>
</td>
<td>
Exposes the methods and property for the host that provides a <a href="./WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a>.
Exposes the methods and properties for the WebSocket service host.
</td>
</tr>
<tr valign="top">

View File

@ -329,16 +329,17 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Sweeped">
<MemberSignature Language="C#" Value="public bool Sweeped { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Sweeped" />
<Member MemberName="Sweeping">
<MemberSignature Language="C#" Value="public bool Sweeping { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Sweeping" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets a value indicating whether the server cleans up the inactive WebSocket service instances 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 WebSocket service instances every 60 seconds;

View File

@ -7,7 +7,7 @@
<Interfaces />
<Docs>
<summary>
Exposes the methods and property for the host that provides a <see cref="T:WebSocketSharp.Server.WebSocketService" />.
Exposes the methods and properties for the WebSocket service host.
</summary>
<remarks />
</Docs>
@ -82,19 +82,21 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Sweeped">
<MemberSignature Language="C#" Value="public bool Sweeped { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Sweeped" />
<Member MemberName="Sweeping">
<MemberSignature Language="C#" Value="public bool Sweeping { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Sweeping" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets a value indicating whether the WebSocket service host cleans up the inactive service clients periodically.
Gets or sets a value indicating whether the WebSocket service host cleans up the inactive service
instances periodically.
</summary>
<value>
<c>true</c> if the WebSocket service host cleans up the inactive service clients periodically; otherwise, <c>false</c>.
<c>true</c> if the WebSocket service host cleans up the inactive service instances periodically;
otherwise, <c>false</c>.
</value>
<remarks>To be added.</remarks>
</Docs>

View File

@ -238,20 +238,21 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Sweeped">
<MemberSignature Language="C#" Value="public bool Sweeped { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Sweeped" />
<Member MemberName="Sweeping">
<MemberSignature Language="C#" Value="public bool Sweeping { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Sweeping" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<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>
<remarks>To be added.</remarks>
</Docs>

View File

@ -273,20 +273,21 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Sweeped">
<MemberSignature Language="C#" Value="public bool Sweeped { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Sweeped" />
<Member MemberName="Sweeping">
<MemberSignature Language="C#" Value="public bool Sweeping { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Sweeping" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<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>
<remarks>To be added.</remarks>
</Docs>

View File

@ -170,9 +170,9 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Sweeped">
<MemberSignature Language="C#" Value="public bool Sweeped { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Sweeped" />
<Member MemberName="Sweeping">
<MemberSignature Language="C#" Value="public bool Sweeping { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Sweeping" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>

View File

@ -1,6 +1,6 @@
<Overview>
<Assemblies>
<Assembly Name="websocket-sharp" Version="1.0.2.31647">
<Assembly Name="websocket-sharp" Version="1.0.2.28390">
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 11 00 00 00 29 17 fb 89 fe c3 91 f7 2b cb 8b e2 61 d2 3f 05 93 6d 65 a8 9e 63 72 a6 f5 d5 2c f2 9d 20 fa 0b c0 70 6a f6 88 7e 8b 90 3f 39 f5 76 c8 48 e0 bb 7b b2 7b ed d3 10 a7 1a 0f 70 98 0f 7f f4 4b 53 09 d2 a5 ef 36 c3 56 b4 aa f0 91 72 63 25 07 89 e0 93 3e 3f 2e f2 b9 73 0e 12 15 5d 43 56 c3 f4 70 a5 89 fe f7 f6 ac 3e 77 c2 d8 d0 84 91 f4 0c d1 f3 8e dc c3 c3 b8 38 3d 0c bf 17 de 20 78 c1 ]</AssemblyPublicKey>
<Attributes>
<Attribute>