mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
Change server mode to single redundancy
Single redundancy implies a single queue of messages which buffers messages until a client connects. In contrast to the previous multiple redundancy group mode, this mode can only accept one client at a time.
This commit is contained in:
parent
90886dcc8f
commit
58a9ed94f6
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ void SlaveNode::createSlave() noexcept
|
|||
|
||||
// create the slave object
|
||||
server.slave = CS104_Slave_create(server.low_priority_queue,server.high_priority_queue);
|
||||
CS104_Slave_setServerMode(server.slave, CS104_MODE_CONNECTION_IS_REDUNDANCY_GROUP);
|
||||
CS104_Slave_setServerMode(server.slave, CS104_MODE_SINGLE_REDUNDANCY_GROUP);
|
||||
|
||||
// configure the slave according to config
|
||||
server.asdu_app_layer_parameters = CS104_Slave_getAppLayerParameters(server.slave);
|
||||
|
|
Loading…
Add table
Reference in a new issue