Mir
Public Member Functions | List of all members
mir::cookie::Cookie Class Referenceabstract

#include <cookie.h>

Public Member Functions

 Cookie ()=default
 
virtual ~Cookie ()=default
 
 Cookie (Cookie const &cookie)=delete
 
Cookieoperator= (Cookie const &cookie)=delete
 
virtual uint64_t timestamp () const =0
 Returns the timestamp that the cookie is built with. More...
 
virtual std::vector< uint8_t > serialize () const =0
 Converts the cookie into a stream of bytes. More...
 

Constructor & Destructor Documentation

◆ Cookie() [1/2]

mir::cookie::Cookie::Cookie ( )
default

◆ ~Cookie()

virtual mir::cookie::Cookie::~Cookie ( )
virtualdefault

◆ Cookie() [2/2]

mir::cookie::Cookie::Cookie ( Cookie const &  cookie)
delete

Member Function Documentation

◆ operator=()

Cookie& mir::cookie::Cookie::operator= ( Cookie const &  cookie)
delete

◆ serialize()

virtual std::vector<uint8_t> mir::cookie::Cookie::serialize ( ) const
pure virtual

Converts the cookie into a stream of bytes.

Returns
The stream of bytes formatted

◆ timestamp()

virtual uint64_t mir::cookie::Cookie::timestamp ( ) const
pure virtual

Returns the timestamp that the cookie is built with.

Returns
The timestamp

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

Copyright © 2012-2018 Canonical Ltd.
Generated on Mon Feb 19 14:06:43 UTC 2018