qpid_proton 0.28.0 → 0.30.0
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 +69 -38
- data/lib/handler/messaging_adapter.rb +4 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 192c68710b87f37010755652a0797f1b2f73f9d739877008899a3f074ed90af3
|
4
|
+
data.tar.gz: 8d1c9756c80fe4d7019c17c816632703ff4c7dcdabc64e56c2a411654b69a95d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e0aabf231d3da821fe5a6d3a74af1669d61b1398f5633e0c5097df073d38769b3208158ef051b4fd64b6443abb17a43244a39be47ac963ed75ec005a7cbcd48
|
7
|
+
data.tar.gz: '0879f82fbd6ac028ffb73cb1de53c877d151e5114bb9a96fa1e40f5b6405116b6286d1754429df45401697fb565d0cda747ff954878d4b13d4e05fd260b99bd5'
|
data/ext/cproton/cproton.c
CHANGED
@@ -1836,41 +1836,42 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
|
|
1836
1836
|
#define SWIGTYPE_p_pn_link_t swig_types[33]
|
1837
1837
|
#define SWIGTYPE_p_pn_list_t swig_types[34]
|
1838
1838
|
#define SWIGTYPE_p_pn_listener_t swig_types[35]
|
1839
|
-
#define
|
1840
|
-
#define
|
1841
|
-
#define
|
1842
|
-
#define
|
1843
|
-
#define
|
1844
|
-
#define
|
1845
|
-
#define
|
1846
|
-
#define
|
1847
|
-
#define
|
1848
|
-
#define
|
1849
|
-
#define
|
1850
|
-
#define
|
1851
|
-
#define
|
1852
|
-
#define
|
1853
|
-
#define
|
1854
|
-
#define
|
1855
|
-
#define
|
1856
|
-
#define
|
1857
|
-
#define
|
1858
|
-
#define
|
1859
|
-
#define
|
1860
|
-
#define
|
1861
|
-
#define
|
1862
|
-
#define
|
1863
|
-
#define
|
1864
|
-
#define
|
1865
|
-
#define
|
1866
|
-
#define
|
1867
|
-
#define
|
1868
|
-
#define
|
1869
|
-
#define
|
1870
|
-
#define
|
1871
|
-
#define
|
1872
|
-
|
1873
|
-
static
|
1839
|
+
#define SWIGTYPE_p_pn_logger_t swig_types[36]
|
1840
|
+
#define SWIGTYPE_p_pn_map_t swig_types[37]
|
1841
|
+
#define SWIGTYPE_p_pn_message_t swig_types[38]
|
1842
|
+
#define SWIGTYPE_p_pn_messenger_t swig_types[39]
|
1843
|
+
#define SWIGTYPE_p_pn_proactor_t swig_types[40]
|
1844
|
+
#define SWIGTYPE_p_pn_rcv_settle_mode_t swig_types[41]
|
1845
|
+
#define SWIGTYPE_p_pn_record_t swig_types[42]
|
1846
|
+
#define SWIGTYPE_p_pn_rwbytes_t swig_types[43]
|
1847
|
+
#define SWIGTYPE_p_pn_sasl_outcome_t swig_types[44]
|
1848
|
+
#define SWIGTYPE_p_pn_sasl_t swig_types[45]
|
1849
|
+
#define SWIGTYPE_p_pn_session_t swig_types[46]
|
1850
|
+
#define SWIGTYPE_p_pn_snd_settle_mode_t swig_types[47]
|
1851
|
+
#define SWIGTYPE_p_pn_ssl_cert_subject_subfield swig_types[48]
|
1852
|
+
#define SWIGTYPE_p_pn_ssl_domain_t swig_types[49]
|
1853
|
+
#define SWIGTYPE_p_pn_ssl_hash_alg swig_types[50]
|
1854
|
+
#define SWIGTYPE_p_pn_ssl_mode_t swig_types[51]
|
1855
|
+
#define SWIGTYPE_p_pn_ssl_resume_status_t swig_types[52]
|
1856
|
+
#define SWIGTYPE_p_pn_ssl_t swig_types[53]
|
1857
|
+
#define SWIGTYPE_p_pn_ssl_verify_mode_t swig_types[54]
|
1858
|
+
#define SWIGTYPE_p_pn_string_t swig_types[55]
|
1859
|
+
#define SWIGTYPE_p_pn_terminus_t swig_types[56]
|
1860
|
+
#define SWIGTYPE_p_pn_terminus_type_t swig_types[57]
|
1861
|
+
#define SWIGTYPE_p_pn_transport_t swig_types[58]
|
1862
|
+
#define SWIGTYPE_p_pn_type_t swig_types[59]
|
1863
|
+
#define SWIGTYPE_p_pn_url_t swig_types[60]
|
1864
|
+
#define SWIGTYPE_p_pn_uuid_t swig_types[61]
|
1865
|
+
#define SWIGTYPE_p_short swig_types[62]
|
1866
|
+
#define SWIGTYPE_p_signed_char swig_types[63]
|
1867
|
+
#define SWIGTYPE_p_unsigned_char swig_types[64]
|
1868
|
+
#define SWIGTYPE_p_unsigned_int swig_types[65]
|
1869
|
+
#define SWIGTYPE_p_unsigned_long swig_types[66]
|
1870
|
+
#define SWIGTYPE_p_unsigned_long_long swig_types[67]
|
1871
|
+
#define SWIGTYPE_p_unsigned_short swig_types[68]
|
1872
|
+
#define SWIGTYPE_p_void swig_types[69]
|
1873
|
+
static swig_type_info *swig_types[71];
|
1874
|
+
static swig_module_info swig_module = {swig_types, 70, 0, 0, 0, 0};
|
1874
1875
|
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
|
1875
1876
|
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
|
1876
1877
|
|
@@ -11592,6 +11593,30 @@ fail:
|
|
11592
11593
|
}
|
11593
11594
|
|
11594
11595
|
|
11596
|
+
SWIGINTERN VALUE
|
11597
|
+
_wrap_pn_transport_logger(int argc, VALUE *argv, VALUE self) {
|
11598
|
+
pn_transport_t *arg1 = (pn_transport_t *) 0 ;
|
11599
|
+
void *argp1 = 0 ;
|
11600
|
+
int res1 = 0 ;
|
11601
|
+
pn_logger_t *result = 0 ;
|
11602
|
+
VALUE vresult = Qnil;
|
11603
|
+
|
11604
|
+
if ((argc < 1) || (argc > 1)) {
|
11605
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
11606
|
+
}
|
11607
|
+
res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_pn_transport_t, 0 | 0 );
|
11608
|
+
if (!SWIG_IsOK(res1)) {
|
11609
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pn_transport_t *","pn_transport_logger", 1, argv[0] ));
|
11610
|
+
}
|
11611
|
+
arg1 = (pn_transport_t *)(argp1);
|
11612
|
+
result = (pn_logger_t *)pn_transport_logger(arg1);
|
11613
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pn_logger_t, 0 | 0 );
|
11614
|
+
return vresult;
|
11615
|
+
fail:
|
11616
|
+
return Qnil;
|
11617
|
+
}
|
11618
|
+
|
11619
|
+
|
11595
11620
|
SWIGINTERN VALUE
|
11596
11621
|
_wrap_pn_transport_error(int argc, VALUE *argv, VALUE self) {
|
11597
11622
|
pn_transport_t *arg1 = (pn_transport_t *) 0 ;
|
@@ -19169,6 +19194,7 @@ static swig_type_info _swigt__p_pn_iterator_t = {"_p_pn_iterator_t", "struct pn_
|
|
19169
19194
|
static swig_type_info _swigt__p_pn_link_t = {"_p_pn_link_t", "struct pn_link_t *|pn_link_t *", 0, 0, (void*)0, 0};
|
19170
19195
|
static swig_type_info _swigt__p_pn_list_t = {"_p_pn_list_t", "struct pn_list_t *|pn_list_t *", 0, 0, (void*)0, 0};
|
19171
19196
|
static swig_type_info _swigt__p_pn_listener_t = {"_p_pn_listener_t", "struct pn_listener_t *|pn_listener_t *", 0, 0, (void*)0, 0};
|
19197
|
+
static swig_type_info _swigt__p_pn_logger_t = {"_p_pn_logger_t", "pn_logger_t *", 0, 0, (void*)0, 0};
|
19172
19198
|
static swig_type_info _swigt__p_pn_map_t = {"_p_pn_map_t", "struct pn_map_t *|pn_map_t *", 0, 0, (void*)0, 0};
|
19173
19199
|
static swig_type_info _swigt__p_pn_message_t = {"_p_pn_message_t", "struct pn_message_t *|pn_message_t *", 0, 0, (void*)0, 0};
|
19174
19200
|
static swig_type_info _swigt__p_pn_messenger_t = {"_p_pn_messenger_t", "pn_messenger_t *", 0, 0, (void*)0, 0};
|
@@ -19240,6 +19266,7 @@ static swig_type_info *swig_type_initial[] = {
|
|
19240
19266
|
&_swigt__p_pn_link_t,
|
19241
19267
|
&_swigt__p_pn_list_t,
|
19242
19268
|
&_swigt__p_pn_listener_t,
|
19269
|
+
&_swigt__p_pn_logger_t,
|
19243
19270
|
&_swigt__p_pn_map_t,
|
19244
19271
|
&_swigt__p_pn_message_t,
|
19245
19272
|
&_swigt__p_pn_messenger_t,
|
@@ -19311,6 +19338,7 @@ static swig_cast_info _swigc__p_pn_iterator_t[] = { {&_swigt__p_pn_iterator_t,
|
|
19311
19338
|
static swig_cast_info _swigc__p_pn_link_t[] = { {&_swigt__p_pn_link_t, 0, 0, 0},{0, 0, 0, 0}};
|
19312
19339
|
static swig_cast_info _swigc__p_pn_list_t[] = { {&_swigt__p_pn_list_t, 0, 0, 0},{0, 0, 0, 0}};
|
19313
19340
|
static swig_cast_info _swigc__p_pn_listener_t[] = { {&_swigt__p_pn_listener_t, 0, 0, 0},{0, 0, 0, 0}};
|
19341
|
+
static swig_cast_info _swigc__p_pn_logger_t[] = { {&_swigt__p_pn_logger_t, 0, 0, 0},{0, 0, 0, 0}};
|
19314
19342
|
static swig_cast_info _swigc__p_pn_map_t[] = { {&_swigt__p_pn_map_t, 0, 0, 0},{0, 0, 0, 0}};
|
19315
19343
|
static swig_cast_info _swigc__p_pn_message_t[] = { {&_swigt__p_pn_message_t, 0, 0, 0},{0, 0, 0, 0}};
|
19316
19344
|
static swig_cast_info _swigc__p_pn_messenger_t[] = { {&_swigt__p_pn_messenger_t, 0, 0, 0},{0, 0, 0, 0}};
|
@@ -19382,6 +19410,7 @@ static swig_cast_info *swig_cast_initial[] = {
|
|
19382
19410
|
_swigc__p_pn_link_t,
|
19383
19411
|
_swigc__p_pn_list_t,
|
19384
19412
|
_swigc__p_pn_listener_t,
|
19413
|
+
_swigc__p_pn_logger_t,
|
19385
19414
|
_swigc__p_pn_map_t,
|
19386
19415
|
_swigc__p_pn_message_t,
|
19387
19416
|
_swigc__p_pn_messenger_t,
|
@@ -19721,7 +19750,7 @@ SWIGEXPORT void Init_cproton(void) {
|
|
19721
19750
|
rb_define_module_function(mCproton, "pni_connection_driver", _wrap_pni_connection_driver, -1);
|
19722
19751
|
rb_define_const(mCproton, "PROTON_IMPORT_EXPORT_H", SWIG_From_int((int)(1)));
|
19723
19752
|
rb_define_const(mCproton, "PN_VERSION_MAJOR", SWIG_From_int((int)(0)));
|
19724
|
-
rb_define_const(mCproton, "PN_VERSION_MINOR", SWIG_From_int((int)(
|
19753
|
+
rb_define_const(mCproton, "PN_VERSION_MINOR", SWIG_From_int((int)(30)));
|
19725
19754
|
rb_define_const(mCproton, "PN_VERSION_POINT", SWIG_From_int((int)(0)));
|
19726
19755
|
rb_define_const(mCproton, "PROTON_TYPES_H", SWIG_From_int((int)(1)));
|
19727
19756
|
rb_define_const(mCproton, "PN_MILLIS_MAX", SWIG_From_unsigned_SS_int((unsigned int)((~0U))));
|
@@ -20070,6 +20099,7 @@ SWIGEXPORT void Init_cproton(void) {
|
|
20070
20099
|
rb_define_module_function(mCproton, "pn_transport_require_encryption", _wrap_pn_transport_require_encryption, -1);
|
20071
20100
|
rb_define_module_function(mCproton, "pn_transport_is_encrypted", _wrap_pn_transport_is_encrypted, -1);
|
20072
20101
|
rb_define_module_function(mCproton, "pn_transport_condition", _wrap_pn_transport_condition, -1);
|
20102
|
+
rb_define_module_function(mCproton, "pn_transport_logger", _wrap_pn_transport_logger, -1);
|
20073
20103
|
rb_define_module_function(mCproton, "pn_transport_error", _wrap_pn_transport_error, -1);
|
20074
20104
|
rb_define_module_function(mCproton, "pn_transport_bind", _wrap_pn_transport_bind, -1);
|
20075
20105
|
rb_define_module_function(mCproton, "pn_transport_unbind", _wrap_pn_transport_unbind, -1);
|
@@ -20436,8 +20466,8 @@ SWIGEXPORT void Init_cproton(void) {
|
|
20436
20466
|
rb_define_const(mCproton, "CID_pn_record", SWIG_From_int((int)(CID_pn_record)));
|
20437
20467
|
rb_define_const(mCproton, "CID_pn_collector", SWIG_From_int((int)(CID_pn_collector)));
|
20438
20468
|
rb_define_const(mCproton, "CID_pn_event", SWIG_From_int((int)(CID_pn_event)));
|
20439
|
-
rb_define_const(mCproton, "
|
20440
|
-
rb_define_const(mCproton, "
|
20469
|
+
rb_define_const(mCproton, "CID_pn_buffer", SWIG_From_int((int)(CID_pn_buffer)));
|
20470
|
+
rb_define_const(mCproton, "CID_pn_error", SWIG_From_int((int)(CID_pn_error)));
|
20441
20471
|
rb_define_const(mCproton, "CID_pn_data", SWIG_From_int((int)(CID_pn_data)));
|
20442
20472
|
rb_define_const(mCproton, "CID_pn_connection", SWIG_From_int((int)(CID_pn_connection)));
|
20443
20473
|
rb_define_const(mCproton, "CID_pn_session", SWIG_From_int((int)(CID_pn_session)));
|
@@ -20453,6 +20483,7 @@ SWIGEXPORT void Init_cproton(void) {
|
|
20453
20483
|
rb_define_const(mCproton, "CID_pn_selector", SWIG_From_int((int)(CID_pn_selector)));
|
20454
20484
|
rb_define_const(mCproton, "CID_pn_selectable", SWIG_From_int((int)(CID_pn_selectable)));
|
20455
20485
|
rb_define_const(mCproton, "CID_pn_url", SWIG_From_int((int)(CID_pn_url)));
|
20486
|
+
rb_define_const(mCproton, "CID_pn_strdup", SWIG_From_int((int)(CID_pn_strdup)));
|
20456
20487
|
rb_define_const(mCproton, "CID_pn_listener", SWIG_From_int((int)(CID_pn_listener)));
|
20457
20488
|
rb_define_const(mCproton, "CID_pn_proactor", SWIG_From_int((int)(CID_pn_proactor)));
|
20458
20489
|
rb_define_const(mCproton, "CID_pn_listener_socket", SWIG_From_int((int)(CID_pn_listener_socket)));
|
@@ -124,8 +124,10 @@ module Qpid::Proton
|
|
124
124
|
when Delivery::RELEASED then delegate(:on_tracker_release, t)
|
125
125
|
when Delivery::MODIFIED then delegate(:on_tracker_modify, t)
|
126
126
|
end
|
127
|
-
|
128
|
-
|
127
|
+
if t.settled?
|
128
|
+
delegate(:on_tracker_settle, t)
|
129
|
+
t.settle if t.sender.auto_settle
|
130
|
+
end
|
129
131
|
end
|
130
132
|
end
|
131
133
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qpid_proton
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Darryl L. Pierce
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-12-19 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: |
|
15
15
|
Proton is a high performance, lightweight messaging library. It can be used in
|
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
122
|
version: '0'
|
123
123
|
requirements: []
|
124
124
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.7.6
|
125
|
+
rubygems_version: 2.7.6.2
|
126
126
|
signing_key:
|
127
127
|
specification_version: 4
|
128
128
|
summary: Ruby language bindings for the Qpid Proton messaging framework
|