I guess the value of the metaphor comes down to how useful it is in
explaining how things work. I've put together a little intro that uses the
metaphor to explain what a protocol engine is:
. https://cwiki.apache.org/confluence/display/qpid/Protocol%20Engines
It was very much inspired by my
Unless I'm missing something, I don't think this pattern would work in the
general case. For example it's valid to set a timeout of zero, so you'd
either be stuck with no way to get a timeout without setting it, or you'd
have no way to set it back to zero once you'd set it to something else.
Sorry, I only thought of pointers and enumtypes.
To take care of integer variables that allow zero, we could use a pattern like
this:
( Would this work better for swig? )
pn_whatever_t
pn_messenger_whatever ( pn_messenger_t * messenger,
pn_whatever_t whatever
I don't think this will work in all cases, e.g. get/set_incoming_window is
a normal int, not a typedef, and in fact set_incoming_window returns an
error code if the value passed in is invalid. With the signature you're
suggesting there would be no way for a setter to indicate an error.
--Rafael
[
https://issues.apache.org/jira/browse/PROTON-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-33:
--
Fix Version/s: (was: 0.4)
Provide API for user managed pn_message_t
[
https://issues.apache.org/jira/browse/PROTON-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-40:
--
Summary: detect and report errors for acessing settled deliveries (was:
Batching of
[
https://issues.apache.org/jira/browse/PROTON-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-57:
--
Fix Version/s: 0.4
Proton porting problems between current codebase and Visual
[
https://issues.apache.org/jira/browse/PROTON-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Godfrey updated PROTON-60:
--
Assignee: Philip Harvey
Support configuring the max frame size.
[
https://issues.apache.org/jira/browse/PROTON-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Godfrey updated PROTON-60:
--
Fix Version/s: 0.4
Support configuring the max frame size.
[
https://issues.apache.org/jira/browse/PROTON-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Godfrey updated PROTON-58:
--
Assignee: Keith Wall
NullPointerException on receiver.recv(...)
[
https://issues.apache.org/jira/browse/PROTON-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Godfrey updated PROTON-61:
--
Fix Version/s: 0.4
Need a means of specifying and reading connection capabilities properties
[
https://issues.apache.org/jira/browse/PROTON-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Godfrey updated PROTON-66:
--
Fix Version/s: 0.4
Driver implementation for proton-j
--
[
https://issues.apache.org/jira/browse/PROTON-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Godfrey updated PROTON-66:
--
Assignee: Gordon Sim
Driver implementation for proton-j
--
[
https://issues.apache.org/jira/browse/PROTON-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-62:
--
Fix Version/s: 0.5
Proton(-j) does not support attaching to the transaction
[
https://issues.apache.org/jira/browse/PROTON-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Godfrey updated PROTON-68:
--
Fix Version/s: 0.4
Porting Issue -- dll imports and exports on Visual Studio
[
https://issues.apache.org/jira/browse/PROTON-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-67:
--
Fix Version/s: 0.4
Porting Issue -- Initialization with braces is not supported by
[
https://issues.apache.org/jira/browse/PROTON-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-75:
--
Fix Version/s: 0.5
Implement support for more delivery states
[
https://issues.apache.org/jira/browse/PROTON-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-81:
--
Fix Version/s: 0.5
Expose send/receive settle modes
[
https://issues.apache.org/jira/browse/PROTON-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Conway reassigned PROTON-215:
--
Assignee: Alan Conway
Add tests to verify AMQP 1.0 type support for all language bindings
[
https://issues.apache.org/jira/browse/PROTON-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Godfrey updated PROTON-98:
--
Fix Version/s: 0.4
Porting Issue -- Visual Studio compiler requires explicit casts
[
https://issues.apache.org/jira/browse/PROTON-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Godfrey updated PROTON-99:
--
Fix Version/s: 0.4
Porting Issue -- pn_dtag macro does not compile with Visual Studio compiler
[
https://issues.apache.org/jira/browse/PROTON-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13575846#comment-13575846
]
Rob Godfrey commented on PROTON-109:
proton-j will also need this change implemented
[
https://issues.apache.org/jira/browse/PROTON-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13575847#comment-13575847
]
Rafael H. Schloming commented on PROTON-86:
---
I'd suggest doing this as an option
[
https://issues.apache.org/jira/browse/PROTON-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gordon Sim resolved PROTON-66.
--
Resolution: Fixed
A driver API and implementation now exists (original committed by Rajith,
modified
[
https://issues.apache.org/jira/browse/PROTON-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-109:
---
Fix Version/s: 0.5
Proton should handle inbound max-frame size violations.
[
https://issues.apache.org/jira/browse/PROTON-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Godfrey updated PROTON-110:
---
Assignee: Keith Wall
java.lang.NullPointerException: the handle field is mandatory
[
https://issues.apache.org/jira/browse/PROTON-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13575852#comment-13575852
]
Rafael H. Schloming commented on PROTON-121:
Is there more work needed for
[
https://issues.apache.org/jira/browse/PROTON-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-116:
---
Fix Version/s: 0.5
Proton sends explicit disposition for pre-settled messages
[
https://issues.apache.org/jira/browse/PROTON-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-121:
---
Fix Version/s: 0.4
Platform specific code is mixed in with platform independent
[
https://issues.apache.org/jira/browse/PROTON-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-122:
---
Fix Version/s: 0.4
Porting Issue -- Visual Studio compilers have different
[
https://issues.apache.org/jira/browse/PROTON-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-131:
---
Fix Version/s: 0.5
Add a engine test which validates transferring a large
[
https://issues.apache.org/jira/browse/PROTON-139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-139:
---
Fix Version/s: 0.5
Can't set distribution-mode on a source
[
https://issues.apache.org/jira/browse/PROTON-139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming reassigned PROTON-139:
--
Assignee: Rafael H. Schloming
Can't set distribution-mode on a source
[
https://issues.apache.org/jira/browse/PROTON-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming closed PROTON-140.
--
Resolution: Fixed
Fix Version/s: 0.3
[Proton-j] Add contib, examples
[
https://issues.apache.org/jira/browse/PROTON-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-142:
---
Fix Version/s: 0.5
Messenger has no unsubscribe
[
https://issues.apache.org/jira/browse/PROTON-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-142:
---
Component/s: proton-j
Messenger has no unsubscribe
[
https://issues.apache.org/jira/browse/PROTON-139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-139:
---
Component/s: (was: proton-j)
Can't set distribution-mode on a source
[
https://issues.apache.org/jira/browse/PROTON-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-144:
---
Fix Version/s: (was: 0.4)
0.5
Reduce byte overhead for
[
https://issues.apache.org/jira/browse/PROTON-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-150:
---
Fix Version/s: (was: 0.4)
0.5
[Proton-J] Surface
[
https://issues.apache.org/jira/browse/PROTON-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-148:
---
Fix Version/s: 0.4
Porting Issue -- Visual Studio requires an explicit cast
[
https://issues.apache.org/jira/browse/PROTON-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hiram Chirino reopened PROTON-126:
--
So you don't agree that it should return void?
Sender.send should return void
[
https://issues.apache.org/jira/browse/PROTON-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13575872#comment-13575872
]
Rafael H. Schloming commented on PROTON-126:
I don't think we should return
[
https://issues.apache.org/jira/browse/PROTON-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13575874#comment-13575874
]
Rob Godfrey commented on PROTON-147:
IIRC after discussion I think we concluded that
[
https://issues.apache.org/jira/browse/PROTON-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13575876#comment-13575876
]
Ken Giusti commented on PROTON-225:
---
I'd recommend the following tweak to the proposed
[
https://issues.apache.org/jira/browse/PROTON-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-154:
---
Fix Version/s: 0.5
link attach, detach, attach sequence on single session does
[
https://issues.apache.org/jira/browse/PROTON-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-158:
---
Fix Version/s: 0.5
detach with invalid handle causes segfault
[
https://issues.apache.org/jira/browse/PROTON-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-159:
---
Fix Version/s: 0.4
port proton to C++
--
[
https://issues.apache.org/jira/browse/PROTON-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-160:
---
Fix Version/s: 0.5
Allow open.hostname to be configured independently of
[
https://issues.apache.org/jira/browse/PROTON-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-160:
---
Component/s: proton-j
Allow open.hostname to be configured independently of
[
https://issues.apache.org/jira/browse/PROTON-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Godfrey updated PROTON-184:
---
Fix Version/s: 0.4
[Proton-J] Separate API from Pure Java Implementation
[
https://issues.apache.org/jira/browse/PROTON-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-160:
---
Labels: api (was: )
Allow open.hostname to be configured independently of
[
https://issues.apache.org/jira/browse/PROTON-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Godfrey resolved PROTON-184.
Resolution: Fixed
[Proton-J] Separate API from Pure Java Implementation
[
https://issues.apache.org/jira/browse/PROTON-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-186:
---
Fix Version/s: 0.5
Message encode should always return the number of bytes
[
https://issues.apache.org/jira/browse/PROTON-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-167:
---
Fix Version/s: 0.4
Expose pn_type_str (pn_type_t type) publicly
[
https://issues.apache.org/jira/browse/PROTON-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Godfrey resolved PROTON-192.
Resolution: Fixed
Implement Proton-JNI binding for proton-c
[
https://issues.apache.org/jira/browse/PROTON-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-197:
---
Fix Version/s: 0.4
Add small buffer test to SSL tests
[
https://issues.apache.org/jira/browse/PROTON-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming closed PROTON-197.
--
Resolution: Fixed
Add small buffer test to SSL tests
[
https://issues.apache.org/jira/browse/PROTON-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-195:
---
Fix Version/s: 0.4
Move JythonTests and proton_tests/*.py into system-test
[
https://issues.apache.org/jira/browse/PROTON-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-200:
---
Fix Version/s: 0.5
[Proton-c] Credit distribution by messenger is not balanced
[
https://issues.apache.org/jira/browse/PROTON-201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-201:
---
Fix Version/s: 0.5
Provide a C++ Messenger and Message class
[
https://issues.apache.org/jira/browse/PROTON-201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-201:
---
Assignee: Andrew Stitcher (was: Darryl L. Pierce)
Provide a C++ Messenger and
[
https://issues.apache.org/jira/browse/PROTON-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-209:
---
Fix Version/s: 0.4
Update README file(s) to more specific about required
[
https://issues.apache.org/jira/browse/PROTON-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13575901#comment-13575901
]
Rafael H. Schloming commented on PROTON-209:
I don't know that we can
[
https://issues.apache.org/jira/browse/PROTON-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-210:
---
Fix Version/s: 0.4
Proton release.sh should create a single release tarball for
[
https://issues.apache.org/jira/browse/PROTON-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-212:
---
Fix Version/s: 0.4
Windows snprintf and vsnprintf differ on overflow from C99
[
https://issues.apache.org/jira/browse/PROTON-211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-211:
---
Fix Version/s: 0.5
Non-maven users should have ability to run all system tests
[
https://issues.apache.org/jira/browse/PROTON-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-213:
---
Fix Version/s: 0.4
Reconcile C99 and C++ inconsistencies within proton
[
https://issues.apache.org/jira/browse/PROTON-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-221:
---
Fix Version/s: 0.4
optionally set warning flags only if gcc version supports
[
https://issues.apache.org/jira/browse/PROTON-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-226:
---
Fix Version/s: 0.4
Porting Issue -- Heap Corruption using Visual Studio when
[
https://issues.apache.org/jira/browse/PROTON-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-148:
---
Assignee: Cliff Jansen
Porting Issue -- Visual Studio requires an explicit cast
[
https://issues.apache.org/jira/browse/PROTON-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-122:
---
Assignee: Cliff Jansen
Porting Issue -- Visual Studio compilers have different
[
https://issues.apache.org/jira/browse/PROTON-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-159:
---
Assignee: Cliff Jansen
port proton to C++
--
[
https://issues.apache.org/jira/browse/PROTON-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-99:
--
Assignee: Cliff Jansen
Porting Issue -- pn_dtag macro does not compile with Visual
[
https://issues.apache.org/jira/browse/PROTON-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-123:
---
Assignee: Cliff Jansen
Porting Issue -- Visual Studio compilers do not support
[
https://issues.apache.org/jira/browse/PROTON-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-57:
--
Assignee: Cliff Jansen
Proton porting problems between current codebase and Visual
[
https://issues.apache.org/jira/browse/PROTON-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-124:
---
Assignee: Cliff Jansen
Porting Issue -- Visual Studio requires WSAStartup() and
[
https://issues.apache.org/jira/browse/PROTON-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-121:
---
Assignee: Andrew Stitcher
Platform specific code is mixed in with platform
[
https://issues.apache.org/jira/browse/PROTON-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-98:
--
Assignee: Cliff Jansen
Porting Issue -- Visual Studio compiler requires explicit
[
https://issues.apache.org/jira/browse/PROTON-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming updated PROTON-68:
--
Assignee: Cliff Jansen
Porting Issue -- dll imports and exports on Visual Studio
Apologies for all the JIRA spam, as you can probably guess by now I've gone
through the unresolved JIRA list with Rob and updated the fix versions. As
it stands now there are about 26 JIRAs for the 0.4 release. I believe a
good number of these are partially or possibly entirely completed at this
Hello and welcome,
I had a little trouble tracking down the slide you're referring to. It
sounds like it could possibly be a bit dated given the title. Perhaps you
could describe your intended usage a little bit? In particular I'd be
interested in what you found lacking in the Messenger API, and
Darryl L. Pierce created PROTON-227:
---
Summary: Ruby bindings need a Data class
Key: PROTON-227
URL: https://issues.apache.org/jira/browse/PROTON-227
Project: Qpid Proton
Issue Type:
Darryl L. Pierce created PROTON-228:
---
Summary: Perl bindings need a Data class
Key: PROTON-228
URL: https://issues.apache.org/jira/browse/PROTON-228
Project: Qpid Proton
Issue Type:
Yes, when you subscribe with an address where the host portion starts with
a tilde, the messenger will actually bind to that address rather than
connect to it.
--Rafael
On Mon, Feb 11, 2013 at 2:51 PM, Paul O'Fallon p...@ofallonfamily.comwrote:
Ah ok thanks! Is it the tilde in the IP address
Rafael H. Schloming created PROTON-229:
--
Summary: allow messenger to not put the address on the message
Key: PROTON-229
URL: https://issues.apache.org/jira/browse/PROTON-229
Project: Qpid Proton
85 matches
Mail list logo