cztop-reactor 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/ChangeLog +33 -8
- data/History.md +7 -0
- data/lib/cztop/reactor.rb +1 -1
- data/lib/cztop/reactor/socket_monitoring.rb +13 -1
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e017a75dd5e337e33e1340e765a2d9a25b4537c2d5ae9416c836e5f29f1f514
|
4
|
+
data.tar.gz: 015bb511a4955accc92c03f4f94887ca6b3ea7427d3840138053a85e14934661
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ed15bc7f31360a04d4a076af0dc711a2c6d3b42f4711af9eb131eca681d28d66e04e639b766fd95f5acac81a625c2f90e4465817f5b9ed8a5c8b5d18e0086a1
|
7
|
+
data.tar.gz: ff7d4d53270b16dc0af808f41052557b1810606d60ccac53d8fff99568fd53ca971da6066cefdd7c467b1a0db169cf64be06ed16b23ac3f1b6391b3e929bcece
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/ChangeLog
CHANGED
@@ -1,15 +1,38 @@
|
|
1
|
+
2018-07-23 Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
* lib/cztop/reactor/socket_monitoring.rb:
|
4
|
+
Add socket monitoring methods for delayed and retried connections
|
5
|
+
[418d608db892] [tip]
|
6
|
+
|
7
|
+
* .hgtags:
|
8
|
+
Added tag v0.6.0 for changeset f97428feb0e2
|
9
|
+
[489876542fea]
|
10
|
+
|
11
|
+
* .hgsigs:
|
12
|
+
Added signature for changeset aea0b1dd1107
|
13
|
+
[f97428feb0e2] [v0.6.0]
|
14
|
+
|
15
|
+
* History.md, cztop-reactor.gemspec, lib/cztop/reactor.rb:
|
16
|
+
Bump the minor version, update history.
|
17
|
+
[aea0b1dd1107]
|
18
|
+
|
19
|
+
* lib/cztop/reactor/socket_monitoring.rb,
|
20
|
+
spec/cztop/reactor/socket_monitoring_spec.rb:
|
21
|
+
Fix unfinished socket monitor spec
|
22
|
+
[39358fbf9896]
|
23
|
+
|
1
24
|
2018-07-21 Michael Granger <ged@FaerieMUD.org>
|
2
25
|
|
3
26
|
* Manifest.txt, lib/cztop/reactor/socket_monitoring.rb,
|
4
27
|
spec/cztop/reactor/socket_monitoring_spec.rb:
|
5
28
|
Add a socket monitor mixin
|
6
|
-
[e65cdcbe5f89]
|
29
|
+
[e65cdcbe5f89]
|
7
30
|
|
8
31
|
2018-07-11 Michael Granger <ged@FaerieMUD.org>
|
9
32
|
|
10
33
|
* .hgtags:
|
11
34
|
Added tag v0.5.0 for changeset c82d889b3d2e
|
12
|
-
[0338a8ab0f8b]
|
35
|
+
[0338a8ab0f8b] [github/master]
|
13
36
|
|
14
37
|
* .hgsigs:
|
15
38
|
Added signature for changeset c6276b15f479
|
@@ -47,6 +70,14 @@
|
|
47
70
|
* Merged with 33bf1ec41017
|
48
71
|
[9ca502f040d3]
|
49
72
|
|
73
|
+
2017-11-07 Michael Granger <ged@FaerieMUD.org>
|
74
|
+
|
75
|
+
* .ruby-version:
|
76
|
+
Update to Ruby 2.4
|
77
|
+
[33bf1ec41017]
|
78
|
+
|
79
|
+
2018-06-06 Michael Granger <ged@FaerieMUD.org>
|
80
|
+
|
50
81
|
* lib/cztop/reactor/signal_handling.rb:
|
51
82
|
Fix docs and logging in signal handling mixin
|
52
83
|
[0adc6861a172]
|
@@ -59,12 +90,6 @@
|
|
59
90
|
Update my gem-signing cert
|
60
91
|
[26089589e937]
|
61
92
|
|
62
|
-
2017-11-07 Michael Granger <ged@FaerieMUD.org>
|
63
|
-
|
64
|
-
* .ruby-version:
|
65
|
-
Update to Ruby 2.4
|
66
|
-
[33bf1ec41017]
|
67
|
-
|
68
93
|
2017-05-19 Michael Granger <ged@FaerieMUD.org>
|
69
94
|
|
70
95
|
* Rakefile, cztop-reactor.gemspec:
|
data/History.md
CHANGED
data/lib/cztop/reactor.rb
CHANGED
@@ -48,7 +48,7 @@ module CZTop::Reactor::SocketMonitoring
|
|
48
48
|
|
49
49
|
### Handle monitor events.
|
50
50
|
def on_monitor_event( monitor_event )
|
51
|
-
self.log.debug "Got monitor event: %p" % [ monitor_event ]
|
51
|
+
# self.log.debug "Got monitor event: %p" % [ monitor_event ]
|
52
52
|
|
53
53
|
msg = monitor_event.socket.receive
|
54
54
|
type, *payload = *msg
|
@@ -73,6 +73,18 @@ module CZTop::Reactor::SocketMonitoring
|
|
73
73
|
end
|
74
74
|
|
75
75
|
|
76
|
+
### Monitor event callback for socket connection-delayed events
|
77
|
+
def on_connect_delayed( fd, endpoint )
|
78
|
+
self.log.debug "Client socket on FD %d connection delayed" % [ fd ]
|
79
|
+
end
|
80
|
+
|
81
|
+
|
82
|
+
### Monitor event callback for socket retry events
|
83
|
+
def on_connect_retried( fd, endpoint )
|
84
|
+
self.log.debug "Retrying connection for socket on FD %d" % [ fd ]
|
85
|
+
end
|
86
|
+
|
87
|
+
|
76
88
|
### Monitor event callback for socket accepted events
|
77
89
|
def on_accepted( fd, endpoint )
|
78
90
|
self.log.debug "Client socket on FD %d accepted" % [ fd ]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cztop-reactor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
X0qdrKi+2aZZ0NGuFj9AItBsVmAvkBGIpX4TEKQp5haEbPpmaqO5nIIhV26PXmyT
|
36
36
|
OMKv6pWsoS81vw5KAGBmfX8nht/Py90DQrbRvakATGI=
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2018-07-
|
38
|
+
date: 2018-07-24 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: loggability
|
@@ -246,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
246
246
|
version: '0'
|
247
247
|
requirements: []
|
248
248
|
rubyforge_project:
|
249
|
-
rubygems_version: 2.7.
|
249
|
+
rubygems_version: 2.7.6
|
250
250
|
signing_key:
|
251
251
|
specification_version: 4
|
252
252
|
summary: This is an implementation of the Reactor pattern described in [Pattern-Oriented
|
metadata.gz.sig
CHANGED
Binary file
|