20#define RESIPROCATE_SUBSYSTEM AppSubsystem::MOHPARKSERVER
27 std::cerr <<
"Shutting down..." << endl;
32main (
int argc,
char** argv)
35 if ( signal( SIGPIPE, SIG_IGN) == SIG_ERR)
37 cerr <<
"Couldn't install signal handler for SIGPIPE" << endl;
41#if defined(_DEBUG) && defined(LEAK_CHECK)
42 resip::FindMemoryLeaks fml;
48 cerr <<
"Couldn't install signal handler for SIGINT" << endl;
54 cerr <<
"Couldn't install signal handler for SIGTERM" << endl;
82 InfoLog(<<
"MOHParkServer is shutdown.");
int main(int argc, char **argv)
static void signalHandler(int signo)
void startup()
Starts the recon thread(s).
void shutdown()
Used to initiate a shutdown of the server.
void process(int timeoutMs)
This should be called in a loop to give process cycles to the server.
dcm! – add UnusedChecking(_enum) below;
void sleepSeconds(unsigned int seconds)
void initNetwork()
set up network - does nothing in unix but needed for windows