eventmachine 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. data/COPYING +281 -0
  2. data/README +69 -0
  3. data/RELEASE_NOTES +18 -0
  4. data/doc/classes/Echo.html +180 -0
  5. data/doc/classes/Echo.src/M000033.html +23 -0
  6. data/doc/classes/Echo.src/M000034.html +19 -0
  7. data/doc/classes/Echo.src/M000035.html +19 -0
  8. data/doc/classes/Echo.src/M000036.html +18 -0
  9. data/doc/classes/EventMachine.html +369 -0
  10. data/doc/classes/EventMachine.src/M000002.html +24 -0
  11. data/doc/classes/EventMachine.src/M000003.html +24 -0
  12. data/doc/classes/EventMachine.src/M000004.html +26 -0
  13. data/doc/classes/EventMachine.src/M000005.html +21 -0
  14. data/doc/classes/EventMachine.src/M000006.html +23 -0
  15. data/doc/classes/EventMachine.src/M000007.html +28 -0
  16. data/doc/classes/EventMachine.src/M000008.html +20 -0
  17. data/doc/classes/EventMachine.src/M000009.html +19 -0
  18. data/doc/classes/EventMachine.src/M000010.html +18 -0
  19. data/doc/classes/EventMachine.src/M000011.html +18 -0
  20. data/doc/classes/EventMachine/Connection.html +341 -0
  21. data/doc/classes/EventMachine/Connection.src/M000020.html +19 -0
  22. data/doc/classes/EventMachine/Connection.src/M000021.html +17 -0
  23. data/doc/classes/EventMachine/Connection.src/M000022.html +18 -0
  24. data/doc/classes/EventMachine/Connection.src/M000023.html +17 -0
  25. data/doc/classes/EventMachine/Connection.src/M000024.html +18 -0
  26. data/doc/classes/EventMachine/Connection.src/M000025.html +18 -0
  27. data/doc/classes/EventMachine/Connection.src/M000026.html +18 -0
  28. data/doc/classes/EventMachine/Connection.src/M000027.html +18 -0
  29. data/doc/classes/EventMachine/Connection.src/M000028.html +17 -0
  30. data/doc/classes/EventMachine/Connection.src/M000029.html +18 -0
  31. data/doc/classes/EventMachine/Connection.src/M000030.html +18 -0
  32. data/doc/classes/EventMachine/Connection.src/M000031.html +18 -0
  33. data/doc/classes/EventMachine/Connection.src/M000032.html +18 -0
  34. data/doc/classes/EventMachine/ConnectionAlreadyBound.html +111 -0
  35. data/doc/classes/EventMachine/ConnectionNotBound.html +111 -0
  36. data/doc/classes/EventMachine/Connections.html +292 -0
  37. data/doc/classes/EventMachine/Connections.src/M000012.html +20 -0
  38. data/doc/classes/EventMachine/Connections.src/M000013.html +23 -0
  39. data/doc/classes/EventMachine/Connections.src/M000014.html +23 -0
  40. data/doc/classes/EventMachine/Connections.src/M000015.html +24 -0
  41. data/doc/classes/EventMachine/Connections.src/M000016.html +19 -0
  42. data/doc/classes/EventMachine/Connections.src/M000017.html +21 -0
  43. data/doc/classes/EventMachine/Connections.src/M000018.html +19 -0
  44. data/doc/classes/EventMachine/Connections.src/M000019.html +20 -0
  45. data/doc/classes/EventMachine/EventCodes.html +133 -0
  46. data/doc/classes/EventMachine/NoConnectionMade.html +111 -0
  47. data/doc/classes/EventMachine/NoHandlerForAcceptedConnection.html +111 -0
  48. data/doc/classes/EventMachine/NoServerCreated.html +111 -0
  49. data/doc/classes/EventMachine/TimerNotInstalled.html +111 -0
  50. data/doc/classes/EventMachine/TooManyAcceptors.html +111 -0
  51. data/doc/classes/EventMachine/TooManyTimersPending.html +111 -0
  52. data/doc/classes/EventMachine/UnknownTimerFired.html +111 -0
  53. data/doc/classes/Zzz.html +131 -0
  54. data/doc/classes/Zzz.src/M000001.html +18 -0
  55. data/doc/created.rid +1 -0
  56. data/doc/files/binder_cpp.html +101 -0
  57. data/doc/files/ed_cpp.html +101 -0
  58. data/doc/files/em_cpp.html +101 -0
  59. data/doc/files/event_machine_rb.html +118 -0
  60. data/doc/files/g_rb.html +108 -0
  61. data/doc/files/lib/eventmachine_rb.html +114 -0
  62. data/doc/files/libmain_cpp.html +101 -0
  63. data/doc/files/sigs_cpp.html +101 -0
  64. data/doc/files/tests/testem_rb.html +110 -0
  65. data/doc/fr_class_index.html +41 -0
  66. data/doc/fr_file_index.html +35 -0
  67. data/doc/fr_method_index.html +62 -0
  68. data/doc/index.html +24 -0
  69. data/ext/libeventmachine.so +0 -0
  70. data/lib/eventmachine.rb +631 -0
  71. data/tests/testem.rb +5 -0
  72. metadata +121 -0
