Go to the source code of this file.
|
| class | JobCommunic |
| | Multi-machine socket communicator Handles the communication between a client and the primary host, from the client's point of view. More...
|
| |
◆ mReturn
Value: { \
if ( ret ) { nrattempts_ = 0; return true; } \
if ( nrattempts_++ < maxtries_ ) return true; \
stillok_ = false; \
directMsg("Lost connection with primary host[1]. Exiting."); \
ApplicationData::exit( -1 ); return false; \
}
◆ mTryMaxtries
| #define mTryMaxtries |
( |
|
fn | ) |
|
Value: { \
for ( int i=0; i<maxtries_; i++ ) \
{ \
bool ret = fn; \
if ( ret ) return true; \
sleepSeconds(1); \
} \
stillok_ = false; \
directMsg("Lost connection with primary host[2]. Exiting."); \
ApplicationData::exit( -1 ); return false; \
}