Android-cuttlefish cvd tool
Public Member Functions | Private Attributes | List of all members
udp::Header Class Reference

Public Member Functions

 Header ()
 
 ~Header ()=default
 
uint8_t id () const
 
const uint8_t * bytes () const
 
void Set (uint8_t id, uint16_t sequence, Flag flag)
 
bool Matches (const uint8_t *response)
 

Private Attributes

uint8_t bytes_ [kHeaderSize]
 

Constructor & Destructor Documentation

◆ Header()

udp::Header::Header ( )

◆ ~Header()

udp::Header::~Header ( )
default

Member Function Documentation

◆ bytes()

const uint8_t * udp::Header::bytes ( ) const
inline

◆ id()

uint8_t udp::Header::id ( ) const
inline

◆ Matches()

bool udp::Header::Matches ( const uint8_t *  response)

◆ Set()

void udp::Header::Set ( uint8_t  id,
uint16_t  sequence,
Flag  flag 
)

Member Data Documentation

◆ bytes_

uint8_t udp::Header::bytes_[kHeaderSize]
private

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