Android-cuttlefish cvd tool
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
cuttlefish::process_sandboxer::Message Class Reference

#include <proxy_common.h>

Collaboration diagram for cuttlefish::process_sandboxer::Message:
Collaboration graph
[legend]

Public Member Functions

const std::string & Data () const
 
absl::StatusOr< int > DataAsInt () const
 
const std::optional< ucred > & Credentials () const
 
std::string StrError () const
 

Static Public Member Functions

static absl::StatusOr< MessageRecvFrom (int sock)
 

Private Member Functions

 Message ()=default
 

Private Attributes

std::string data_
 
std::optional< ucred > credentials_
 

Constructor & Destructor Documentation

◆ Message()

cuttlefish::process_sandboxer::Message::Message ( )
privatedefault

Member Function Documentation

◆ Credentials()

const std::optional< ucred > & cuttlefish::process_sandboxer::Message::Credentials ( ) const

◆ Data()

const std::string & cuttlefish::process_sandboxer::Message::Data ( ) const

◆ DataAsInt()

absl::StatusOr< int > cuttlefish::process_sandboxer::Message::DataAsInt ( ) const

◆ RecvFrom()

absl::StatusOr< Message > cuttlefish::process_sandboxer::Message::RecvFrom ( int  sock)
static

◆ StrError()

std::string cuttlefish::process_sandboxer::Message::StrError ( ) const

Member Data Documentation

◆ credentials_

std::optional<ucred> cuttlefish::process_sandboxer::Message::credentials_
private

◆ data_

std::string cuttlefish::process_sandboxer::Message::data_
private

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