- Parameters:
-
| enabled | Set to true to enable this feature |
Redundant Peer Mode is a special mode which allows two peer RSTP nodes to establish two connections in a redundant loop, but only transmit one copy of each data message. This feature is implemented at the
RSTPClientMCIf level. When enabled, the client will expect to receive each individual data message/product an even number of times. If any message is received an odd number of times before the
eventRedundantPeerModeTick() event is sent the number of times set with
setRedundantPeerModeMaxTicks(), then this message will be sent to the data callback, to be relayed downstream.
In practice, this feature would be used with one upstream/client connection to a remote peer and one upstream connection to a local data source relay node. One downstream connection would feed the local data source relay node, and another would feed the remote peer node. Then, in practice, any differences in the incoming data would be transmitted to both the remote and local nodes, and the site which had not received the message will now have it.
In summary, the caveats to watch out for are: (1) There must be an even number of upstream connections in the
RSTPClientMCIf, and (2) each upstream node should be relaying the exact same datastream.