qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Conway (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1221) c++: new container interface lacks scheduled timer events
Date Tue, 14 Jun 2016 13:42:01 GMT

    [ 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


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

> 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

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message