Ignore:
Timestamp:
05/26/15 16:13:46 (8 years ago)
Author:
rlacroix
Message:

Allow using more servers than clients.

This will be useful later when implementing server to client communications.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/variable.cpp

    r591 r595  
    8787         msg<<this->getId() ; 
    8888         msg<<content ; 
    89          event.push(client->getServerLeader(),1,msg) ; 
     89         const std::list<int>& ranks = client->getRanksServerLeader(); 
     90         for (std::list<int>::const_iterator itRank = ranks.begin(), itRankEnd = ranks.end(); itRank != itRankEnd; ++itRank) 
     91           event.push(*itRank,1,msg); 
    9092         client->sendEvent(event) ; 
    9193       } 
Note: See TracChangeset for help on using the changeset viewer.