Subordination
A framework for distributed programming
Public Types | Public Member Functions | Friends | List of all members
sbn::application Class Reference

Public Types

typedef std::string path_type
 
typedef application_type id_type
 
typedef std::vector< std::stringcontainer_type
 

Public Member Functions

 application (const container_type &args, const container_type &env)
 
 application (application &&rhs)=default
 
 application (const application &rhs)=default
 
void workdir (const sys::canonical_path &rhs)
 
void set_credentials (sys::uid_type uid, sys::gid_type gid) noexcept
 
void allow_root (bool rhs) const noexcept
 
id_type id () const noexcept
 
sys::uid_type uid () const noexcept
 
sys::gid_type gid () const noexcept
 
const std::stringfilename () const noexcept
 
void make_master () const noexcept
 
void make_slave () const noexcept
 
bool is_master () const noexcept
 
bool is_slave () const noexcept
 
process_role_type role () const noexcept
 
int execute (const sys::two_way_pipe &pipe) const
 
void write (sys::pstream &out) const
 
void read (sys::pstream &in)
 

Friends

std::ostreamoperator<< (std::ostream &out, const application &rhs)
 
void swap (application &lhs, application &rhs)
 

The documentation for this class was generated from the following files: