class sbn::application
Types
  • using string_array = std::vector< std::string >
  • using id_type = sys::u64
Methods
  • read(kernel_buffer & in) -> void
  • write(kernel_buffer & out) const -> void
  • execute(const sys::two_way_pipe & pipe) const -> int
  • wait_for_completion(bool rhs) -> void
  • wait_for_completion() const -> bool
  • arguments() const -> const string_array &
  • filename() const -> const std::string &
  • group() const -> sys::gid_type
  • user() const -> sys::uid_type
  • id() const -> id_type
  • credentials(const sys::user_credentials & rhs) -> void
  • credentials(sys::uid_type uid, sys::gid_type gid) -> void
  • working_directory() const -> const sys::path &
  • working_directory(const sys::path & rhs) -> void
  • ~application()
  • operator=(const application & rhs) -> application &
  • application(const application & rhs)
  • operator=(application && rhs) -> application &
  • application(application && rhs)
  • application()
  • application(const string_array & args, const string_array & env)
Friends
  • operator<<
id(application::id_type rhs) -> void
generate_application_id() -> application::id_type
operator>>(kernel_buffer & in, application & rhs) -> kernel_buffer &
get_input_fd() -> sys::fd_type
id() -> application::id_type

Cluster-wide application ID.

standalone() -> bool
get_output_fd() -> sys::fd_type
operator<<(std::ostream & out, const application & rhs) -> std::ostream &
operator<<(kernel_buffer & out, const application & rhs) -> kernel_buffer &