Jump to content

Messenger Library Messaging Patterns: Difference between revisions

From LabVIEW Wiki
mNo edit summary
mNo edit summary
Line 2: Line 2:


[[Messenger Library]] is intended to support the following patterns:
[[Messenger Library]] is intended to support the following patterns:
* Command: simply sending a command [[Messenger Library Messages|message]] to an [[Messenger Library Address|Address]].
* Command: simply sending a command [[Messenger Library Messages|message]] to an [[Messenger Library Addresses|Address]].
* Request-Reply (blocking): sending a command and then waiting for a specific replay to come back.  Also called a "Query".
* Request-Reply (blocking): sending a command and then waiting for a specific replay to come back.  Also called a "Query".
* Request-Reply Asynchronous: Sending a request with reply address attached to the message, then carrying on with other work before the reply is sent back to us. This is analogous to email.
* Request-Reply Asynchronous: Sending a request with reply address attached to the message, then carrying on with other work before the reply is sent back to us. This is analogous to email.

Revision as of 17:59, 18 February 2019

Messaging Patterns

Messenger Library is intended to support the following patterns:

  • Command: simply sending a command message to an Address.
  • Request-Reply (blocking): sending a command and then waiting for a specific replay to come back. Also called a "Query".
  • Request-Reply Asynchronous: Sending a request with reply address attached to the message, then carrying on with other work before the reply is sent back to us. This is analogous to email.
  • Scatter Gather (Blocking or Async): multi-actor versions of Request-Reply. Makes use of Future Tokens.
  • Register-Notify: Registration messages request future update "Notifications". See the Observer Registry helper object.

Useful Links: