All messages exchanged between the nodes pass through so called endpoints. An endpoint is like a logical gate that connects the services of each node. A good analogy to the TCP/IP stack would be comparing endpoints to network ports.
In RCM library, an endpoint is represented by rcm::Endpoint class. An endpoint is always associated with a rcm::Connection object. In order to send and receive messages, at least one endpoint needs to be registered withing the rcm::Connection object.
In order to register and endpoint call the rcm::Connection::registerEndpoint method passing the endpoint number. Valid endpoints number are from 1 to 239. Endpoint 0 is an internal RCM endpoint used for control traffic and endpoints above 239 are reserved for other usage.
In addition, each endpoint also includes a list of filters, that can be used to implement automatic message brokering (see Message filters).
Generated on Thu Feb 22 2018 13:14:54 for RCM API C++ Library by 188.8.131.52