oxen-mq/tests
Jason Rhinelander 506bd65b05 Add better deferred reply capabilities to Message
This provides an interface for sending a reply to a message later (i.e.
after the Message& itself is no longer valid) by using a new
`send_later()` method of the Message instance that returns an object
that can properly route replies (and can outlive the Message it was
called on).

Intended use is:

    run_this_lambda_later([send=msg.send_later()] {
        send.reply("content");
    });

which is equivalent to:

    run_this_lambda_later([&msg] {
        msg.send_reply("content");
    });

except that it works properly even if the lambda is invoked beyond the
lifetime of `msg`.
2021-01-21 11:59:39 -04:00
..
Catch2@b3b07215d1 Add initial test suite with some batch job tests 2020-02-06 18:10:26 -04:00
CMakeLists.txt Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
common.h Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
main.cpp Add initial test suite with some batch job tests 2020-02-06 18:10:26 -04:00
test_address.cpp Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
test_batch.cpp Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
test_bt.cpp Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
test_commands.cpp Add better deferred reply capabilities to Message 2021-01-21 11:59:39 -04:00
test_connect.cpp Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
test_encoding.cpp Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
test_failures.cpp Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
test_inject.cpp Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
test_requests.cpp Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
test_tagged_threads.cpp Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00