21 #define epicsAssertAuthor "Jeff Hill johill@lanl.gov" 30 double periodIn, epicsTimerQueue & queueIn ) :
31 period ( periodIn ),
timer ( queueIn.createTimer () ),
32 cbMutex ( cbMutexIn ), ctxNotify ( ctxNotifyIn ),
33 mutex ( mutexIn ), iiu ( iiuIn )
42 epicsTimerNotify::expireStatus tcpSendWatchdog::expire (
48 return expireStatus ( restart, this->period );
56 this->iiu.
getHostName ( guard, hostName,
sizeof ( hostName ) );
57 debugPrintf ( (
"Request not accepted by CA server %s for %g sec. Disconnecting.\n",
58 hostName, this->period ) );
virtual ~tcpSendWatchdog()
void start(const epicsTime &)
void sendTimeoutNotify(callbackManager &cbMgr, epicsGuard< epicsMutex > &guard)
tcpSendWatchdog(epicsMutex &cbMutex, cacContextNotify &ctxNotify, epicsMutex &mutex, tcpiiu &, double periodIn, epicsTimerQueue &queueIn)
bool receiveThreadIsBusy(epicsGuard< epicsMutex > &)
#define debugPrintf(argsInParen)
unsigned getHostName(epicsGuard< epicsMutex > &, char *pBuf, unsigned bufLength) const
void start(class epicsTimerNotify &, const epicsTime &)