@@ -0,0 +1,19 @@
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 (EventMachine::Connection)</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/eventmachine.rb, line 97</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">sig</span>
15
+ <span class="ruby-ivar">@signature</span> = <span class="ruby-identifier">sig</span>
16
+ <span class="ruby-identifier">post_init</span>
17
+ <span class="ruby-keyword kw">end</span></pre>
18
+ </body>
19
+ </html>
@@ -0,0 +1,17 @@
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>post_init (EventMachine::Connection)</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/eventmachine.rb, line 102</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post_init</span>
15
+ <span class="ruby-keyword kw">end</span></pre>
16
+ </body>
17
+ </html>
@@ -0,0 +1,18 @@
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>receive_data (EventMachine::Connection)</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/eventmachine.rb, line 105</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">receive_data</span> <span class="ruby-identifier">data</span>
15
+ <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;............&gt;&gt;&gt;#{data.length}&quot;</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,17 @@
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>unbind (EventMachine::Connection)</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/eventmachine.rb, line 109</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unbind</span>
15
+ <span class="ruby-keyword kw">end</span></pre>
16
+ </body>
17
+ </html>
@@ -0,0 +1,18 @@
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>close_connection (EventMachine::Connection)</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/eventmachine.rb, line 112</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close_connection</span> <span class="ruby-identifier">after_writing</span> = <span class="ruby-keyword kw">false</span>
15
+ <span class="ruby-constant">EventMachine</span><span class="ruby-operator">::</span><span class="ruby-identifier">close_connection</span> <span class="ruby-ivar">@signature</span>, <span class="ruby-identifier">after_writing</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,18 @@
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>close_connection_after_writing (EventMachine::Connection)</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/eventmachine.rb, line 116</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close_connection_after_writing</span>
15
+ <span class="ruby-identifier">close_connection</span> <span class="ruby-keyword kw">true</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,18 @@
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>send_data (EventMachine::Connection)</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/eventmachine.rb, line 120</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_data</span> <span class="ruby-identifier">data</span>
15
+ <span class="ruby-constant">EventMachine</span><span class="ruby-operator">::</span><span class="ruby-identifier">send_data</span> <span class="ruby-ivar">@signature</span>, <span class="ruby-identifier">data</span>, <span class="ruby-identifier">data</span>.<span class="ruby-identifier">length</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,18 @@
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 (EventMachine::Connection)</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 event_machine.rb, line 221</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">sig</span>
15
+ <span class="ruby-ivar">@signature</span> = <span class="ruby-identifier">sig</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,17 @@
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>unbind (EventMachine::Connection)</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 event_machine.rb, line 228</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unbind</span>
15
+ <span class="ruby-keyword kw">end</span></pre>
16
+ </body>
17
+ </html>
@@ -0,0 +1,18 @@
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>send_data (EventMachine::Connection)</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 event_machine.rb, line 234</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_data</span> <span class="ruby-identifier">data</span>
15
+ <span class="ruby-constant">EventMachine</span><span class="ruby-operator">::</span><span class="ruby-identifier">send_data_to_connection</span> <span class="ruby-ivar">@signature</span>, <span class="ruby-identifier">data</span>, <span class="ruby-identifier">data</span>.<span class="ruby-identifier">length</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,18 @@
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>receive_data (EventMachine::Connection)</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 event_machine.rb, line 241</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">receive_data</span> <span class="ruby-identifier">data</span>
15
+ <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;------------#{data.length} bytes------------&quot;</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,18 @@
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>close_connection (EventMachine::Connection)</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 event_machine.rb, line 248</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close_connection</span> <span class="ruby-identifier">after_write</span> = <span class="ruby-keyword kw">false</span>
15
+ <span class="ruby-constant">EventMachine</span><span class="ruby-operator">::</span><span class="ruby-constant">CloseConnection</span>.<span class="ruby-identifier">call</span> <span class="ruby-ivar">@signature</span>, (<span class="ruby-identifier">after_write</span> <span class="ruby-value">? </span><span class="ruby-value">1</span> <span class="ruby-operator">:</span> <span class="ruby-value">0</span>)
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,18 @@
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>close_connection_after_writing (EventMachine::Connection)</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 event_machine.rb, line 255</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close_connection_after_writing</span>
15
+ <span class="ruby-identifier">close_connection</span> <span class="ruby-keyword kw">true</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,111 @@
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: EventMachine::ConnectionAlreadyBound</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">EventMachine::ConnectionAlreadyBound</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/event_machine_rb.html">
59
+ event_machine.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ Exception
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </div>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+
77
+
78
+
79
+ <div id="contextContent">
80
+
81
+
82
+
83
+ </div>
84
+
85
+
86
+ </div>
87
+
88
+
89
+ <!-- if includes -->
90
+
91
+ <div id="section">
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <!-- if method_list -->
101
+
102
+
103
+ </div>
104
+
105
+
106
+ <div id="validator-badges">
107
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
108
+ </div>
109
+
110
+ </body>
111
+ </html>
@@ -0,0 +1,111 @@
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: EventMachine::ConnectionNotBound</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">EventMachine::ConnectionNotBound</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/event_machine_rb.html">
59
+ event_machine.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ Exception
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </div>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+
77
+
78
+
79
+ <div id="contextContent">
80
+
81
+
82
+
83
+ </div>
84
+
85
+
86
+ </div>
87
+
88
+
89
+ <!-- if includes -->
90
+
91
+ <div id="section">
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <!-- if method_list -->
101
+
102
+
103
+ </div>
104
+
105
+
106
+ <div id="validator-badges">
107
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
108
+ </div>
109
+
110
+ </body>
111
+ </html>