dango 0.4.8 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dango/client_framework.rb +13 -12
- data/lib/dango/controller_plugin/dango_controller_plugin.rb +7 -3
- data/lib/dango/dango_g_server.rb +7 -6
- data/lib/dango/dango_logger.rb +115 -0
- data/lib/dango/dango_mutex.rb +64 -0
- data/lib/dango/default_dango_receive.rb +140 -0
- data/lib/dango/error_message.rb +30 -0
- data/lib/dango/framework_base.rb +112 -79
- data/lib/dango/monitor/server_monitor_module.rb +131 -0
- data/lib/dango/server_framework.rb +215 -145
- data/lib/dango/session_manager.rb +15 -10
- data/lib/dango/shared/memory_store.rb +10 -10
- data/lib/dango/socket_list.rb +5 -5
- data/lib/dango/tasks/dango_rake.rb +379 -166
- data/lib/dango/tester/dango_tester_client.rb +1 -6
- data/lib/dango/version.rb +2 -2
- metadata +8 -3
@@ -166,11 +166,6 @@ class TestClient < DangoClientFramework
|
|
166
166
|
|
167
167
|
send_receive_shared_init()
|
168
168
|
|
169
|
-
# @receive_mutex = Mutex.new # 受信用の排他処理
|
170
|
-
# @receive_arr = []
|
171
|
-
# @trap_thread_hash = {}
|
172
|
-
# @receive_methods = []
|
173
|
-
|
174
169
|
send_receive_shared[:receive_cache] = [] # 受信データ用のキャッシュ初期化
|
175
170
|
|
176
171
|
end
|
@@ -206,7 +201,7 @@ class TestClient < DangoClientFramework
|
|
206
201
|
|
207
202
|
# テストサーバー
|
208
203
|
def send(name, send_obj = {})
|
209
|
-
logger.
|
204
|
+
logger.info("tester.send:name=#{name}:send_obj=#{send_obj.inspect} ")
|
210
205
|
send_action(name, send_obj)
|
211
206
|
end
|
212
207
|
|
data/lib/dango/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dango
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Keisuke Minami
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-11-05 00:00:00 +09:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
requirements:
|
41
41
|
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 1.
|
43
|
+
version: 1.8.2
|
44
44
|
version:
|
45
45
|
description: Realtime communications network framework for Ruby and Flash on Rails.
|
46
46
|
email: keisuke@rccn.com
|
@@ -60,9 +60,14 @@ files:
|
|
60
60
|
- lib/dango/socket_list.rb
|
61
61
|
- lib/dango/session_manager.rb
|
62
62
|
- lib/dango/dango_g_server.rb
|
63
|
+
- lib/dango/dango_logger.rb
|
64
|
+
- lib/dango/dango_mutex.rb
|
65
|
+
- lib/dango/error_message.rb
|
66
|
+
- lib/dango/default_dango_receive.rb
|
63
67
|
- lib/dango/controller_plugin/dango_controller_plugin.rb
|
64
68
|
- lib/dango/monitor/dango_monitor_client.rb
|
65
69
|
- lib/dango/monitor/server_monitor_action.rb
|
70
|
+
- lib/dango/monitor/server_monitor_module.rb
|
66
71
|
- lib/dango/script/dango_server.rb
|
67
72
|
- lib/dango/shared/memory_store.rb
|
68
73
|
- lib/dango/tasks/dango_rake.rb
|