rev 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README +4 -0
- data/ext/rev/rev_buffer.c +21 -8
- data/ext/rev/rev_watcher.c +23 -6
- data/ext/rev/rev_watcher.h +5 -13
- data/lib/rev.rb +1 -1
- data/lib/rev/buffered_io.rb +8 -12
- data/lib/rev_ext.bundle +0 -0
- metadata +2 -226
- data/doc/rdoc/classes/Rev.html +0 -368
- data/doc/rdoc/classes/Rev.src/M000001.html +0 -28
- data/doc/rdoc/classes/Rev.src/M000002.html +0 -35
- data/doc/rdoc/classes/Rev.src/M000003.html +0 -24
- data/doc/rdoc/classes/Rev.src/M000004.html +0 -28
- data/doc/rdoc/classes/Rev.src/M000005.html +0 -27
- data/doc/rdoc/classes/Rev.src/M000006.html +0 -33
- data/doc/rdoc/classes/Rev.src/M000007.html +0 -43
- data/doc/rdoc/classes/Rev.src/M000008.html +0 -16
- data/doc/rdoc/classes/Rev/Buffer.html +0 -354
- data/doc/rdoc/classes/Rev/Buffer.src/M000019.html +0 -17
- data/doc/rdoc/classes/Rev/Buffer.src/M000020.html +0 -29
- data/doc/rdoc/classes/Rev/Buffer.src/M000021.html +0 -27
- data/doc/rdoc/classes/Rev/Buffer.src/M000022.html +0 -27
- data/doc/rdoc/classes/Rev/Buffer.src/M000023.html +0 -31
- data/doc/rdoc/classes/Rev/Buffer.src/M000024.html +0 -31
- data/doc/rdoc/classes/Rev/Buffer.src/M000025.html +0 -30
- data/doc/rdoc/classes/Rev/Buffer.src/M000026.html +0 -50
- data/doc/rdoc/classes/Rev/Buffer.src/M000027.html +0 -22
- data/doc/rdoc/classes/Rev/Buffer.src/M000028.html +0 -24
- data/doc/rdoc/classes/Rev/Buffer.src/M000029.html +0 -24
- data/doc/rdoc/classes/Rev/BufferedIO.html +0 -397
- data/doc/rdoc/classes/Rev/BufferedIO.src/M000095.html +0 -23
- data/doc/rdoc/classes/Rev/BufferedIO.src/M000096.html +0 -16
- data/doc/rdoc/classes/Rev/BufferedIO.src/M000097.html +0 -16
- data/doc/rdoc/classes/Rev/BufferedIO.src/M000098.html +0 -16
- data/doc/rdoc/classes/Rev/BufferedIO.src/M000099.html +0 -18
- data/doc/rdoc/classes/Rev/BufferedIO.src/M000100.html +0 -18
- data/doc/rdoc/classes/Rev/BufferedIO.src/M000101.html +0 -23
- data/doc/rdoc/classes/Rev/BufferedIO.src/M000102.html +0 -18
- data/doc/rdoc/classes/Rev/BufferedIO.src/M000103.html +0 -20
- data/doc/rdoc/classes/Rev/BufferedIO.src/M000104.html +0 -24
- data/doc/rdoc/classes/Rev/BufferedIO.src/M000105.html +0 -23
- data/doc/rdoc/classes/Rev/BufferedIO.src/M000106.html +0 -22
- data/doc/rdoc/classes/Rev/BufferedIO.src/M000107.html +0 -29
- data/doc/rdoc/classes/Rev/BufferedIO/Writer.html +0 -154
- data/doc/rdoc/classes/Rev/BufferedIO/Writer.src/M000108.html +0 -19
- data/doc/rdoc/classes/Rev/BufferedIO/Writer.src/M000109.html +0 -18
- data/doc/rdoc/classes/Rev/DNSResolver.html +0 -401
- data/doc/rdoc/classes/Rev/DNSResolver.src/M000124.html +0 -25
- data/doc/rdoc/classes/Rev/DNSResolver.src/M000125.html +0 -29
- data/doc/rdoc/classes/Rev/DNSResolver.src/M000126.html +0 -20
- data/doc/rdoc/classes/Rev/DNSResolver.src/M000127.html +0 -19
- data/doc/rdoc/classes/Rev/DNSResolver.src/M000128.html +0 -16
- data/doc/rdoc/classes/Rev/DNSResolver.src/M000129.html +0 -16
- data/doc/rdoc/classes/Rev/DNSResolver.src/M000131.html +0 -19
- data/doc/rdoc/classes/Rev/DNSResolver.src/M000132.html +0 -21
- data/doc/rdoc/classes/Rev/DNSResolver.src/M000133.html +0 -27
- data/doc/rdoc/classes/Rev/DNSResolver.src/M000134.html +0 -28
- data/doc/rdoc/classes/Rev/DNSResolver.src/M000135.html +0 -55
- data/doc/rdoc/classes/Rev/DNSResolver/Timeout.html +0 -154
- data/doc/rdoc/classes/Rev/DNSResolver/Timeout.src/M000136.html +0 -20
- data/doc/rdoc/classes/Rev/DNSResolver/Timeout.src/M000137.html +0 -22
- data/doc/rdoc/classes/Rev/HttpChunkHeader.html +0 -156
- data/doc/rdoc/classes/Rev/HttpChunkHeader.src/M000031.html +0 -19
- data/doc/rdoc/classes/Rev/HttpClient.html +0 -460
- data/doc/rdoc/classes/Rev/HttpClient.src/M000042.html +0 -18
- data/doc/rdoc/classes/Rev/HttpClient.src/M000043.html +0 -27
- data/doc/rdoc/classes/Rev/HttpClient.src/M000044.html +0 -24
- data/doc/rdoc/classes/Rev/HttpClient.src/M000045.html +0 -19
- data/doc/rdoc/classes/Rev/HttpClient.src/M000046.html +0 -17
- data/doc/rdoc/classes/Rev/HttpClient.src/M000047.html +0 -19
- data/doc/rdoc/classes/Rev/HttpClient.src/M000048.html +0 -18
- data/doc/rdoc/classes/Rev/HttpClient.src/M000049.html +0 -18
- data/doc/rdoc/classes/Rev/HttpClient.src/M000050.html +0 -19
- data/doc/rdoc/classes/Rev/HttpClient.src/M000051.html +0 -19
- data/doc/rdoc/classes/Rev/HttpClient.src/M000052.html +0 -19
- data/doc/rdoc/classes/Rev/HttpClient.src/M000053.html +0 -41
- data/doc/rdoc/classes/Rev/HttpClient.src/M000054.html +0 -18
- data/doc/rdoc/classes/Rev/HttpClient.src/M000055.html +0 -34
- data/doc/rdoc/classes/Rev/HttpEncoding.html +0 -310
- data/doc/rdoc/classes/Rev/HttpEncoding.src/M000009.html +0 -20
- data/doc/rdoc/classes/Rev/HttpEncoding.src/M000010.html +0 -20
- data/doc/rdoc/classes/Rev/HttpEncoding.src/M000011.html +0 -18
- data/doc/rdoc/classes/Rev/HttpEncoding.src/M000012.html +0 -18
- data/doc/rdoc/classes/Rev/HttpEncoding.src/M000013.html +0 -18
- data/doc/rdoc/classes/Rev/HttpEncoding.src/M000014.html +0 -19
- data/doc/rdoc/classes/Rev/HttpEncoding.src/M000015.html +0 -18
- data/doc/rdoc/classes/Rev/HttpEncoding.src/M000016.html +0 -18
- data/doc/rdoc/classes/Rev/HttpEncoding.src/M000017.html +0 -22
- data/doc/rdoc/classes/Rev/HttpEncoding.src/M000018.html +0 -18
- data/doc/rdoc/classes/Rev/HttpResponseHeader.html +0 -219
- data/doc/rdoc/classes/Rev/HttpResponseHeader.src/M000032.html +0 -18
- data/doc/rdoc/classes/Rev/HttpResponseHeader.src/M000033.html +0 -18
- data/doc/rdoc/classes/Rev/HttpResponseHeader.src/M000034.html +0 -18
- data/doc/rdoc/classes/Rev/IOWatcher.html +0 -285
- data/doc/rdoc/classes/Rev/IOWatcher.src/M000079.html +0 -17
- data/doc/rdoc/classes/Rev/IOWatcher.src/M000080.html +0 -27
- data/doc/rdoc/classes/Rev/IOWatcher.src/M000081.html +0 -26
- data/doc/rdoc/classes/Rev/IOWatcher.src/M000082.html +0 -27
- data/doc/rdoc/classes/Rev/IOWatcher.src/M000083.html +0 -27
- data/doc/rdoc/classes/Rev/IOWatcher.src/M000084.html +0 -24
- data/doc/rdoc/classes/Rev/IOWatcher.src/M000085.html +0 -25
- data/doc/rdoc/classes/Rev/Listener.html +0 -207
- data/doc/rdoc/classes/Rev/Listener.src/M000065.html +0 -19
- data/doc/rdoc/classes/Rev/Listener.src/M000066.html +0 -19
- data/doc/rdoc/classes/Rev/Listener.src/M000067.html +0 -16
- data/doc/rdoc/classes/Rev/Listener.src/M000068.html +0 -18
- data/doc/rdoc/classes/Rev/Loop.html +0 -395
- data/doc/rdoc/classes/Rev/Loop.src/M000070.html +0 -25
- data/doc/rdoc/classes/Rev/Loop.src/M000071.html +0 -45
- data/doc/rdoc/classes/Rev/Loop.src/M000072.html +0 -18
- data/doc/rdoc/classes/Rev/Loop.src/M000073.html +0 -23
- data/doc/rdoc/classes/Rev/Loop.src/M000074.html +0 -19
- data/doc/rdoc/classes/Rev/Loop.src/M000075.html +0 -17
- data/doc/rdoc/classes/Rev/Loop.src/M000076.html +0 -27
- data/doc/rdoc/classes/Rev/Loop.src/M000077.html +0 -32
- data/doc/rdoc/classes/Rev/Loop.src/M000078.html +0 -32
- data/doc/rdoc/classes/Rev/Server.html +0 -164
- data/doc/rdoc/classes/Rev/Server.src/M000121.html +0 -32
- data/doc/rdoc/classes/Rev/Server.src/M000122.html +0 -20
- data/doc/rdoc/classes/Rev/Socket.html +0 -213
- data/doc/rdoc/classes/Rev/Socket.src/M000035.html +0 -21
- data/doc/rdoc/classes/Rev/Socket.src/M000036.html +0 -25
- data/doc/rdoc/classes/Rev/Socket.src/M000037.html +0 -16
- data/doc/rdoc/classes/Rev/Socket.src/M000038.html +0 -16
- data/doc/rdoc/classes/Rev/Socket/Connector.html +0 -154
- data/doc/rdoc/classes/Rev/Socket/Connector.src/M000040.html +0 -19
- data/doc/rdoc/classes/Rev/Socket/Connector.src/M000041.html +0 -28
- data/doc/rdoc/classes/Rev/TCPListener.html +0 -161
- data/doc/rdoc/classes/Rev/TCPListener.src/M000069.html +0 -23
- data/doc/rdoc/classes/Rev/TCPServer.html +0 -147
- data/doc/rdoc/classes/Rev/TCPServer.src/M000123.html +0 -20
- data/doc/rdoc/classes/Rev/TCPSocket.html +0 -233
- data/doc/rdoc/classes/Rev/TCPSocket.src/M000056.html +0 -20
- data/doc/rdoc/classes/Rev/TCPSocket.src/M000057.html +0 -34
- data/doc/rdoc/classes/Rev/TCPSocket.src/M000058.html +0 -24
- data/doc/rdoc/classes/Rev/TCPSocket.src/M000059.html +0 -18
- data/doc/rdoc/classes/Rev/TCPSocket/TCPConnectResolver.html +0 -171
- data/doc/rdoc/classes/Rev/TCPSocket/TCPConnectResolver.src/M000060.html +0 -19
- data/doc/rdoc/classes/Rev/TCPSocket/TCPConnectResolver.src/M000061.html +0 -27
- data/doc/rdoc/classes/Rev/TCPSocket/TCPConnectResolver.src/M000062.html +0 -23
- data/doc/rdoc/classes/Rev/TCPSocket/TCPConnectSocket.html +0 -154
- data/doc/rdoc/classes/Rev/TCPSocket/TCPConnectSocket.src/M000063.html +0 -25
- data/doc/rdoc/classes/Rev/TCPSocket/TCPConnectSocket.src/M000064.html +0 -23
- data/doc/rdoc/classes/Rev/TimerWatcher.html +0 -288
- data/doc/rdoc/classes/Rev/TimerWatcher.src/M000086.html +0 -17
- data/doc/rdoc/classes/Rev/TimerWatcher.src/M000087.html +0 -27
- data/doc/rdoc/classes/Rev/TimerWatcher.src/M000088.html +0 -26
- data/doc/rdoc/classes/Rev/TimerWatcher.src/M000089.html +0 -27
- data/doc/rdoc/classes/Rev/TimerWatcher.src/M000090.html +0 -27
- data/doc/rdoc/classes/Rev/TimerWatcher.src/M000091.html +0 -42
- data/doc/rdoc/classes/Rev/TimerWatcher.src/M000092.html +0 -24
- data/doc/rdoc/classes/Rev/UNIXListener.html +0 -147
- data/doc/rdoc/classes/Rev/UNIXListener.src/M000120.html +0 -18
- data/doc/rdoc/classes/Rev/UNIXServer.html +0 -147
- data/doc/rdoc/classes/Rev/UNIXServer.src/M000030.html +0 -18
- data/doc/rdoc/classes/Rev/UNIXSocket.html +0 -175
- data/doc/rdoc/classes/Rev/UNIXSocket.src/M000093.html +0 -18
- data/doc/rdoc/classes/Rev/UNIXSocket.src/M000094.html +0 -21
- data/doc/rdoc/classes/Rev/Watcher.html +0 -349
- data/doc/rdoc/classes/Rev/Watcher.src/M000110.html +0 -20
- data/doc/rdoc/classes/Rev/Watcher.src/M000111.html +0 -20
- data/doc/rdoc/classes/Rev/Watcher.src/M000112.html +0 -17
- data/doc/rdoc/classes/Rev/Watcher.src/M000113.html +0 -48
- data/doc/rdoc/classes/Rev/Watcher.src/M000114.html +0 -62
- data/doc/rdoc/classes/Rev/Watcher.src/M000115.html +0 -34
- data/doc/rdoc/classes/Rev/Watcher.src/M000116.html +0 -34
- data/doc/rdoc/classes/Rev/Watcher.src/M000117.html +0 -27
- data/doc/rdoc/classes/Rev/Watcher.src/M000118.html +0 -24
- data/doc/rdoc/classes/Rev/Watcher.src/M000119.html +0 -27
- data/doc/rdoc/created.rid +0 -1
- data/doc/rdoc/files/LICENSE.html +0 -165
- data/doc/rdoc/files/README.html +0 -297
- data/doc/rdoc/files/ext/rev/rev_buffer_c.html +0 -101
- data/doc/rdoc/files/ext/rev/rev_ext_c.html +0 -101
- data/doc/rdoc/files/ext/rev/rev_io_watcher_c.html +0 -101
- data/doc/rdoc/files/ext/rev/rev_loop_c.html +0 -101
- data/doc/rdoc/files/ext/rev/rev_timer_watcher_c.html +0 -101
- data/doc/rdoc/files/ext/rev/rev_watcher_c.html +0 -101
- data/doc/rdoc/files/lib/rev/buffered_io_rb.html +0 -101
- data/doc/rdoc/files/lib/rev/dns_resolver_rb.html +0 -101
- data/doc/rdoc/files/lib/rev/http_client_rb.html +0 -101
- data/doc/rdoc/files/lib/rev/io_watcher_rb.html +0 -101
- data/doc/rdoc/files/lib/rev/listener_rb.html +0 -108
- data/doc/rdoc/files/lib/rev/loop_rb.html +0 -101
- data/doc/rdoc/files/lib/rev/server_rb.html +0 -101
- data/doc/rdoc/files/lib/rev/socket_rb.html +0 -109
- data/doc/rdoc/files/lib/rev/timer_watcher_rb.html +0 -101
- data/doc/rdoc/files/lib/rev/watcher_rb.html +0 -101
- data/doc/rdoc/files/lib/rev_rb.html +0 -101
- data/doc/rdoc/fr_class_index.html +0 -52
- data/doc/rdoc/fr_file_index.html +0 -45
- data/doc/rdoc/fr_method_index.html +0 -163
- data/doc/rdoc/index.html +0 -24
- data/doc/rdoc/rdoc-style.css +0 -208
@@ -1,18 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>chunked_encoding? (Rev::HttpResponseHeader)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/rev/http_client.rb, line 35</span>
|
14
|
-
35: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chunked_encoding?</span>
|
15
|
-
36: <span class="ruby-regexp re">/chunked/i</span> <span class="ruby-operator">===</span> <span class="ruby-keyword kw">self</span>[<span class="ruby-constant">HttpClient</span><span class="ruby-operator">::</span><span class="ruby-constant">TRANSFER_ENCODING</span>]
|
16
|
-
37: <span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,285 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: Rev::IOWatcher</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">Rev::IOWatcher</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/rev/io_watcher_rb.html">
|
59
|
-
lib/rev/io_watcher.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
<a href="../../files/lib/rev/timer_watcher_rb.html">
|
63
|
-
lib/rev/timer_watcher.rb
|
64
|
-
</a>
|
65
|
-
<br />
|
66
|
-
<a href="../../files/ext/rev/rev_buffer_c.html">
|
67
|
-
ext/rev/rev_buffer.c
|
68
|
-
</a>
|
69
|
-
<br />
|
70
|
-
</td>
|
71
|
-
</tr>
|
72
|
-
|
73
|
-
<tr class="top-aligned-row">
|
74
|
-
<td><strong>Parent:</strong></td>
|
75
|
-
<td>
|
76
|
-
Object
|
77
|
-
</td>
|
78
|
-
</tr>
|
79
|
-
</table>
|
80
|
-
</div>
|
81
|
-
<!-- banner header -->
|
82
|
-
|
83
|
-
<div id="bodyContent">
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
<div id="contextContent">
|
88
|
-
|
89
|
-
<div id="description">
|
90
|
-
<p>
|
91
|
-
<a href="IOWatcher.html">Rev::IOWatcher</a> monitors Ruby IO objects for
|
92
|
-
readability or writability. This allows your application to block while the
|
93
|
-
kernel is writing out data and fill the read or write buffer whenever there
|
94
|
-
is space available. It‘s used by the <a
|
95
|
-
href="BufferedIO.html">Rev::BufferedIO</a> class to provide high performace
|
96
|
-
I/O which is bound by the kernel‘s ability to read and write data.
|
97
|
-
</p>
|
98
|
-
|
99
|
-
</div>
|
100
|
-
|
101
|
-
|
102
|
-
</div>
|
103
|
-
|
104
|
-
<div id="method-list">
|
105
|
-
<h3 class="section-bar">Methods</h3>
|
106
|
-
|
107
|
-
<div class="name-list">
|
108
|
-
<a href="#M000080">attach</a>
|
109
|
-
<a href="#M000081">detach</a>
|
110
|
-
<a href="#M000083">disable</a>
|
111
|
-
<a href="#M000082">enable</a>
|
112
|
-
<a href="#M000079">new</a>
|
113
|
-
<a href="#M000084">on_readable</a>
|
114
|
-
<a href="#M000085">on_writable</a>
|
115
|
-
</div>
|
116
|
-
</div>
|
117
|
-
|
118
|
-
</div>
|
119
|
-
|
120
|
-
|
121
|
-
<!-- if includes -->
|
122
|
-
|
123
|
-
<div id="section">
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
<!-- if method_list -->
|
133
|
-
<div id="methods">
|
134
|
-
<h3 class="section-bar">Public Class methods</h3>
|
135
|
-
|
136
|
-
<div id="method-M000079" class="method-detail">
|
137
|
-
<a name="M000079"></a>
|
138
|
-
|
139
|
-
<div class="method-heading">
|
140
|
-
<a href="IOWatcher.src/M000079.html" target="Code" class="method-signature"
|
141
|
-
onclick="popupCode('IOWatcher.src/M000079.html');return false;">
|
142
|
-
<span class="method-name">new</span><span class="method-args">(...)</span>
|
143
|
-
</a>
|
144
|
-
</div>
|
145
|
-
|
146
|
-
<div class="method-description">
|
147
|
-
<p>
|
148
|
-
Method implementations
|
149
|
-
</p>
|
150
|
-
</div>
|
151
|
-
</div>
|
152
|
-
|
153
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
154
|
-
|
155
|
-
<div id="method-M000080" class="method-detail">
|
156
|
-
<a name="M000080"></a>
|
157
|
-
|
158
|
-
<div class="method-heading">
|
159
|
-
<a href="IOWatcher.src/M000080.html" target="Code" class="method-signature"
|
160
|
-
onclick="popupCode('IOWatcher.src/M000080.html');return false;">
|
161
|
-
<span class="method-name">Rev::IOWatcher.attach(loop) → Rev::IOWatcher<br />
|
162
|
-
</span>
|
163
|
-
</a>
|
164
|
-
</div>
|
165
|
-
|
166
|
-
<div class="method-description">
|
167
|
-
<p>
|
168
|
-
Attach the IO watcher to the given <a href="Loop.html">Rev::Loop</a>. If
|
169
|
-
the watcher is already attached to a loop, <a
|
170
|
-
href="IOWatcher.html#M000081">detach</a> it from the old one and <a
|
171
|
-
href="IOWatcher.html#M000080">attach</a> it to the <a
|
172
|
-
href="IOWatcher.html#M000079">new</a> one.
|
173
|
-
</p>
|
174
|
-
</div>
|
175
|
-
</div>
|
176
|
-
|
177
|
-
<div id="method-M000081" class="method-detail">
|
178
|
-
<a name="M000081"></a>
|
179
|
-
|
180
|
-
<div class="method-heading">
|
181
|
-
<a href="IOWatcher.src/M000081.html" target="Code" class="method-signature"
|
182
|
-
onclick="popupCode('IOWatcher.src/M000081.html');return false;">
|
183
|
-
<span class="method-name">Rev::IOWatcher.detach → Rev::IOWatcher<br />
|
184
|
-
</span>
|
185
|
-
</a>
|
186
|
-
</div>
|
187
|
-
|
188
|
-
<div class="method-description">
|
189
|
-
<p>
|
190
|
-
Detach the IO watcher from its current <a href="Loop.html">Rev::Loop</a>.
|
191
|
-
</p>
|
192
|
-
</div>
|
193
|
-
</div>
|
194
|
-
|
195
|
-
<div id="method-M000083" class="method-detail">
|
196
|
-
<a name="M000083"></a>
|
197
|
-
|
198
|
-
<div class="method-heading">
|
199
|
-
<a href="IOWatcher.src/M000083.html" target="Code" class="method-signature"
|
200
|
-
onclick="popupCode('IOWatcher.src/M000083.html');return false;">
|
201
|
-
<span class="method-name">Rev::IOWatcher.disable → Rev::IOWatcher<br />
|
202
|
-
</span>
|
203
|
-
</a>
|
204
|
-
</div>
|
205
|
-
|
206
|
-
<div class="method-description">
|
207
|
-
<p>
|
208
|
-
Temporarily <a href="IOWatcher.html#M000083">disable</a> an IO watcher
|
209
|
-
which is attached to a loop. This is useful if you wish to toggle event
|
210
|
-
monitoring on and off.
|
211
|
-
</p>
|
212
|
-
</div>
|
213
|
-
</div>
|
214
|
-
|
215
|
-
<div id="method-M000082" class="method-detail">
|
216
|
-
<a name="M000082"></a>
|
217
|
-
|
218
|
-
<div class="method-heading">
|
219
|
-
<a href="IOWatcher.src/M000082.html" target="Code" class="method-signature"
|
220
|
-
onclick="popupCode('IOWatcher.src/M000082.html');return false;">
|
221
|
-
<span class="method-name">Rev::IOWatcher.enable → Rev::IOWatcher<br />
|
222
|
-
</span>
|
223
|
-
</a>
|
224
|
-
</div>
|
225
|
-
|
226
|
-
<div class="method-description">
|
227
|
-
<p>
|
228
|
-
Re-<a href="IOWatcher.html#M000082">enable</a> an IO watcher which has been
|
229
|
-
temporarily disabled. See the <a href="IOWatcher.html#M000083">disable</a>
|
230
|
-
method for a more thorough explanation.
|
231
|
-
</p>
|
232
|
-
</div>
|
233
|
-
</div>
|
234
|
-
|
235
|
-
<div id="method-M000084" class="method-detail">
|
236
|
-
<a name="M000084"></a>
|
237
|
-
|
238
|
-
<div class="method-heading">
|
239
|
-
<a href="IOWatcher.src/M000084.html" target="Code" class="method-signature"
|
240
|
-
onclick="popupCode('IOWatcher.src/M000084.html');return false;">
|
241
|
-
<span class="method-name">Rev::IOWatcher#on_readable → nil<br />
|
242
|
-
</span>
|
243
|
-
</a>
|
244
|
-
</div>
|
245
|
-
|
246
|
-
<div class="method-description">
|
247
|
-
<p>
|
248
|
-
Called whenever the IO object associated with the <a
|
249
|
-
href="IOWatcher.html">IOWatcher</a> is readable
|
250
|
-
</p>
|
251
|
-
</div>
|
252
|
-
</div>
|
253
|
-
|
254
|
-
<div id="method-M000085" class="method-detail">
|
255
|
-
<a name="M000085"></a>
|
256
|
-
|
257
|
-
<div class="method-heading">
|
258
|
-
<a href="IOWatcher.src/M000085.html" target="Code" class="method-signature"
|
259
|
-
onclick="popupCode('IOWatcher.src/M000085.html');return false;">
|
260
|
-
<span class="method-name">Rev::IOWatcher#on_writable → nil<br />
|
261
|
-
</span>
|
262
|
-
</a>
|
263
|
-
</div>
|
264
|
-
|
265
|
-
<div class="method-description">
|
266
|
-
<p>
|
267
|
-
Called whenever the IO object associated with the <a
|
268
|
-
href="IOWatcher.html">IOWatcher</a> is writable
|
269
|
-
</p>
|
270
|
-
</div>
|
271
|
-
</div>
|
272
|
-
|
273
|
-
|
274
|
-
</div>
|
275
|
-
|
276
|
-
|
277
|
-
</div>
|
278
|
-
|
279
|
-
|
280
|
-
<div id="validator-badges">
|
281
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
282
|
-
</div>
|
283
|
-
|
284
|
-
</body>
|
285
|
-
</html>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>new (Rev::IOWatcher)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre>/* Method implementations */
|
14
|
-
static VALUE Rev_IOWatcher_initialize(int argc, VALUE *argv, VALUE self);
|
15
|
-
</pre>
|
16
|
-
</body>
|
17
|
-
</html>
|
@@ -1,27 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>attach (Rev::IOWatcher)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre>/**
|
14
|
-
* call-seq:
|
15
|
-
* Rev::IOWatcher.attach(loop) -> Rev::IOWatcher
|
16
|
-
*
|
17
|
-
* Attach the IO watcher to the given Rev::Loop. If the watcher is already attached
|
18
|
-
* to a loop, detach it from the old one and attach it to the new one.
|
19
|
-
*/
|
20
|
-
static VALUE Rev_IOWatcher_attach(VALUE self, VALUE loop)
|
21
|
-
{
|
22
|
-
Watcher_Attach(io, Rev_IOWatcher_detach, self, loop);
|
23
|
-
|
24
|
-
return self;
|
25
|
-
}</pre>
|
26
|
-
</body>
|
27
|
-
</html>
|
@@ -1,26 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>detach (Rev::IOWatcher)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre>/**
|
14
|
-
* call-seq:
|
15
|
-
* Rev::IOWatcher.detach -> Rev::IOWatcher
|
16
|
-
*
|
17
|
-
* Detach the IO watcher from its current Rev::Loop.
|
18
|
-
*/
|
19
|
-
static VALUE Rev_IOWatcher_detach(VALUE self)
|
20
|
-
{
|
21
|
-
Watcher_Detach(io, self);
|
22
|
-
|
23
|
-
return self;
|
24
|
-
}</pre>
|
25
|
-
</body>
|
26
|
-
</html>
|
@@ -1,27 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>enable (Rev::IOWatcher)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre>/**
|
14
|
-
* call-seq:
|
15
|
-
* Rev::IOWatcher.enable -> Rev::IOWatcher
|
16
|
-
*
|
17
|
-
* Re-enable an IO watcher which has been temporarily disabled. See the
|
18
|
-
* disable method for a more thorough explanation.
|
19
|
-
*/
|
20
|
-
static VALUE Rev_IOWatcher_enable(VALUE self)
|
21
|
-
{
|
22
|
-
Watcher_Enable(io, self);
|
23
|
-
|
24
|
-
return self;
|
25
|
-
}</pre>
|
26
|
-
</body>
|
27
|
-
</html>
|
@@ -1,27 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>disable (Rev::IOWatcher)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre>/**
|
14
|
-
* call-seq:
|
15
|
-
* Rev::IOWatcher.disable -> Rev::IOWatcher
|
16
|
-
*
|
17
|
-
* Temporarily disable an IO watcher which is attached to a loop.
|
18
|
-
* This is useful if you wish to toggle event monitoring on and off.
|
19
|
-
*/
|
20
|
-
static VALUE Rev_IOWatcher_disable(VALUE self)
|
21
|
-
{
|
22
|
-
Watcher_Disable(io, self);
|
23
|
-
|
24
|
-
return self;
|
25
|
-
}</pre>
|
26
|
-
</body>
|
27
|
-
</html>
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>on_readable (Rev::IOWatcher)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre>/**
|
14
|
-
* call-seq:
|
15
|
-
* Rev::IOWatcher#on_readable -> nil
|
16
|
-
*
|
17
|
-
* Called whenever the IO object associated with the IOWatcher is readable
|
18
|
-
*/
|
19
|
-
static VALUE Rev_IOWatcher_on_readable(VALUE self)
|
20
|
-
{
|
21
|
-
return Qnil;
|
22
|
-
}</pre>
|
23
|
-
</body>
|
24
|
-
</html>
|