[#NetEventsInterface-ProcessMessages]
= xref:NetEventsInterface.adoc[NetEventsInterface]::ProcessMessages
:relfileprefix: ../
:mrdocs:

Process protocol messages received from a given node

== Synopsis

Declared in `&lt;net&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e2b2c4ae8), requires&lowbar;capability(0x7f2e2ad30238), requires&lowbar;capability(0x7f2e2304e898), requires&lowbar;capability(0x7f2e26efb468), requires&lowbar;capability(0x7f2e23174ae8), requires&lowbar;capability(0x7f2e36844368), requires&lowbar;capability(0x7f2e228cca88), requires&lowbar;capability(0x7f2e20a20ad8), requires&lowbar;capability(0x7f2e1ba18b18), requires&lowbar;capability(0x7f2e2b9ec6b8), requires&lowbar;capability(0x7f2e403eedb8)&rsqb;&rsqb;
virtual
bool
ProcessMessages(
    xref:CNode.adoc[CNode]& node,
    std::atomic&lt;bool&gt;& interrupt) = 0;
----

== Return Value

True if there is more work to be done

== Parameters

[cols="1,4"]
|===
| Name| Description
| *node* [in]
| The node which we have received messages from&period;
| *interrupt* [in]
| Interrupt condition for processing threads
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
