qpid_proton 0.6 → 0.7
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.
- checksums.yaml +4 -4
- data/ext/cproton/cproton.c +5815 -4157
- data/lib/qpid_proton/messenger.rb +4 -3
- metadata +2 -2
@@ -121,16 +121,17 @@ module Qpid
|
|
121
121
|
Cproton.pn_messenger_get_timeout(@impl)
|
122
122
|
end
|
123
123
|
|
124
|
-
#
|
124
|
+
# Returns true if blocking mode is enabled.
|
125
125
|
#
|
126
126
|
# Enable or disable blocking behavior during message sending
|
127
127
|
# and receiving. This affects every blocking call, with the
|
128
128
|
# exception of work(). Currently, the affected calls are
|
129
129
|
# send, recv, and stop.
|
130
|
-
def blocking
|
131
|
-
Cproton.
|
130
|
+
def blocking?
|
131
|
+
Cproton.pn_messenger_is_blocking(@impl)
|
132
132
|
end
|
133
133
|
|
134
|
+
# Sets the blocking mode.
|
134
135
|
def blocking=(blocking)
|
135
136
|
Cproton.pn_messenger_set_blocking(@impl, blocking)
|
136
137
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qpid_proton
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.7'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Darryl L. Pierce
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
Proton is a high performance, lightweight messaging library. It can be used in
|