- 04 Jan, 2016 40 commits
-
-
Dominik Charousset authored
-
ufownl authored
To avoid the extra quotation marks when printing `std::string`.
-
ufownl authored
-
ufownl authored
Fix compile errors when using `typed_response_promise` with multiple template parameters.
-
Marian Triebe authored
-
Marian Triebe authored
-
Marian Triebe authored
-
Dominik Charousset authored
-
ufownl authored
The function with the same signature in `abstract_broker` return a `std::pair<accept_handle, uint16_t>` object.
-
Marian Triebe authored
-
Marian Triebe authored
-
Marian Triebe authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
The streamlined request API offers a unified error handling, where an actor either only provides a callback for the result or the callback and an error handler. If no error handler is provided, the actor calls `self->quit(exit_reason::unhandled_sync_failure)`. There is no replacement for `on_sync_error`, since the unified error handling superseeds its former purpose. Closes #365, closes #367, and relates #369.
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
Remove `error_atom` and `with_either<T>::or_else<U>`. Instead, typed actors are allowed to return `maybe<T>` instead of `T` and report errors back to synchronous callers via explicit errors. Errors are omitted for asynchronous ("fire-and-forget") clients. All errors in CAF are bundled in `caf::sec` (System Error Codes), but users of CAF are free to define custom errors. Relates #369 and relates #367.
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
Redesign API to include a class called `actor_system` for keeping context and configuration of an actor application. This replaces the previous design based on implicit, lazy singletons. Consequently free functions such as `spawn` have been moved to `actor_system`. Once an actor system has been initialized, there is no way to lazily load modules on-the-fly. Messages types, actor factories, modules such as the middleman, and scheduling parameters have to be configured using `actor_system_conf` before starting the system. The config class also allows users to parse INI files on startup or to set parameters using the command line (both features are not implemented yet).
-
Marian Triebe authored
close #399
-