Changeset 1158 for XIOS/dev/dev_olga/src/context_client.cpp
- Timestamp:
- 06/06/17 17:58:16 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/context_client.cpp
r1139 r1158 52 52 ranksServerLeader.push_back(rankStart + i); 53 53 54 ranksServerNotLeader.resize(0); } 54 ranksServerNotLeader.resize(0); 55 } 55 56 else 56 57 { … … 125 126 * Send the temporarily buffered event (if any). 126 127 * 127 * \return true if a temporarily buffered event could be sent, false otherwise 128 * \return true if a temporarily buffered event could be sent, false otherwise 128 129 */ 129 130 bool CContextClient::sendTemporarilyBufferedEvent() … … 171 172 } 172 173 } 173 174 174 175 175 /*! … … 323 323 } 324 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 325 /*! 326 Get leading server in the group of connected server 327 \return ranks of leading servers 328 */ 329 const std::list<int>& CContextClient::getRanksServerNotLeader(void) const 330 { 331 return ranksServerNotLeader; 332 } 333 334 /*! 335 Check if client connects to leading server 336 \return connected(true), not connected (false) 337 */ 338 bool CContextClient::isServerNotLeader(void) const 339 { 340 return !ranksServerNotLeader.empty(); 341 } 342 342 343 343 /*!
Note: See TracChangeset
for help on using the changeset viewer.