Wire Sysio Wire Sysion 1.0.0
|
Namespaces | |
namespace | alloc |
namespace | pool |
Classes | |
class | message |
Represents a buffer for a single WebSocket message. More... | |
Functions | |
template<typename T > | |
void | message_deleter (T *msg) |
Custom deleter for use in shared_ptrs to message. | |
This is used to catch messages about to be deleted and offer the manager the ability to recycle them instead. Message::recycle will return true if it was successfully recycled and false otherwise. In the case of exceptions or error this deleter frees the memory.
Definition at line 84 of file pool.hpp.