class sbn::process_handler
Base classes
Methods
  • write_kernel(const kernel * k) -> voidprotectedvirtual
  • read_kernel() -> kernel_ptrprotectedvirtual
  • receive_foreign_kernel(kernel_ptr && fk) -> voidprotectedvirtual
  • receive_kernel(kernel_ptr && k) -> voidprotectedvirtual
  • write(std::ostream & out) const -> voidvirtual
  • num_active_kernels() const -> int

    The number of kernels that were sent to the process, but have not returned yet.

  • unix(pipeline * rhs) -> void
  • unix() const -> pipeline *
  • out() const -> sys::fd_type
  • in() const -> sys::fd_type
  • stale(time_point now, duration timeout) -> bool
  • child_process_id() const -> sys::pid_type
  • application() const -> const ::sbn::application &
  • forward(kernel_ptr && k) -> void
  • stop() -> voidvirtual
  • flush() -> voidvirtual
  • remove(const connection_ptr & self) -> voidvirtual
  • add(const connection_ptr & self) -> voidvirtual
  • handle(const sys::epoll_event & event) -> voidvirtual
  • operator=(process_handler &&) -> process_handler &
  • process_handler(process_handler &&)
  • operator=(const process_handler &) -> process_handler &
  • process_handler(const process_handler &)
  • process_handler()
  • ~process_handler()virtual
  • process_handler(sys::pipe && pipe)explicit

    Called from child process.

  • process_handler(sys::pid_type child, sys::two_way_pipe && pipe, const ::sbn::application & app)

    Called from parent process.