You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
672 lines
36 KiB
HTML
672 lines
36 KiB
HTML
<html>
|
|
<head>
|
|
<title>WebSocketSharp.Server.WebSocketServiceManager</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<style>
|
|
a { text-decoration: none }
|
|
|
|
div.SideBar {
|
|
padding-left: 1em;
|
|
padding-right: 1em;
|
|
right: 0;
|
|
float: right;
|
|
border: thin solid black;
|
|
background-color: #f2f2f2;
|
|
}
|
|
|
|
.CollectionTitle { font-weight: bold }
|
|
.PageTitle { font-size: 150%; font-weight: bold }
|
|
|
|
.Summary { }
|
|
.Signature { }
|
|
.Remarks { }
|
|
.Members { }
|
|
.Copyright { }
|
|
|
|
.Section { font-size: 125%; font-weight: bold }
|
|
p.Summary {
|
|
margin-left: 1em;
|
|
}
|
|
.SectionBox { margin-left: 2em }
|
|
.NamespaceName { font-size: 105%; font-weight: bold }
|
|
.NamespaceSumary { }
|
|
.MemberName { font-size: 115%; font-weight: bold; margin-top: 1em }
|
|
.Subsection { font-size: 105%; font-weight: bold }
|
|
.SubsectionBox { margin-left: 2em; margin-bottom: 1em }
|
|
|
|
.CodeExampleTable { background-color: #f5f5dd; border: thin solid black; padding: .25em; }
|
|
|
|
.TypesListing {
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
td {
|
|
vertical-align: top;
|
|
}
|
|
th {
|
|
text-align: left;
|
|
}
|
|
|
|
.TypesListing td {
|
|
margin: 0px;
|
|
padding: .25em;
|
|
border: solid gray 1px;
|
|
}
|
|
|
|
.TypesListing th {
|
|
margin: 0px;
|
|
padding: .25em;
|
|
background-color: #f2f2f2;
|
|
border: solid gray 1px;
|
|
}
|
|
|
|
div.Footer {
|
|
border-top: 1px solid gray;
|
|
margin-top: 1.5em;
|
|
padding-top: 0.6em;
|
|
text-align: center;
|
|
color: gray;
|
|
}
|
|
|
|
span.NotEntered /* Documentation for this section has not yet been entered */ {
|
|
font-style: italic;
|
|
color: red;
|
|
}
|
|
|
|
div.Header {
|
|
background: #B0C4DE;
|
|
border: double;
|
|
border-color: white;
|
|
border-width: 7px;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
div.Header * {
|
|
font-size: smaller;
|
|
}
|
|
|
|
div.Note {
|
|
}
|
|
|
|
i.ParamRef {
|
|
}
|
|
|
|
i.subtitle {
|
|
}
|
|
|
|
ul.TypeMembersIndex {
|
|
text-align: left;
|
|
background: #F8F8F8;
|
|
}
|
|
|
|
ul.TypeMembersIndex li {
|
|
display: inline;
|
|
margin: 0.5em;
|
|
}
|
|
|
|
table.HeaderTable {
|
|
}
|
|
|
|
table.SignatureTable {
|
|
}
|
|
|
|
table.Documentation, table.Enumeration, table.TypeDocumentation {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
|
|
table.Documentation tr th, table.TypeMembers tr th, table.Enumeration tr th, table.TypeDocumentation tr th {
|
|
background: whitesmoke;
|
|
padding: 0.8em;
|
|
border: 1px solid gray;
|
|
text-align: left;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
table.Documentation tr td, table.TypeMembers tr td, table.Enumeration tr td, table.TypeDocumentation tr td {
|
|
padding: 0.5em;
|
|
border: 1px solid gray;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
|
|
table.TypeMembers {
|
|
border: 1px solid #C0C0C0;
|
|
width: 100%;
|
|
}
|
|
|
|
table.TypeMembers tr td {
|
|
background: #F8F8F8;
|
|
border: white;
|
|
}
|
|
|
|
table.Documentation {
|
|
}
|
|
|
|
table.TypeMembers {
|
|
}
|
|
|
|
div.CodeExample {
|
|
width: 100%;
|
|
border: 1px solid #DDDDDD;
|
|
background-color: #F8F8F8;
|
|
}
|
|
|
|
div.CodeExample p {
|
|
margin: 0.5em;
|
|
border-bottom: 1px solid #DDDDDD;
|
|
}
|
|
|
|
div.CodeExample div {
|
|
margin: 0.5em;
|
|
}
|
|
|
|
h4 {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
div.Signature {
|
|
border: 1px solid #C0C0C0;
|
|
background: #F2F2F2;
|
|
padding: 1em;
|
|
}
|
|
</style>
|
|
<script type="text/JavaScript">
|
|
function toggle_display (block) {
|
|
var w = document.getElementById (block);
|
|
var t = document.getElementById (block + ":toggle");
|
|
if (w.style.display == "none") {
|
|
w.style.display = "block";
|
|
t.innerHTML = "⊟";
|
|
} else {
|
|
w.style.display = "none";
|
|
t.innerHTML = "⊞";
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div class="CollectionTitle">
|
|
<a href="../index.html">websocket-sharp</a> : <a href="index.html">WebSocketSharp.Server Namespace</a></div>
|
|
<div class="SideBar">
|
|
<p>
|
|
<a href="#T:WebSocketSharp.Server.WebSocketServiceManager">Overview</a>
|
|
</p>
|
|
<p>
|
|
<a href="#T:WebSocketSharp.Server.WebSocketServiceManager:Signature">Signature</a>
|
|
</p>
|
|
<p>
|
|
<a href="#T:WebSocketSharp.Server.WebSocketServiceManager:Docs">Remarks</a>
|
|
</p>
|
|
<p>
|
|
<a href="#Members">Members</a>
|
|
</p>
|
|
<p>
|
|
<a href="#T:WebSocketSharp.Server.WebSocketServiceManager:Members">Member Details</a>
|
|
</p>
|
|
</div>
|
|
<h1 class="PageTitle" id="T:WebSocketSharp.Server.WebSocketServiceManager">WebSocketServiceManager Class</h1>
|
|
<p class="Summary" id="T:WebSocketSharp.Server.WebSocketServiceManager:Summary">
|
|
Manages the collection of <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> objects.
|
|
</p>
|
|
<div id="T:WebSocketSharp.Server.WebSocketServiceManager:Signature">
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public class <b>WebSocketServiceManager</b></div>
|
|
</div>
|
|
<div class="Remarks" id="T:WebSocketSharp.Server.WebSocketServiceManager:Docs">
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="T:WebSocketSharp.Server.WebSocketServiceManager:Docs:Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="T:WebSocketSharp.Server.WebSocketServiceManager:Docs:Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<h2 class="Section" id="Members">Members</h2>
|
|
<div class="SectionBox" id="_Members">
|
|
<p>
|
|
See Also: Inherited members from
|
|
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Object">object</a>.
|
|
</p>
|
|
<h2 class="Section">Public Properties</h2>
|
|
<div class="SectionBox" id="Public Properties">
|
|
<div class="SubsectionBox">
|
|
<table class="TypeMembers">
|
|
<tr valign="top">
|
|
<td>[read-only]<div></div></td>
|
|
<td>
|
|
<b>
|
|
<a href="#P:WebSocketSharp.Server.WebSocketServiceManager.ActiveIDs">ActiveIDs</a>
|
|
</b>
|
|
</td>
|
|
<td>
|
|
<i>
|
|
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable<string></a>
|
|
</i>.
|
|
Gets the collection of IDs of active <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> objects
|
|
managed by the <a href="../WebSocketSharp.Server/WebSocketServiceManager.html">WebSocketSharp.Server.WebSocketServiceManager</a>.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>[read-only]<div></div></td>
|
|
<td>
|
|
<b>
|
|
<a href="#P:WebSocketSharp.Server.WebSocketServiceManager.Count">Count</a>
|
|
</b>
|
|
</td>
|
|
<td>
|
|
<i>
|
|
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>
|
|
</i>.
|
|
Gets the number of <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> objects
|
|
managed by the <a href="../WebSocketSharp.Server/WebSocketServiceManager.html">WebSocketSharp.Server.WebSocketServiceManager</a>.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>[read-only]<div></div></td>
|
|
<td>
|
|
<b>
|
|
<a href="#P:WebSocketSharp.Server.WebSocketServiceManager.IDs">IDs</a>
|
|
</b>
|
|
</td>
|
|
<td>
|
|
<i>
|
|
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable<string></a>
|
|
</i>.
|
|
Gets the collection of IDs of <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> objects
|
|
managed by the <a href="../WebSocketSharp.Server/WebSocketServiceManager.html">WebSocketSharp.Server.WebSocketServiceManager</a>.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>[read-only]<div></div></td>
|
|
<td>
|
|
<b>
|
|
<a href="#P:WebSocketSharp.Server.WebSocketServiceManager.InactiveIDs">InactiveIDs</a>
|
|
</b>
|
|
</td>
|
|
<td>
|
|
<i>
|
|
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable<string></a>
|
|
</i>.
|
|
Gets the collection of IDs of inactive <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> objects
|
|
managed by the <a href="../WebSocketSharp.Server/WebSocketServiceManager.html">WebSocketSharp.Server.WebSocketServiceManager</a>.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>[read-only]<div></div></td>
|
|
<td>
|
|
<b>
|
|
<a href="#P:WebSocketSharp.Server.WebSocketServiceManager.Sweeped">Sweeped</a>
|
|
</b>
|
|
</td>
|
|
<td>
|
|
<i>
|
|
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
|
|
</i>.
|
|
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.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<h2 class="Section">Public Methods</h2>
|
|
<div class="SectionBox" id="Public Methods">
|
|
<div class="SubsectionBox">
|
|
<table class="TypeMembers">
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td colspan="2">
|
|
<b>
|
|
<a href="#M:WebSocketSharp.Server.WebSocketServiceManager.Broadcast(System.Byte[])">Broadcast</a>
|
|
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>[])<blockquote>
|
|
Broadcasts the specified array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a> to the clients of every <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a>
|
|
managed by the <a href="../WebSocketSharp.Server/WebSocketServiceManager.html">WebSocketSharp.Server.WebSocketServiceManager</a>.
|
|
</blockquote></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td colspan="2">
|
|
<b>
|
|
<a href="#M:WebSocketSharp.Server.WebSocketServiceManager.Broadcast(System.String)">Broadcast</a>
|
|
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<blockquote>
|
|
Broadcasts the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> to the clients of every <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a>
|
|
managed by the <a href="../WebSocketSharp.Server/WebSocketServiceManager.html">WebSocketSharp.Server.WebSocketServiceManager</a>.
|
|
</blockquote></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td colspan="2">
|
|
<b>
|
|
<a href="#M:WebSocketSharp.Server.WebSocketServiceManager.Broadping(System.String)">Broadping</a>
|
|
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.Dictionary`2">Dictionary<string, bool></a></nobr><blockquote>
|
|
Pings with the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> to the clients of every <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a>
|
|
managed by the <a href="../WebSocketSharp.Server/WebSocketServiceManager.html">WebSocketSharp.Server.WebSocketServiceManager</a>.
|
|
</blockquote></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td colspan="2">
|
|
<b>
|
|
<a href="#M:WebSocketSharp.Server.WebSocketServiceManager.Sweep">Sweep</a>
|
|
</b>()<blockquote>
|
|
Cleans up the inactive <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> objects.
|
|
</blockquote></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td colspan="2">
|
|
<b>
|
|
<a href="#M:WebSocketSharp.Server.WebSocketServiceManager.TryGetWebSocketService(System.String,WebSocketSharp.Server.WebSocketService@)">TryGetWebSocketService</a>
|
|
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <i>out</i> <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketService</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
|
Tries to get the <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> associated with the specified <i>id</i>.
|
|
</blockquote></td>
|
|
</tr>
|
|
</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<T></a>
|
|
</b>(<i>this</i> <i title="
 The type of the parameter.
 ">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<T></a>
|
|
</b>(<i>this</i> <i title="
 The type of the parameter.
 ">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">
|
|
<h2 class="Section" id="MemberDetails">Member Details</h2>
|
|
<div class="SectionBox" id="_MemberDetails">
|
|
<h3 id="P:WebSocketSharp.Server.WebSocketServiceManager.ActiveIDs">ActiveIDs Property</h3>
|
|
<blockquote id="P:WebSocketSharp.Server.WebSocketServiceManager.ActiveIDs:member">
|
|
<p class="Summary">
|
|
Gets the collection of IDs of active <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> objects
|
|
managed by the <a href="../WebSocketSharp.Server/WebSocketServiceManager.html">WebSocketSharp.Server.WebSocketServiceManager</a>.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable<string></a> <b>ActiveIDs</b> { get; }</div>
|
|
<h4 class="Subsection">Value</h4>
|
|
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.WebSocketServiceManager.ActiveIDs:Value">
|
|
An IEnumerable<string> that contains the collection of IDs of active <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> objects.
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServiceManager.ActiveIDs: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.ActiveIDs:Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
<h3 id="M:WebSocketSharp.Server.WebSocketServiceManager.Broadcast(System.Byte[])">Broadcast Method</h3>
|
|
<blockquote id="M:WebSocketSharp.Server.WebSocketServiceManager.Broadcast(System.Byte[]):member">
|
|
<p class="Summary">
|
|
Broadcasts the specified array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a> to the clients of every <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a>
|
|
managed by the <a href="../WebSocketSharp.Server/WebSocketServiceManager.html">WebSocketSharp.Server.WebSocketServiceManager</a>.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Broadcast</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>[] data)</div>
|
|
<h4 class="Subsection">Parameters</h4>
|
|
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.WebSocketServiceManager.Broadcast(System.Byte[]):Parameters">
|
|
<dl>
|
|
<dt>
|
|
<i>data</i>
|
|
</dt>
|
|
<dd>
|
|
An array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a> to broadcast.
|
|
</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceManager.Broadcast(System.Byte[]):Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceManager.Broadcast(System.Byte[]):Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
<h3 id="M:WebSocketSharp.Server.WebSocketServiceManager.Broadcast(System.String)">Broadcast Method</h3>
|
|
<blockquote id="M:WebSocketSharp.Server.WebSocketServiceManager.Broadcast(System.String):member">
|
|
<p class="Summary">
|
|
Broadcasts the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> to the clients of every <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a>
|
|
managed by the <a href="../WebSocketSharp.Server/WebSocketServiceManager.html">WebSocketSharp.Server.WebSocketServiceManager</a>.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Broadcast</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> data)</div>
|
|
<h4 class="Subsection">Parameters</h4>
|
|
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.WebSocketServiceManager.Broadcast(System.String):Parameters">
|
|
<dl>
|
|
<dt>
|
|
<i>data</i>
|
|
</dt>
|
|
<dd>
|
|
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> to broadcast.
|
|
</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceManager.Broadcast(System.String):Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceManager.Broadcast(System.String):Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
<h3 id="M:WebSocketSharp.Server.WebSocketServiceManager.Broadping(System.String)">Broadping Method</h3>
|
|
<blockquote id="M:WebSocketSharp.Server.WebSocketServiceManager.Broadping(System.String):member">
|
|
<p class="Summary">
|
|
Pings with the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> to the clients of every <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a>
|
|
managed by the <a href="../WebSocketSharp.Server/WebSocketServiceManager.html">WebSocketSharp.Server.WebSocketServiceManager</a>.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.Dictionary`2">Dictionary<string, bool></a> <b>Broadping</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> message)</div>
|
|
<h4 class="Subsection">Parameters</h4>
|
|
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.WebSocketServiceManager.Broadping(System.String):Parameters">
|
|
<dl>
|
|
<dt>
|
|
<i>message</i>
|
|
</dt>
|
|
<dd>
|
|
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains a message.
|
|
</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<h4 class="Subsection">Returns</h4>
|
|
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.WebSocketServiceManager.Broadping(System.String):Returns">
|
|
A Dictionary<string, bool> that contains the collection of IDs and values
|
|
indicating whether each <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> received a Pong in a time.
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceManager.Broadping(System.String):Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceManager.Broadping(System.String):Version Information">
|
|
<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.Count">Count Property</h3>
|
|
<blockquote id="P:WebSocketSharp.Server.WebSocketServiceManager.Count:member">
|
|
<p class="Summary">
|
|
Gets the number of <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> objects
|
|
managed by the <a href="../WebSocketSharp.Server/WebSocketServiceManager.html">WebSocketSharp.Server.WebSocketServiceManager</a>.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> <b>Count</b> { get; }</div>
|
|
<h4 class="Subsection">Value</h4>
|
|
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.WebSocketServiceManager.Count:Value">
|
|
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that contains the number of <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> objects
|
|
managed by the <a href="../WebSocketSharp.Server/WebSocketServiceManager.html">WebSocketSharp.Server.WebSocketServiceManager</a>.
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServiceManager.Count: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.Count:Version Information">
|
|
<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.IDs">IDs Property</h3>
|
|
<blockquote id="P:WebSocketSharp.Server.WebSocketServiceManager.IDs:member">
|
|
<p class="Summary">
|
|
Gets the collection of IDs of <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> objects
|
|
managed by the <a href="../WebSocketSharp.Server/WebSocketServiceManager.html">WebSocketSharp.Server.WebSocketServiceManager</a>.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable<string></a> <b>IDs</b> { get; }</div>
|
|
<h4 class="Subsection">Value</h4>
|
|
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.WebSocketServiceManager.IDs:Value">
|
|
An IEnumerable<string> that contains the collection of IDs of <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> objects.
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServiceManager.IDs: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.IDs:Version Information">
|
|
<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.InactiveIDs">InactiveIDs Property</h3>
|
|
<blockquote id="P:WebSocketSharp.Server.WebSocketServiceManager.InactiveIDs:member">
|
|
<p class="Summary">
|
|
Gets the collection of IDs of inactive <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> objects
|
|
managed by the <a href="../WebSocketSharp.Server/WebSocketServiceManager.html">WebSocketSharp.Server.WebSocketServiceManager</a>.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable<string></a> <b>InactiveIDs</b> { get; }</div>
|
|
<h4 class="Subsection">Value</h4>
|
|
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.WebSocketServiceManager.InactiveIDs:Value">
|
|
An IEnumerable<string> that contains the collection of IDs of inactive <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> objects.
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServiceManager.InactiveIDs: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.InactiveIDs:Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
<h3 id="M:WebSocketSharp.Server.WebSocketServiceManager.Sweep">Sweep Method</h3>
|
|
<blockquote id="M:WebSocketSharp.Server.WebSocketServiceManager.Sweep:member">
|
|
<p class="Summary">
|
|
Cleans up the inactive <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> objects.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Sweep</b> ()</div>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceManager.Sweep:Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceManager.Sweep:Version Information">
|
|
<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">
|
|
<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>
|
|
<h4 class="Subsection">Value</h4>
|
|
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.WebSocketServiceManager.Sweeped: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">
|
|
<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">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
<h3 id="M:WebSocketSharp.Server.WebSocketServiceManager.TryGetWebSocketService(System.String,WebSocketSharp.Server.WebSocketService@)">TryGetWebSocketService Method</h3>
|
|
<blockquote id="M:WebSocketSharp.Server.WebSocketServiceManager.TryGetWebSocketService(System.String,WebSocketSharp.Server.WebSocketService@):member">
|
|
<p class="Summary">
|
|
Tries to get the <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> associated with the specified <i>id</i>.
|
|
</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>TryGetWebSocketService</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> id, <i>out</i> <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketService</a> service)</div>
|
|
<h4 class="Subsection">Parameters</h4>
|
|
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.WebSocketServiceManager.TryGetWebSocketService(System.String,WebSocketSharp.Server.WebSocketService@):Parameters">
|
|
<dl>
|
|
<dt>
|
|
<i>id</i>
|
|
</dt>
|
|
<dd>
|
|
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the ID to find.
|
|
</dd>
|
|
<dt>
|
|
<i>service</i>
|
|
</dt>
|
|
<dd>
|
|
When this method returns, contains the <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> with the specified <i>id</i>, if the <i>id</i> is found; otherwise, <tt>null</tt>.
|
|
</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<h4 class="Subsection">Returns</h4>
|
|
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.WebSocketServiceManager.TryGetWebSocketService(System.String,WebSocketSharp.Server.WebSocketService@):Returns">
|
|
<tt>true</tt> if the <a href="../WebSocketSharp.Server/WebSocketServiceManager.html">WebSocketSharp.Server.WebSocketServiceManager</a> manages the <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> with the specified <i>id</i>; otherwise, <tt>false</tt>.
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceManager.TryGetWebSocketService(System.String,WebSocketSharp.Server.WebSocketService@):Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceManager.TryGetWebSocketService(System.String,WebSocketSharp.Server.WebSocketService@):Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
</div>
|
|
</div>
|
|
<hr size="1" />
|
|
<div class="Copyright">
|
|
</div>
|
|
</body>
|
|
</html> |