[#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(0x7f950f17a4a8), requires&lowbar;capability(0x7f950f2097b8), requires&lowbar;capability(0x7f950b00ce98), requires&lowbar;capability(0x7f950304fd98), requires&lowbar;capability(0x7f95236de848), requires&lowbar;capability(0x7f9525297fb8), requires&lowbar;capability(0x7f950ec9d608), requires&lowbar;capability(0x7f950fd08598), requires&lowbar;capability(0x7f951dfac9d8), requires&lowbar;capability(0x7f9524e66478), requires&lowbar;capability(0x7f950f740718)&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]#
