Apache Mesos
|
#include <event.hpp>
Public Member Functions | |
HttpEvent (std::unique_ptr< http::Request > &&_request, std::unique_ptr< Promise< http::Response >> &&_response) | |
HttpEvent (HttpEvent &&)=default | |
HttpEvent (const HttpEvent &)=delete | |
HttpEvent & | operator= (HttpEvent &&)=default |
HttpEvent & | operator= (const HttpEvent &)=delete |
~HttpEvent () override | |
void | visit (EventVisitor *visitor) const override |
void | consume (EventConsumer *consumer)&&override |
Public Member Functions inherited from process::Event | |
virtual | ~Event () |
template<typename T > | |
bool | is () const |
template<typename T > | |
const T & | as () const |
operator JSON::Object () const | |
Public Attributes | |
std::unique_ptr< http::Request > | request |
std::unique_ptr< Promise< http::Response > > | response |
|
inline |
|
default |
|
delete |
|
inlineoverride |
|
inlineoverridevirtual |
Implements process::Event.
|
inlineoverridevirtual |
Implements process::Event.
std::unique_ptr<http::Request> process::HttpEvent::request |
std::unique_ptr<Promise<http::Response> > process::HttpEvent::response |