oxen-mq/tests
Jason Rhinelander 932bbb33d7 Allow injecting tasks into lokimq job queue
This allows mixing some outside task into the lokimq job queue for a
category (queued up with native LMQ requests for that category) for use
when there is some external process that is able to generate messages.

For example, the most immediate use for this is to allow an HTTP server
to handle incoming RPC requests and, as soon as they arrive, inject them
into LokiMQ's queue for the "rpc" category so that native LMQ rpc
requests and HTTP rpc requests share the same thread pool and queue.

These injected jobs bypass all of LokiMQ's authentication and response
mechanisms: that's up to the invoked callback itself to manage.

Injected tasks are somewhat similar to batch jobs, but unlike batch jobs
the are queued and prioritized as ordinary external LokiMQ requests.
(Batch jobs, in contrast, have a higher scheduling priority, no queue
limits, and typically a larger available thread pool).
2020-06-30 18:44:11 -03:00
..
Catch2@b3b07215d1 Add initial test suite with some batch job tests 2020-02-06 18:10:26 -04:00
CMakeLists.txt Allow injecting tasks into lokimq job queue 2020-06-30 18:44:11 -03:00
common.h 1.1.0: invocation-time SN auth; failure responses 2020-04-12 19:57:19 -03:00
main.cpp Add initial test suite with some batch job tests 2020-02-06 18:10:26 -04:00
test_address.cpp Add address parsing/generating class 2020-05-08 21:42:16 -03:00
test_batch.cpp Add more locks around assertions 2020-03-21 12:56:13 -03:00
test_bt.cpp Add missing files 2020-05-15 00:28:34 -03:00
test_commands.cpp Take lokimq::address as connect_remote argument 2020-06-30 13:09:34 -03:00
test_connect.cpp Take lokimq::address as connect_remote argument 2020-06-30 13:09:34 -03:00
test_encoding.cpp Add it pair versions of {to,from}_{hex,base32z,base64} 2020-05-13 14:47:01 -03:00
test_failures.cpp Silence c++17 warnings from cppzmq 2020-05-12 15:47:22 -03:00
test_inject.cpp Allow injecting tasks into lokimq job queue 2020-06-30 18:44:11 -03:00
test_requests.cpp Take lokimq::address as connect_remote argument 2020-06-30 13:09:34 -03:00
test_tagged_threads.cpp Drop tagged thread init function; add synchronization dance 2020-06-07 21:28:53 -03:00