oxen-mq/oxenmq
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
..
address.cpp Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
address.h Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
auth.cpp Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
auth.h Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
base32z.h Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
base64.h Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
batch.h Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
bt_serialize.cpp Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
bt_serialize.h Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
bt_value.h Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
byte_type.h Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
connections.cpp Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
connections.h Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
hex.h Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
jobs.cpp Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
message.h Add better deferred reply capabilities to Message 2021-01-21 11:59:39 -04:00
oxenmq-internal.h Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
oxenmq.cpp Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
oxenmq.h Add better deferred reply capabilities to Message 2021-01-21 11:59:39 -04:00
proxy.cpp Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
variant.h Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
version.h.in Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
worker.cpp Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00