Changeset 1033 for XIOS/trunk/src/node/context.cpp
- Timestamp:
- 01/24/17 16:15:50 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/context.cpp
r1028 r1033 339 339 } 340 340 341 //! Server side: Put server into a loop in order to listen message from client342 bool CContext::eventLoop(void)343 {344 return server->eventLoop();345 }346 347 341 //! Try to send the buffers and receive possible answers 348 342 bool CContext::checkBuffersAndListen(void) 349 343 { 350 344 client->checkBuffers(); 351 return server->eventLoop(); 345 346 bool hasTmpBufferedEvent = client->hasTemporarilyBufferedEvent(); 347 if (hasTmpBufferedEvent) 348 hasTmpBufferedEvent = !client->sendTemporarilyBufferedEvent(); 349 350 // Don't process events if there is a temporarily buffered event 351 return server->eventLoop(!hasTmpBufferedEvent); 352 352 } 353 353
Note: See TracChangeset
for help on using the changeset viewer.