Set the next message to send, returning whether it was accepted.

Synopsis

Declared in <net.h>

[[requires_capability(0x7f2e2b0f23f8), requires_capability(0x7f2e2aa3bc68), requires_capability(0x7f2e22e7c0e8), requires_capability(0x7f2e26d28cb8), requires_capability(0x7f2e20d4a708), requires_capability(0x7f2e2af17638), requires_capability(0x7f2e4317d8b8), requires_capability(0x7f2e21e50de8), requires_capability(0x7f2e1b876438), requires_capability(0x7f2e35f9dca8), requires_capability(0x7f2e4396cff8)]]
virtual
bool
SetMessageToSend(CSerializedNetMsg& msg) noexcept override;

Return Value

true if the message was accepted, false if none could be set right now.

Parameters

Name

Description

msg

the message to enqueue; may be moved‐from on success.

Created with MrDocs