sensu-em 2.0.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +21 -0
- data/.travis.yml +12 -0
- data/.yardopts +7 -0
- data/CHANGELOG.md +33 -0
- data/GNU +281 -0
- data/Gemfile +2 -0
- data/LICENSE +60 -0
- data/README.md +109 -0
- data/Rakefile +20 -0
- data/docs/DocumentationGuidesIndex.md +27 -0
- data/docs/GettingStarted.md +521 -0
- data/docs/old/ChangeLog +211 -0
- data/docs/old/DEFERRABLES +246 -0
- data/docs/old/EPOLL +141 -0
- data/docs/old/INSTALL +13 -0
- data/docs/old/KEYBOARD +42 -0
- data/docs/old/LEGAL +25 -0
- data/docs/old/LIGHTWEIGHT_CONCURRENCY +130 -0
- data/docs/old/PURE_RUBY +75 -0
- data/docs/old/RELEASE_NOTES +94 -0
- data/docs/old/SMTP +4 -0
- data/docs/old/SPAWNED_PROCESSES +148 -0
- data/docs/old/TODO +8 -0
- data/eventmachine.gemspec +38 -0
- data/examples/guides/getting_started/01_eventmachine_echo_server.rb +18 -0
- data/examples/guides/getting_started/02_eventmachine_echo_server_that_recognizes_exit_command.rb +22 -0
- data/examples/guides/getting_started/03_simple_chat_server.rb +149 -0
- data/examples/guides/getting_started/04_simple_chat_server_step_one.rb +27 -0
- data/examples/guides/getting_started/05_simple_chat_server_step_two.rb +43 -0
- data/examples/guides/getting_started/06_simple_chat_server_step_three.rb +98 -0
- data/examples/guides/getting_started/07_simple_chat_server_step_four.rb +121 -0
- data/examples/guides/getting_started/08_simple_chat_server_step_five.rb +141 -0
- data/examples/old/ex_channel.rb +43 -0
- data/examples/old/ex_queue.rb +2 -0
- data/examples/old/ex_tick_loop_array.rb +15 -0
- data/examples/old/ex_tick_loop_counter.rb +32 -0
- data/examples/old/helper.rb +2 -0
- data/ext/binder.cpp +124 -0
- data/ext/binder.h +46 -0
- data/ext/cmain.cpp +887 -0
- data/ext/ed.cpp +1988 -0
- data/ext/ed.h +422 -0
- data/ext/em.cpp +2352 -0
- data/ext/em.h +253 -0
- data/ext/eventmachine.h +128 -0
- data/ext/extconf.rb +179 -0
- data/ext/fastfilereader/extconf.rb +103 -0
- data/ext/fastfilereader/mapper.cpp +214 -0
- data/ext/fastfilereader/mapper.h +59 -0
- data/ext/fastfilereader/rubymain.cpp +127 -0
- data/ext/kb.cpp +79 -0
- data/ext/page.cpp +107 -0
- data/ext/page.h +51 -0
- data/ext/pipe.cpp +347 -0
- data/ext/project.h +161 -0
- data/ext/rubymain.cpp +1318 -0
- data/ext/ssl.cpp +468 -0
- data/ext/ssl.h +94 -0
- data/java/.classpath +6 -0
- data/java/.gitignore +1 -0
- data/java/.project +17 -0
- data/java/src/com/rubyeventmachine/DatagramPacket.java +13 -0
- data/java/src/com/rubyeventmachine/EmReactor.java +529 -0
- data/java/src/com/rubyeventmachine/EmReactorException.java +40 -0
- data/java/src/com/rubyeventmachine/EventCallback.java +7 -0
- data/java/src/com/rubyeventmachine/EventCode.java +26 -0
- data/java/src/com/rubyeventmachine/EventableChannel.java +130 -0
- data/java/src/com/rubyeventmachine/EventableDatagramChannel.java +180 -0
- data/java/src/com/rubyeventmachine/EventableSocketChannel.java +405 -0
- data/java/src/com/rubyeventmachine/SslBox.java +310 -0
- data/lib/em/buftok.rb +110 -0
- data/lib/em/callback.rb +58 -0
- data/lib/em/channel.rb +64 -0
- data/lib/em/completion.rb +304 -0
- data/lib/em/connection.rb +712 -0
- data/lib/em/deferrable/pool.rb +2 -0
- data/lib/em/deferrable.rb +210 -0
- data/lib/em/file_watch.rb +73 -0
- data/lib/em/future.rb +61 -0
- data/lib/em/iterator.rb +231 -0
- data/lib/em/messages.rb +66 -0
- data/lib/em/pool.rb +151 -0
- data/lib/em/process_watch.rb +45 -0
- data/lib/em/processes.rb +123 -0
- data/lib/em/protocols/header_and_content.rb +138 -0
- data/lib/em/protocols/httpclient.rb +279 -0
- data/lib/em/protocols/httpclient2.rb +600 -0
- data/lib/em/protocols/line_and_text.rb +125 -0
- data/lib/em/protocols/line_protocol.rb +29 -0
- data/lib/em/protocols/linetext2.rb +161 -0
- data/lib/em/protocols/memcache.rb +331 -0
- data/lib/em/protocols/object_protocol.rb +46 -0
- data/lib/em/protocols/postgres3.rb +246 -0
- data/lib/em/protocols/saslauth.rb +175 -0
- data/lib/em/protocols/smtpclient.rb +365 -0
- data/lib/em/protocols/smtpserver.rb +643 -0
- data/lib/em/protocols/socks4.rb +66 -0
- data/lib/em/protocols/stomp.rb +205 -0
- data/lib/em/protocols/tcptest.rb +54 -0
- data/lib/em/protocols.rb +37 -0
- data/lib/em/pure_ruby.rb +1017 -0
- data/lib/em/queue.rb +71 -0
- data/lib/em/resolver.rb +209 -0
- data/lib/em/spawnable.rb +84 -0
- data/lib/em/streamer.rb +118 -0
- data/lib/em/threaded_resource.rb +90 -0
- data/lib/em/tick_loop.rb +85 -0
- data/lib/em/timers.rb +61 -0
- data/lib/em/version.rb +3 -0
- data/lib/eventmachine.rb +1553 -0
- data/lib/jeventmachine.rb +321 -0
- data/lib/rubyeventmachine.jar +0 -0
- data/rakelib/cpp.rake_example +77 -0
- data/rakelib/package.rake +98 -0
- data/rakelib/test.rake +8 -0
- data/tests/client.crt +31 -0
- data/tests/client.key +51 -0
- data/tests/em_test_helper.rb +64 -0
- data/tests/server.crt +36 -0
- data/tests/server.key +51 -0
- data/tests/test_attach.rb +150 -0
- data/tests/test_basic.rb +294 -0
- data/tests/test_channel.rb +62 -0
- data/tests/test_completion.rb +177 -0
- data/tests/test_connection_count.rb +53 -0
- data/tests/test_defer.rb +18 -0
- data/tests/test_deferrable.rb +35 -0
- data/tests/test_epoll.rb +145 -0
- data/tests/test_error_handler.rb +38 -0
- data/tests/test_exc.rb +28 -0
- data/tests/test_file_watch.rb +65 -0
- data/tests/test_futures.rb +170 -0
- data/tests/test_get_sock_opt.rb +37 -0
- data/tests/test_handler_check.rb +35 -0
- data/tests/test_hc.rb +155 -0
- data/tests/test_httpclient.rb +190 -0
- data/tests/test_httpclient2.rb +133 -0
- data/tests/test_idle_connection.rb +25 -0
- data/tests/test_inactivity_timeout.rb +54 -0
- data/tests/test_iterator.rb +97 -0
- data/tests/test_kb.rb +34 -0
- data/tests/test_line_protocol.rb +33 -0
- data/tests/test_ltp.rb +138 -0
- data/tests/test_ltp2.rb +288 -0
- data/tests/test_next_tick.rb +104 -0
- data/tests/test_object_protocol.rb +36 -0
- data/tests/test_pause.rb +102 -0
- data/tests/test_pending_connect_timeout.rb +52 -0
- data/tests/test_pool.rb +194 -0
- data/tests/test_process_watch.rb +48 -0
- data/tests/test_processes.rb +128 -0
- data/tests/test_proxy_connection.rb +180 -0
- data/tests/test_pure.rb +88 -0
- data/tests/test_queue.rb +50 -0
- data/tests/test_resolver.rb +55 -0
- data/tests/test_running.rb +14 -0
- data/tests/test_sasl.rb +47 -0
- data/tests/test_send_file.rb +217 -0
- data/tests/test_servers.rb +33 -0
- data/tests/test_set_sock_opt.rb +37 -0
- data/tests/test_shutdown_hooks.rb +23 -0
- data/tests/test_smtpclient.rb +55 -0
- data/tests/test_smtpserver.rb +57 -0
- data/tests/test_spawn.rb +293 -0
- data/tests/test_ssl_args.rb +78 -0
- data/tests/test_ssl_echo_data.rb +60 -0
- data/tests/test_ssl_methods.rb +56 -0
- data/tests/test_ssl_verify.rb +82 -0
- data/tests/test_stomp.rb +37 -0
- data/tests/test_system.rb +42 -0
- data/tests/test_threaded_resource.rb +53 -0
- data/tests/test_tick_loop.rb +59 -0
- data/tests/test_timers.rb +123 -0
- data/tests/test_ud.rb +8 -0
- data/tests/test_unbind_reason.rb +48 -0
- metadata +297 -0
metadata
ADDED
@@ -0,0 +1,297 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sensu-em
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.0
|
5
|
+
platform: java
|
6
|
+
authors:
|
7
|
+
- Francis Cianfrocca
|
8
|
+
- Aman Gupta
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-05-18 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rake-compiler
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ~>
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 0.8.3
|
21
|
+
requirement: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - ~>
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: 0.8.3
|
26
|
+
prerelease: false
|
27
|
+
type: :development
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: yard
|
30
|
+
version_requirements: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 0.8.5.2
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - '>='
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 0.8.5.2
|
40
|
+
prerelease: false
|
41
|
+
type: :development
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: jruby-openssl
|
44
|
+
version_requirements: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - '>='
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
prerelease: false
|
55
|
+
type: :runtime
|
56
|
+
description: |-
|
57
|
+
EventMachine implements a fast, single-threaded engine for arbitrary network
|
58
|
+
communications. It's extremely easy to use in Ruby. EventMachine wraps all
|
59
|
+
interactions with IP sockets, allowing programs to concentrate on the
|
60
|
+
implementation of network protocols. It can be used to create both network
|
61
|
+
servers and clients. To create a server or client, a Ruby program only needs
|
62
|
+
to specify the IP address and port, and provide a Module that implements the
|
63
|
+
communications protocol. Implementations of several standard network protocols
|
64
|
+
are provided with the package, primarily to serve as examples. The real goal
|
65
|
+
of EventMachine is to enable programs to easily interface with other programs
|
66
|
+
using TCP/IP, especially if custom protocols are required.
|
67
|
+
email:
|
68
|
+
- garbagecat10@gmail.com
|
69
|
+
- aman@tmm1.net
|
70
|
+
executables: []
|
71
|
+
extensions: []
|
72
|
+
extra_rdoc_files:
|
73
|
+
- README.md
|
74
|
+
- docs/DocumentationGuidesIndex.md
|
75
|
+
- docs/GettingStarted.md
|
76
|
+
- docs/old/ChangeLog
|
77
|
+
- docs/old/DEFERRABLES
|
78
|
+
- docs/old/EPOLL
|
79
|
+
- docs/old/INSTALL
|
80
|
+
- docs/old/KEYBOARD
|
81
|
+
- docs/old/LEGAL
|
82
|
+
- docs/old/LIGHTWEIGHT_CONCURRENCY
|
83
|
+
- docs/old/PURE_RUBY
|
84
|
+
- docs/old/RELEASE_NOTES
|
85
|
+
- docs/old/SMTP
|
86
|
+
- docs/old/SPAWNED_PROCESSES
|
87
|
+
- docs/old/TODO
|
88
|
+
files:
|
89
|
+
- .gitignore
|
90
|
+
- .travis.yml
|
91
|
+
- .yardopts
|
92
|
+
- CHANGELOG.md
|
93
|
+
- GNU
|
94
|
+
- Gemfile
|
95
|
+
- LICENSE
|
96
|
+
- README.md
|
97
|
+
- Rakefile
|
98
|
+
- docs/DocumentationGuidesIndex.md
|
99
|
+
- docs/GettingStarted.md
|
100
|
+
- docs/old/ChangeLog
|
101
|
+
- docs/old/DEFERRABLES
|
102
|
+
- docs/old/EPOLL
|
103
|
+
- docs/old/INSTALL
|
104
|
+
- docs/old/KEYBOARD
|
105
|
+
- docs/old/LEGAL
|
106
|
+
- docs/old/LIGHTWEIGHT_CONCURRENCY
|
107
|
+
- docs/old/PURE_RUBY
|
108
|
+
- docs/old/RELEASE_NOTES
|
109
|
+
- docs/old/SMTP
|
110
|
+
- docs/old/SPAWNED_PROCESSES
|
111
|
+
- docs/old/TODO
|
112
|
+
- eventmachine.gemspec
|
113
|
+
- examples/guides/getting_started/01_eventmachine_echo_server.rb
|
114
|
+
- examples/guides/getting_started/02_eventmachine_echo_server_that_recognizes_exit_command.rb
|
115
|
+
- examples/guides/getting_started/03_simple_chat_server.rb
|
116
|
+
- examples/guides/getting_started/04_simple_chat_server_step_one.rb
|
117
|
+
- examples/guides/getting_started/05_simple_chat_server_step_two.rb
|
118
|
+
- examples/guides/getting_started/06_simple_chat_server_step_three.rb
|
119
|
+
- examples/guides/getting_started/07_simple_chat_server_step_four.rb
|
120
|
+
- examples/guides/getting_started/08_simple_chat_server_step_five.rb
|
121
|
+
- examples/old/ex_channel.rb
|
122
|
+
- examples/old/ex_queue.rb
|
123
|
+
- examples/old/ex_tick_loop_array.rb
|
124
|
+
- examples/old/ex_tick_loop_counter.rb
|
125
|
+
- examples/old/helper.rb
|
126
|
+
- ext/binder.cpp
|
127
|
+
- ext/binder.h
|
128
|
+
- ext/cmain.cpp
|
129
|
+
- ext/ed.cpp
|
130
|
+
- ext/ed.h
|
131
|
+
- ext/em.cpp
|
132
|
+
- ext/em.h
|
133
|
+
- ext/eventmachine.h
|
134
|
+
- ext/extconf.rb
|
135
|
+
- ext/fastfilereader/extconf.rb
|
136
|
+
- ext/fastfilereader/mapper.cpp
|
137
|
+
- ext/fastfilereader/mapper.h
|
138
|
+
- ext/fastfilereader/rubymain.cpp
|
139
|
+
- ext/kb.cpp
|
140
|
+
- ext/page.cpp
|
141
|
+
- ext/page.h
|
142
|
+
- ext/pipe.cpp
|
143
|
+
- ext/project.h
|
144
|
+
- ext/rubymain.cpp
|
145
|
+
- ext/ssl.cpp
|
146
|
+
- ext/ssl.h
|
147
|
+
- java/.classpath
|
148
|
+
- java/.gitignore
|
149
|
+
- java/.project
|
150
|
+
- java/src/com/rubyeventmachine/DatagramPacket.java
|
151
|
+
- java/src/com/rubyeventmachine/EmReactor.java
|
152
|
+
- java/src/com/rubyeventmachine/EmReactorException.java
|
153
|
+
- java/src/com/rubyeventmachine/EventCallback.java
|
154
|
+
- java/src/com/rubyeventmachine/EventCode.java
|
155
|
+
- java/src/com/rubyeventmachine/EventableChannel.java
|
156
|
+
- java/src/com/rubyeventmachine/EventableDatagramChannel.java
|
157
|
+
- java/src/com/rubyeventmachine/EventableSocketChannel.java
|
158
|
+
- java/src/com/rubyeventmachine/SslBox.java
|
159
|
+
- lib/em/buftok.rb
|
160
|
+
- lib/em/callback.rb
|
161
|
+
- lib/em/channel.rb
|
162
|
+
- lib/em/completion.rb
|
163
|
+
- lib/em/connection.rb
|
164
|
+
- lib/em/deferrable.rb
|
165
|
+
- lib/em/deferrable/pool.rb
|
166
|
+
- lib/em/file_watch.rb
|
167
|
+
- lib/em/future.rb
|
168
|
+
- lib/em/iterator.rb
|
169
|
+
- lib/em/messages.rb
|
170
|
+
- lib/em/pool.rb
|
171
|
+
- lib/em/process_watch.rb
|
172
|
+
- lib/em/processes.rb
|
173
|
+
- lib/em/protocols.rb
|
174
|
+
- lib/em/protocols/header_and_content.rb
|
175
|
+
- lib/em/protocols/httpclient.rb
|
176
|
+
- lib/em/protocols/httpclient2.rb
|
177
|
+
- lib/em/protocols/line_and_text.rb
|
178
|
+
- lib/em/protocols/line_protocol.rb
|
179
|
+
- lib/em/protocols/linetext2.rb
|
180
|
+
- lib/em/protocols/memcache.rb
|
181
|
+
- lib/em/protocols/object_protocol.rb
|
182
|
+
- lib/em/protocols/postgres3.rb
|
183
|
+
- lib/em/protocols/saslauth.rb
|
184
|
+
- lib/em/protocols/smtpclient.rb
|
185
|
+
- lib/em/protocols/smtpserver.rb
|
186
|
+
- lib/em/protocols/socks4.rb
|
187
|
+
- lib/em/protocols/stomp.rb
|
188
|
+
- lib/em/protocols/tcptest.rb
|
189
|
+
- lib/em/pure_ruby.rb
|
190
|
+
- lib/em/queue.rb
|
191
|
+
- lib/em/resolver.rb
|
192
|
+
- lib/em/spawnable.rb
|
193
|
+
- lib/em/streamer.rb
|
194
|
+
- lib/em/threaded_resource.rb
|
195
|
+
- lib/em/tick_loop.rb
|
196
|
+
- lib/em/timers.rb
|
197
|
+
- lib/em/version.rb
|
198
|
+
- lib/eventmachine.rb
|
199
|
+
- lib/jeventmachine.rb
|
200
|
+
- lib/rubyeventmachine.jar
|
201
|
+
- rakelib/cpp.rake_example
|
202
|
+
- rakelib/package.rake
|
203
|
+
- rakelib/test.rake
|
204
|
+
- tests/client.crt
|
205
|
+
- tests/client.key
|
206
|
+
- tests/em_test_helper.rb
|
207
|
+
- tests/server.crt
|
208
|
+
- tests/server.key
|
209
|
+
- tests/test_attach.rb
|
210
|
+
- tests/test_basic.rb
|
211
|
+
- tests/test_channel.rb
|
212
|
+
- tests/test_completion.rb
|
213
|
+
- tests/test_connection_count.rb
|
214
|
+
- tests/test_defer.rb
|
215
|
+
- tests/test_deferrable.rb
|
216
|
+
- tests/test_epoll.rb
|
217
|
+
- tests/test_error_handler.rb
|
218
|
+
- tests/test_exc.rb
|
219
|
+
- tests/test_file_watch.rb
|
220
|
+
- tests/test_futures.rb
|
221
|
+
- tests/test_get_sock_opt.rb
|
222
|
+
- tests/test_handler_check.rb
|
223
|
+
- tests/test_hc.rb
|
224
|
+
- tests/test_httpclient.rb
|
225
|
+
- tests/test_httpclient2.rb
|
226
|
+
- tests/test_idle_connection.rb
|
227
|
+
- tests/test_inactivity_timeout.rb
|
228
|
+
- tests/test_iterator.rb
|
229
|
+
- tests/test_kb.rb
|
230
|
+
- tests/test_line_protocol.rb
|
231
|
+
- tests/test_ltp.rb
|
232
|
+
- tests/test_ltp2.rb
|
233
|
+
- tests/test_next_tick.rb
|
234
|
+
- tests/test_object_protocol.rb
|
235
|
+
- tests/test_pause.rb
|
236
|
+
- tests/test_pending_connect_timeout.rb
|
237
|
+
- tests/test_pool.rb
|
238
|
+
- tests/test_process_watch.rb
|
239
|
+
- tests/test_processes.rb
|
240
|
+
- tests/test_proxy_connection.rb
|
241
|
+
- tests/test_pure.rb
|
242
|
+
- tests/test_queue.rb
|
243
|
+
- tests/test_resolver.rb
|
244
|
+
- tests/test_running.rb
|
245
|
+
- tests/test_sasl.rb
|
246
|
+
- tests/test_send_file.rb
|
247
|
+
- tests/test_servers.rb
|
248
|
+
- tests/test_set_sock_opt.rb
|
249
|
+
- tests/test_shutdown_hooks.rb
|
250
|
+
- tests/test_smtpclient.rb
|
251
|
+
- tests/test_smtpserver.rb
|
252
|
+
- tests/test_spawn.rb
|
253
|
+
- tests/test_ssl_args.rb
|
254
|
+
- tests/test_ssl_echo_data.rb
|
255
|
+
- tests/test_ssl_methods.rb
|
256
|
+
- tests/test_ssl_verify.rb
|
257
|
+
- tests/test_stomp.rb
|
258
|
+
- tests/test_system.rb
|
259
|
+
- tests/test_threaded_resource.rb
|
260
|
+
- tests/test_tick_loop.rb
|
261
|
+
- tests/test_timers.rb
|
262
|
+
- tests/test_ud.rb
|
263
|
+
- tests/test_unbind_reason.rb
|
264
|
+
homepage: http://rubyeventmachine.com
|
265
|
+
licenses:
|
266
|
+
- Ruby
|
267
|
+
- GPL
|
268
|
+
metadata: {}
|
269
|
+
post_install_message:
|
270
|
+
rdoc_options:
|
271
|
+
- --title
|
272
|
+
- EventMachine
|
273
|
+
- --main
|
274
|
+
- README.md
|
275
|
+
- -x
|
276
|
+
- lib/em/version
|
277
|
+
- -x
|
278
|
+
- lib/jeventmachine
|
279
|
+
require_paths:
|
280
|
+
- lib
|
281
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - '>='
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
287
|
+
requirements:
|
288
|
+
- - '>='
|
289
|
+
- !ruby/object:Gem::Version
|
290
|
+
version: '0'
|
291
|
+
requirements: []
|
292
|
+
rubyforge_project: eventmachine
|
293
|
+
rubygems_version: 2.2.2
|
294
|
+
signing_key:
|
295
|
+
specification_version: 4
|
296
|
+
summary: Ruby/EventMachine library
|
297
|
+
test_files: []
|