[
https://issues.apache.org/jira/browse/PROTON-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15329513#comment-15329513
]
Alan Conway commented on PROTON-1221:
-------------------------------------
API complete but the implementation does not yet support for multi-threaded
containers and examples.
https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;a=commit;h=ab54cb70601f96ed2b70fd17f6dd5ce1f273c207
PROTON-1221: c++ container::schedule() support.
container::schedule() with simple example of sending messages at a fixed
interval.
Examples for C++03 and C++11.
Modified inject() to use the same proton::void_function0 as schedule for C++03.
Note: the example chains schedule() calls at a fixed interval. A precise
fixed-frequency sender should take account of the actual time to correct for
variations.
> c++: new container interface lacks scheduled timer events
> ---------------------------------------------------------
>
> Key: PROTON-1221
> URL: https://issues.apache.org/jira/browse/PROTON-1221
> Project: Qpid Proton
> Issue Type: Bug
> Components: cpp-binding
> Reporter: Alan Conway
> Assignee: Alan Conway
>
> Scheduled timer events fell out of the new proton::container API and need to
> be restored. Rather than adding timer functions to the messaging_handler
> interface, container::schedule() will take a std::function (or C++03 functor
> class) similar to event_loop::inject.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]