The Message Transport and Communication between Nodes

This topic introduces the Message Transport and the concept of communication between Nodes.

Nodes communicate with other Nodes . Nodes normally use asynchronous communication, but Flow Nodes in the Data Plane use synchronous communication to communicate with other Flow Nodes.

Nodes use messages and message queues to communicate asynchronously. Nodes use direct function calls to communicate synchronously. The Node API is the set of messages to which a Node responds.

You can do operations on Nodes. The following list gives some of the features of an operation on a Node:

  • an operation is a sequence of messages sent to the Node.

  • a Node can run many operations at the same time

  • an operation can define if another operation can run on the Node at the same time.

  • a Node can define the order that operations must occur.

A Node normally sends a message to second Node and expects a reply from the second Node. The first Node stops the operation until the first Node receives the reply. Some messages do not require a reply. For example, a message that signals that a Node must destroy itself does not require a reply.

The Message Transport

The Message Transport is the framework that allows messages to pass between Nodes.

The Message Transport has the following features:

  • the Message Transport guarantees the delivery of messages

  • the design of the addressing system allows the Message Transport to deliver messages to any Node in the Communications Stack.

  • the Message Transport can deliver messages across thread and process boundaries

The Message Transport must register Nodes before the Transport can deliver messages. When the Communications Framework creates the Nodes, the Framework registers the Nodes automatically with the Message Transport.

Messages

A Message is the data that passes asynchronously between nodes in the Communications Framework. The Communications Framework uses the class TCFSignalBase to represent a message.

Related concepts