eventmachine 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,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 (Zzz)</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 271</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;GOT #{data.length} bytes&quot;</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
data/doc/created.rid ADDED
@@ -0,0 +1 @@
1
+ Wed Apr 12 15:41:46 EDT 2006
@@ -0,0 +1,101 @@
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>File: binder.cpp</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="fileHeader">
50
+ <h1>binder.cpp</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>binder.cpp
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Sun Apr 09 14:44:12 EDT 2006</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+
72
+
73
+ </div>
74
+
75
+
76
+ </div>
77
+
78
+
79
+ <!-- if includes -->
80
+
81
+ <div id="section">
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+ <!-- if method_list -->
91
+
92
+
93
+ </div>
94
+
95
+
96
+ <div id="validator-badges">
97
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
98
+ </div>
99
+
100
+ </body>
101
+ </html>
@@ -0,0 +1,101 @@
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>File: ed.cpp</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="fileHeader">
50
+ <h1>ed.cpp</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>ed.cpp
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Mon Apr 10 12:31:26 EDT 2006</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+
72
+
73
+ </div>
74
+
75
+
76
+ </div>
77
+
78
+
79
+ <!-- if includes -->
80
+
81
+ <div id="section">
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+ <!-- if method_list -->
91
+
92
+
93
+ </div>
94
+
95
+
96
+ <div id="validator-badges">
97
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
98
+ </div>
99
+
100
+ </body>
101
+ </html>
@@ -0,0 +1,101 @@
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>File: em.cpp</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="fileHeader">
50
+ <h1>em.cpp</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>em.cpp
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Sun Apr 09 16:07:54 EDT 2006</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+
72
+
73
+ </div>
74
+
75
+
76
+ </div>
77
+
78
+
79
+ <!-- if includes -->
80
+
81
+ <div id="section">
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+ <!-- if method_list -->
91
+
92
+
93
+ </div>
94
+
95
+
96
+ <div id="validator-badges">
97
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
98
+ </div>
99
+
100
+ </body>
101
+ </html>
@@ -0,0 +1,118 @@
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>File: event_machine.rb</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="fileHeader">
50
+ <h1>event_machine.rb</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>event_machine.rb
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Sat Apr 08 17:15:36 EDT 2006</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+ <div id="description">
72
+ <p>
73
+ $Id: event_machine.rb 2217 2006-04-08 21:15:36Z francis $
74
+ </p>
75
+ <p>
76
+ BAYSHORE <a href="../classes/EventMachine.html">EventMachine</a>
77
+ </p>
78
+
79
+ </div>
80
+
81
+ <div id="requires-list">
82
+ <h3 class="section-bar">Required files</h3>
83
+
84
+ <div class="name-list">
85
+ dl/import&nbsp;&nbsp;
86
+ singleton&nbsp;&nbsp;
87
+ </div>
88
+ </div>
89
+
90
+ </div>
91
+
92
+
93
+ </div>
94
+
95
+
96
+ <!-- if includes -->
97
+
98
+ <div id="section">
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+ <!-- if method_list -->
108
+
109
+
110
+ </div>
111
+
112
+
113
+ <div id="validator-badges">
114
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
115
+ </div>
116
+
117
+ </body>
118
+ </html>