doc/main-rdoc/classes/IO/Reactor.html in facets-0.7.1 vs doc/main-rdoc/classes/IO/Reactor.html in facets-0.7.2
- old
+ new
@@ -93,28 +93,28 @@
<div id="method-list">
<h3 class="section-bar">Methods</h3>
<div class="name-list">
- <a href="#M000639">add</a>
- <a href="#M000649">clear</a>
- <a href="#M000641">disableEvents</a>
- <a href="#M000651">empty?</a>
- <a href="#M000640">enableEvents</a>
- <a href="#M000652">getPendingEvents</a>
- <a href="#M000653">getReadHandles</a>
- <a href="#M000654">getWriteHandles</a>
- <a href="#M000637">new</a>
- <a href="#M000650">poll</a>
- <a href="#M000638">register</a>
- <a href="#M000648">registered?</a>
- <a href="#M000647">remove</a>
- <a href="#M000645">removeArgs</a>
- <a href="#M000643">removeHandler</a>
- <a href="#M000644">setArgs</a>
- <a href="#M000642">setHandler</a>
- <a href="#M000646">unregister</a>
+ <a href="#M000651">add</a>
+ <a href="#M000661">clear</a>
+ <a href="#M000653">disableEvents</a>
+ <a href="#M000663">empty?</a>
+ <a href="#M000652">enableEvents</a>
+ <a href="#M000664">getPendingEvents</a>
+ <a href="#M000665">getReadHandles</a>
+ <a href="#M000666">getWriteHandles</a>
+ <a href="#M000649">new</a>
+ <a href="#M000662">poll</a>
+ <a href="#M000650">register</a>
+ <a href="#M000660">registered?</a>
+ <a href="#M000659">remove</a>
+ <a href="#M000657">removeArgs</a>
+ <a href="#M000655">removeHandler</a>
+ <a href="#M000656">setArgs</a>
+ <a href="#M000654">setHandler</a>
+ <a href="#M000658">unregister</a>
</div>
</div>
</div>
@@ -174,11 +174,11 @@
<tr class="top-aligned-row context-row">
<td class="context-item-name">pendingEvents</td>
<td class="context-item-value"> [R] </td>
<td class="context-item-desc">
The Hash of unhandled events which occurred in the last call to <a
-href="Reactor.html#M000650">poll</a>, keyed by handle.
+href="Reactor.html#M000662">poll</a>, keyed by handle.
</td>
</tr>
</table>
</div>
@@ -188,16 +188,16 @@
<!-- if method_list -->
<div id="methods">
<h3 class="section-bar">Public Class methods</h3>
- <div id="method-M000637" class="method-detail">
- <a name="M000637"></a>
+ <div id="method-M000649" class="method-detail">
+ <a name="M000649"></a>
<div class="method-heading">
- <a href="Reactor.src/M000637.html" target="Code" class="method-signature"
- onclick="popupCode('Reactor.src/M000637.html');return false;">
+ <a href="Reactor.src/M000649.html" target="Code" class="method-signature"
+ onclick="popupCode('Reactor.src/M000649.html');return false;">
<span class="method-name">new</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
@@ -207,30 +207,30 @@
</div>
</div>
<h3 class="section-bar">Public Instance methods</h3>
- <div id="method-M000639" class="method-detail">
- <a name="M000639"></a>
+ <div id="method-M000651" class="method-detail">
+ <a name="M000651"></a>
<div class="method-heading">
<span class="method-name">add</span><span class="method-args">( io, *args, &handler )</span>
</div>
<div class="method-description">
<p>
-Alias for <a href="Reactor.html#M000638">register</a>
+Alias for <a href="Reactor.html#M000650">register</a>
</p>
</div>
</div>
- <div id="method-M000649" class="method-detail">
- <a name="M000649"></a>
+ <div id="method-M000661" class="method-detail">
+ <a name="M000661"></a>
<div class="method-heading">
- <a href="Reactor.src/M000649.html" target="Code" class="method-signature"
- onclick="popupCode('Reactor.src/M000649.html');return false;">
+ <a href="Reactor.src/M000661.html" target="Code" class="method-signature"
+ onclick="popupCode('Reactor.src/M000661.html');return false;">
<span class="method-name">clear</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
@@ -239,16 +239,16 @@
were cleared.
</p>
</div>
</div>
- <div id="method-M000641" class="method-detail">
- <a name="M000641"></a>
+ <div id="method-M000653" class="method-detail">
+ <a name="M000653"></a>
<div class="method-heading">
- <a href="Reactor.src/M000641.html" target="Code" class="method-signature"
- onclick="popupCode('Reactor.src/M000641.html');return false;">
+ <a href="Reactor.src/M000653.html" target="Code" class="method-signature"
+ onclick="popupCode('Reactor.src/M000653.html');return false;">
<span class="method-name">disableEvents</span><span class="method-args">( io, *events )</span>
</a>
</div>
<div class="method-description">
@@ -257,16 +257,16 @@
on the given <tt>io</tt> handle.
</p>
</div>
</div>
- <div id="method-M000651" class="method-detail">
- <a name="M000651"></a>
+ <div id="method-M000663" class="method-detail">
+ <a name="M000663"></a>
<div class="method-heading">
- <a href="Reactor.src/M000651.html" target="Code" class="method-signature"
- onclick="popupCode('Reactor.src/M000651.html');return false;">
+ <a href="Reactor.src/M000663.html" target="Code" class="method-signature"
+ onclick="popupCode('Reactor.src/M000663.html');return false;">
<span class="method-name">empty?</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
@@ -274,16 +274,16 @@
Returns <tt>true</tt> if no handles are associated with the receiver.
</p>
</div>
</div>
- <div id="method-M000640" class="method-detail">
- <a name="M000640"></a>
+ <div id="method-M000652" class="method-detail">
+ <a name="M000652"></a>
<div class="method-heading">
- <a href="Reactor.src/M000640.html" target="Code" class="method-signature"
- onclick="popupCode('Reactor.src/M000640.html');return false;">
+ <a href="Reactor.src/M000652.html" target="Code" class="method-signature"
+ onclick="popupCode('Reactor.src/M000652.html');return false;">
<span class="method-name">enableEvents</span><span class="method-args">( io, *events )</span>
</a>
</div>
<div class="method-description">
@@ -292,16 +292,16 @@
the given <tt>io</tt> handle.
</p>
</div>
</div>
- <div id="method-M000650" class="method-detail">
- <a name="M000650"></a>
+ <div id="method-M000662" class="method-detail">
+ <a name="M000662"></a>
<div class="method-heading">
- <a href="Reactor.src/M000650.html" target="Code" class="method-signature"
- onclick="popupCode('Reactor.src/M000650.html');return false;">
+ <a href="Reactor.src/M000662.html" target="Code" class="method-signature"
+ onclick="popupCode('Reactor.src/M000662.html');return false;">
<span class="method-name">poll</span><span class="method-args">( timeout=-1 ) {|io, eventMask| ...}</span>
</a>
</div>
<div class="method-description">
@@ -330,37 +330,37 @@
</p>
<p>
The <tt>timeout</tt> argument is the number of floating-point seconds to
wait for an event before returning (ie., fourth argument to the underlying
<tt>select()</tt> call); negative timeout values will cause <a
-href="Reactor.html#M000650">poll</a> to block until there is at least one
+href="Reactor.html#M000662">poll</a> to block until there is at least one
event to report.
</p>
<p>
This method returns the number of handles on which one or more events
occurred.
</p>
</div>
</div>
- <div id="method-M000638" class="method-detail">
- <a name="M000638"></a>
+ <div id="method-M000650" class="method-detail">
+ <a name="M000650"></a>
<div class="method-heading">
- <a href="Reactor.src/M000638.html" target="Code" class="method-signature"
- onclick="popupCode('Reactor.src/M000638.html');return false;">
+ <a href="Reactor.src/M000650.html" target="Code" class="method-signature"
+ onclick="popupCode('Reactor.src/M000650.html');return false;">
<span class="method-name">register</span><span class="method-args">( io, *args, &handler )</span>
</a>
</div>
<div class="method-description">
<p>
Register the specified <a href="../IO.html">IO</a> object with the reactor
for events given as <tt>args</tt>. The reactor will test the given
<tt>io</tt> for the events specified whenever <a
-href="Reactor.html#M000650">poll</a> is called. See the <a
-href="Reactor.html#M000650">poll</a> method for a list of valid events. If
+href="Reactor.html#M000662">poll</a> is called. See the <a
+href="Reactor.html#M000662">poll</a> method for a list of valid events. If
no events are specified, only <tt>:error</tt> events will be polled for.
</p>
<p>
If a <tt>handler</tt> is specified, it will be called whenever the
<tt>io</tt> has any of the specified <tt>events</tt> occur to it. It should
@@ -377,16 +377,16 @@
event/handler+arguments pairs associated with the handle.
</p>
</div>
</div>
- <div id="method-M000648" class="method-detail">
- <a name="M000648"></a>
+ <div id="method-M000660" class="method-detail">
+ <a name="M000660"></a>
<div class="method-heading">
- <a href="Reactor.src/M000648.html" target="Code" class="method-signature"
- onclick="popupCode('Reactor.src/M000648.html');return false;">
+ <a href="Reactor.src/M000660.html" target="Code" class="method-signature"
+ onclick="popupCode('Reactor.src/M000660.html');return false;">
<span class="method-name">registered?</span><span class="method-args">( io )</span>
</a>
</div>
<div class="method-description">
@@ -395,30 +395,30 @@
object.
</p>
</div>
</div>
- <div id="method-M000647" class="method-detail">
- <a name="M000647"></a>
+ <div id="method-M000659" class="method-detail">
+ <a name="M000659"></a>
<div class="method-heading">
<span class="method-name">remove</span><span class="method-args">( io )</span>
</div>
<div class="method-description">
<p>
-Alias for <a href="Reactor.html#M000646">unregister</a>
+Alias for <a href="Reactor.html#M000658">unregister</a>
</p>
</div>
</div>
- <div id="method-M000645" class="method-detail">
- <a name="M000645"></a>
+ <div id="method-M000657" class="method-detail">
+ <a name="M000657"></a>
<div class="method-heading">
- <a href="Reactor.src/M000645.html" target="Code" class="method-signature"
- onclick="popupCode('Reactor.src/M000645.html');return false;">
+ <a href="Reactor.src/M000657.html" target="Code" class="method-signature"
+ onclick="popupCode('Reactor.src/M000657.html');return false;">
<span class="method-name">removeArgs</span><span class="method-args">( io )</span>
</a>
</div>
<div class="method-description">
@@ -426,16 +426,16 @@
Remove the arguments for the given handle to the given <tt>args</tt>.
</p>
</div>
</div>
- <div id="method-M000643" class="method-detail">
- <a name="M000643"></a>
+ <div id="method-M000655" class="method-detail">
+ <a name="M000655"></a>
<div class="method-heading">
- <a href="Reactor.src/M000643.html" target="Code" class="method-signature"
- onclick="popupCode('Reactor.src/M000643.html');return false;">
+ <a href="Reactor.src/M000655.html" target="Code" class="method-signature"
+ onclick="popupCode('Reactor.src/M000655.html');return false;">
<span class="method-name">removeHandler</span><span class="method-args">( io )</span>
</a>
</div>
<div class="method-description">
@@ -443,16 +443,16 @@
Remove and return the handler for events on the given <tt>io</tt> handle.
</p>
</div>
</div>
- <div id="method-M000644" class="method-detail">
- <a name="M000644"></a>
+ <div id="method-M000656" class="method-detail">
+ <a name="M000656"></a>
<div class="method-heading">
- <a href="Reactor.src/M000644.html" target="Code" class="method-signature"
- onclick="popupCode('Reactor.src/M000644.html');return false;">
+ <a href="Reactor.src/M000656.html" target="Code" class="method-signature"
+ onclick="popupCode('Reactor.src/M000656.html');return false;">
<span class="method-name">setArgs</span><span class="method-args">( io, *args )</span>
</a>
</div>
<div class="method-description">
@@ -461,16 +461,16 @@
<tt>io</tt> handle on each event to the given <tt>args</tt>.
</p>
</div>
</div>
- <div id="method-M000642" class="method-detail">
- <a name="M000642"></a>
+ <div id="method-M000654" class="method-detail">
+ <a name="M000654"></a>
<div class="method-heading">
- <a href="Reactor.src/M000642.html" target="Code" class="method-signature"
- onclick="popupCode('Reactor.src/M000642.html');return false;">
+ <a href="Reactor.src/M000654.html" target="Code" class="method-signature"
+ onclick="popupCode('Reactor.src/M000654.html');return false;">
<span class="method-name">setHandler</span><span class="method-args">( io, *args, &handler )</span>
</a>
</div>
<div class="method-description">
@@ -481,16 +481,16 @@
previously-registered handler, if any.
</p>
</div>
</div>
- <div id="method-M000646" class="method-detail">
- <a name="M000646"></a>
+ <div id="method-M000658" class="method-detail">
+ <a name="M000658"></a>
<div class="method-heading">
- <a href="Reactor.src/M000646.html" target="Code" class="method-signature"
- onclick="popupCode('Reactor.src/M000646.html');return false;">
+ <a href="Reactor.src/M000658.html" target="Code" class="method-signature"
+ onclick="popupCode('Reactor.src/M000658.html');return false;">
<span class="method-name">unregister</span><span class="method-args">( io )</span>
</a>
</div>
<div class="method-description">
@@ -502,16 +502,16 @@
</div>
</div>
<h3 class="section-bar">Protected Instance methods</h3>
- <div id="method-M000652" class="method-detail">
- <a name="M000652"></a>
+ <div id="method-M000664" class="method-detail">
+ <a name="M000664"></a>
<div class="method-heading">
- <a href="Reactor.src/M000652.html" target="Code" class="method-signature"
- onclick="popupCode('Reactor.src/M000652.html');return false;">
+ <a href="Reactor.src/M000664.html" target="Code" class="method-signature"
+ onclick="popupCode('Reactor.src/M000664.html');return false;">
<span class="method-name">getPendingEvents</span><span class="method-args">( timeout )</span>
</a>
</div>
<div class="method-description">
@@ -520,16 +520,16 @@
for handles which had events occur.
</p>
</div>
</div>
- <div id="method-M000653" class="method-detail">
- <a name="M000653"></a>
+ <div id="method-M000665" class="method-detail">
+ <a name="M000665"></a>
<div class="method-heading">
- <a href="Reactor.src/M000653.html" target="Code" class="method-signature"
- onclick="popupCode('Reactor.src/M000653.html');return false;">
+ <a href="Reactor.src/M000665.html" target="Code" class="method-signature"
+ onclick="popupCode('Reactor.src/M000665.html');return false;">
<span class="method-name">getReadHandles</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
@@ -538,15 +538,15 @@
for the <tt>:read</tt> event.
</p>
</div>
</div>
- <div id="method-M000654" class="method-detail">
- <a name="M000654"></a>
+ <div id="method-M000666" class="method-detail">
+ <a name="M000666"></a>
<div class="method-heading">
- <a href="Reactor.src/M000654.html" target="Code" class="method-signature"
- onclick="popupCode('Reactor.src/M000654.html');return false;">
+ <a href="Reactor.src/M000666.html" target="Code" class="method-signature"
+ onclick="popupCode('Reactor.src/M000666.html');return false;">
<span class="method-name">getWriteHandles</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
\ No newline at end of file