1. 13 Dec, 2017 1 commit
    • Joseph Noir's avatar
      Add basic UDP support · 42dcb781
      Joseph Noir authored
      This commit adds basic support for UDP to CAF. It includes a new
      datagram servant for the multiplexer, associated handles, message types
      and tests. CAF messages sent via UDP are delivered in order but
      unreliably.
      
      The receive buffer has a size of 65k which should enable CAF to receive
      all regular datagrams. Currently, messages that are bigger than the MTU
      will be fragmented by IP.
      
      Message slicing and optional reliability are planned for the future.
      42dcb781
  2. 14 Nov, 2017 2 commits
  3. 09 Nov, 2017 1 commit
  4. 08 Nov, 2017 1 commit
  5. 07 Nov, 2017 2 commits
  6. 01 Nov, 2017 1 commit
  7. 30 Oct, 2017 1 commit
  8. 29 Oct, 2017 2 commits
  9. 28 Oct, 2017 1 commit
  10. 24 Oct, 2017 2 commits
  11. 23 Oct, 2017 2 commits
  12. 19 Oct, 2017 5 commits
  13. 18 Oct, 2017 3 commits
  14. 17 Oct, 2017 2 commits
  15. 16 Oct, 2017 1 commit
    • Marian Triebe's avatar
      Add possibility to register thread hooks · d8dc4018
      Marian Triebe authored
      Example:
      ```
      class my_thread_hooks : public thread_hook {
      public:
        my_thread_hooks(/*arguments...*/) {
          // ...
        }
        /// Called by the actor system once before starting any threads.
        virtual void init(actor_system&) {
          // ...
        }
      
        /// Called whenever the actor system has started a new thread.
        /// To access a reference to the started thread use `std::this_thread`.
        /// @warning must the thread-safe
        virtual void thread_started() {
          // ...
        }
      
        /// Called whenever a thread is about to quit.
        /// To access a reference to the terminating thread use `std::this_thread`.
        /// @warning must the thread-safe
        virtual void thread_terminates() {
          // ...
        }
      };
      // ...
      actor_system_config cfg{};
      cfg.add_add_thread_hook<my_thread_hooks>(/*arguments for constructor*/);
      // ...
      ```
      
      closes #603
      d8dc4018
  16. 12 Oct, 2017 1 commit
  17. 11 Oct, 2017 1 commit
    • Dominik Charousset's avatar
      Fix state cleanup in BASP broker · 4b358e63
      Dominik Charousset authored
      BASP needs to release all state kept for connection handles, because the
      OS re-uses socket IDs as soon as they are closed. Since the connection
      handle is the socket ID this leads to inconsitent state.
      4b358e63
  18. 09 Oct, 2017 2 commits
  19. 08 Oct, 2017 3 commits
  20. 06 Oct, 2017 3 commits
  21. 30 Sep, 2017 2 commits
  22. 29 Sep, 2017 1 commit