Apache Mesos
Classes | Public Member Functions | Public Attributes | Protected Attributes | Friends | List of all members
process::UPID Struct Reference

An "untyped" PID, used to encapsulate the process ID for lower-layer abstractions (eg, when receiving incoming requests) in the dispatching mechanism. More...

#include <pid.hpp>

Inheritance diagram for process::UPID:
process::PID< internal::ReaderProcess< T > > process::PID< master::mesos::internal::tests::cluster::Master > process::PID< mesos::internal::master::allocator::internal::HierarchicalAllocatorProcess > process::PID< MockMasterAPISubscriberProcess > process::PID< RuntimeProcess > process::PID< slave::mesos::internal::tests::cluster::Slave > process::PID< T >

Classes

struct  ID
 

Public Member Functions

 UPID ()=default
 
 UPID (const UPID &that)=default
 
 UPID (UPID &&that)=default
 
 UPID (const char *id_, const net::IP &ip_, uint16_t port_)
 
 UPID (const char *id_, const network::inet::Address &address_)
 
 UPID (const std::string &id_, const net::IP &ip_, uint16_t port_)
 
 UPID (const std::string &id_, const network::inet::Address &address_)
 
 UPID (const char *s)
 
 UPID (const std::string &s)
 
 UPID (const ProcessBase &process)
 
UPIDoperator= (const UPID &that)=default
 
UPIDoperator= (UPID &&that)=default
 
 operator std::string () const
 
 operator bool () const
 
bool operator! () const
 
bool operator< (const UPID &that) const
 
bool operator== (const UPID &that) const
 
bool operator!= (const UPID &that) const
 
void resolve ()
 

Public Attributes

struct process::UPID::ID id
 
network::inet::Address address = network::inet4::Address::ANY_ANY()
 
struct {
   Option< network::inet6::Address >   v6
 
addresses = {None()}
 
Option< std::string > host
 

Protected Attributes

Option< std::weak_ptr< ProcessBase * > > reference = None()
 

Friends

class ProcessBase
 
class ProcessManager
 

Detailed Description

An "untyped" PID, used to encapsulate the process ID for lower-layer abstractions (eg, when receiving incoming requests) in the dispatching mechanism.

See also
process::PID

Constructor & Destructor Documentation

process::UPID::UPID ( )
default
process::UPID::UPID ( const UPID that)
default
process::UPID::UPID ( UPID &&  that)
default
process::UPID::UPID ( const char *  id_,
const net::IP ip_,
uint16_t  port_ 
)
inline
process::UPID::UPID ( const char *  id_,
const network::inet::Address address_ 
)
inline
process::UPID::UPID ( const std::string &  id_,
const net::IP ip_,
uint16_t  port_ 
)
inline
process::UPID::UPID ( const std::string &  id_,
const network::inet::Address address_ 
)
inline
process::UPID::UPID ( const char *  s)
process::UPID::UPID ( const std::string &  s)
process::UPID::UPID ( const ProcessBase process)

Member Function Documentation

process::UPID::operator bool ( ) const
inline
process::UPID::operator std::string ( ) const
bool process::UPID::operator! ( ) const
inline
bool process::UPID::operator!= ( const UPID that) const
inline
bool process::UPID::operator< ( const UPID that) const
inline
UPID& process::UPID::operator= ( const UPID that)
default
UPID& process::UPID::operator= ( UPID &&  that)
default
bool process::UPID::operator== ( const UPID that) const
inline
void process::UPID::resolve ( )

Friends And Related Function Documentation

friend class ProcessBase
friend
friend class ProcessManager
friend

Member Data Documentation

struct { ... } process::UPID::addresses
Option<std::string> process::UPID::host
struct process::UPID::ID process::UPID::id
Option<std::weak_ptr<ProcessBase*> > process::UPID::reference = None()
protected
Option<network::inet6::Address> process::UPID::v6

The documentation for this struct was generated from the following file: