|
Fray Engine
|
Builds outgoing frames sent by the Engine (sender is always the Engine). Stateless; safe to use from any thread. More...
#include <message.hpp>
Public Member Functions | |
| F_err | build (const FrameOptions &options, std::shared_ptr< const std::vector< F_uchar > > &out) const |
| Builds an Engine frame from the options, stamping the protocol version, a new message id and the current time. | |
Builds outgoing frames sent by the Engine (sender is always the Engine). Stateless; safe to use from any thread.
Definition at line 450 of file message.hpp.
|
inline |
Builds an Engine frame from the options, stamping the protocol version, a new message id and the current time.
| options | Destination, operation, category, payload and header fields. |
| out | Receives the shared immutable frame only on success. |
Definition at line 460 of file message.hpp.