#include <protobuf.hpp>
Inheritance diagram for ProtobufProcess< T >:
Public Member Functions
Protected Types
template<typename M , typename P >
Any function which takes a "from"
UPID and a message body as arguments.
More...
Protected Member Functions
template<typename M >
template<typename M >
template<typename M >
template<typename M , typename... P, typename... PC>
template<typename M >
void
install (void(T::*method)(const M &))
template<typename M >
void
install (void(T::*method)(M &&))
template<typename M >
template<typename M , typename... P, typename... PC>
Invoked when an event is serviced.
More...
Invoked when a process gets spawned.
More...
Invoked when a process is terminated.
More...
Invoked when a linked process has exited.
More...
Invoked when a linked process can no longer be monitored.
More...
void
send (const
UPID &to, const std::string &name, const char *data=nullptr, size_t length=0)
void
send (const
UPID &to, std::string &&name)
void
send (const
UPID &to, std::string &&name, std::string &&data)
Sets up a handler for messages with the specified name.
More...
template<typename T >
void
install (const std::string &name, void(T::*method)(const
UPID &, const std::string &))
Sets up a handler for messages with the specified name.
More...
Delegates incoming messages, with the specified name, to the
UPID .
More...
Sets up a handler for HTTP requests with the specified name.
More...
template<typename T >
Sets up a handler for HTTP requests with the specified name.
More...
template<typename T >
void
provide (const std::string &name, const std::string &path, const std::map< std::string, std::string > &types=
mime::types)
Sets up the default HTTP request handler to provide the static asset(s) at the specified
absolute path for the specified name.
More...
template<typename T >
Returns the number of events of the given type currently on the event queue.
More...
Member Typedef Documentation
template<typename T>
template<typename M , typename P >
Constructor & Destructor Documentation
Member Function Documentation
template<typename T>
inlineoverrideprotectedvirtual
template<typename T>
template<typename M >
template<typename T>
template<typename M >
template<typename T>
template<typename M >
template<typename T>
template<typename M , typename... P, typename... PC>
template<typename T>
template<typename M >
template<typename T>
template<typename M >
template<typename T>
template<typename M >
template<typename T>
template<typename M , typename... P, typename... PC>
template<typename T>
void
ProtobufProcess< T >::reply
(
const google::protobuf::Message &
message )
inlineprotected
template<typename T>
const google::protobuf::Message &
message
)
inlineprotected
The documentation for this class was generated from the following file: