Android-cuttlefish cvd tool
Classes | Namespaces | Enumerations
request.h File Reference
#include <android-base/logging.h>
#include <json/json.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <algorithm>
#include <cstdint>
#include <map>
#include <memory>
#include <optional>
#include <string>
Include dependency graph for request.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cuttlefish::RequestHeader
 Defines the format for allocd Request messages. More...
 
class  cuttlefish::JsonRequestReader
 Provides a wrapper around libjson's Reader to additionally log errors. More...
 

Namespaces

namespace  cuttlefish
 

Enumerations

enum class  cuttlefish::RequestType : uint16_t {
  cuttlefish::Invalid = 0 , cuttlefish::ID , cuttlefish::CreateInterface , cuttlefish::DestroyInterface ,
  cuttlefish::StopSession , cuttlefish::Shutdown , cuttlefish::Invalid = 0 , cuttlefish::ID ,
  cuttlefish::CreateInterface , cuttlefish::DestroyInterface , cuttlefish::StopSession , cuttlefish::Shutdown
}
 Defines operations supported by allocd. More...
 
enum class  cuttlefish::IfaceType : uint16_t {
  cuttlefish::Invalid = 0 , cuttlefish::mtap , cuttlefish::wtap , cuttlefish::wifiap ,
  cuttlefish::etap , cuttlefish::wbr , cuttlefish::ebr , cuttlefish::Invalid = 0 ,
  cuttlefish::mtap , cuttlefish::wtap , cuttlefish::wifiap , cuttlefish::etap ,
  cuttlefish::wbr , cuttlefish::ebr
}
 Defines interface types supported by allocd. More...
 
enum class  cuttlefish::RequestStatus : uint16_t {
  cuttlefish::Invalid = 0 , cuttlefish::Pending , cuttlefish::Success , cuttlefish::Failure ,
  cuttlefish::Invalid = 0 , cuttlefish::Pending , cuttlefish::Success , cuttlefish::Failure
}