packet 0.1.9 → 0.1.10
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.
- data/lib/packet.rb +1 -1
- data/lib/packet/packet_connection.rb +4 -4
- metadata +2 -2
data/lib/packet.rb
CHANGED
@@ -53,19 +53,19 @@ module Packet
|
|
53
53
|
t_worker.send_request(data_options)
|
54
54
|
end
|
55
55
|
def start_server ip,port,t_module,&block
|
56
|
-
reactor.start_server(ip,port,t_module
|
56
|
+
reactor.start_server(ip,port,t_module,&block)
|
57
57
|
end
|
58
58
|
|
59
59
|
def connect ip,port,t_module,&block
|
60
|
-
reactor.connect(ip,port,t_module
|
60
|
+
reactor.connect(ip,port,t_module,&block)
|
61
61
|
end
|
62
62
|
|
63
63
|
def add_periodic_timer interval, &block
|
64
|
-
reactor.add_periodic_timer(interval
|
64
|
+
reactor.add_periodic_timer(interval,&block)
|
65
65
|
end
|
66
66
|
|
67
67
|
def add_timer(t_time,&block)
|
68
|
-
reactor.add_timer(t_time
|
68
|
+
reactor.add_timer(t_time,&block)
|
69
69
|
end
|
70
70
|
|
71
71
|
def cancel_timer(t_timer)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: packet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hemant Kumar
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-07-
|
12
|
+
date: 2008-07-26 00:00:00 +05:30
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|