fountainibPoll.cpp File Reference

client utility polling the Fountain server for Infiniband node status information More...

#include "define.h"
#include "ClientRequest.h"
#include "FountainWireProt.h"
#include "NodeID.h"
#include "LokiInclude.h"
#include <bamboo/libbamboo.h>
#include <bamboo/ConfigReader.h>
#include <bamboo/qLog.h>
#include <ncurses.h>
#include <memory>
#include <iomanip>
#include <cstddef>
#include <csignal>
#include <cstdlib>
#include <vector>
#include <string>
#include <iostream>
#include <sstream>
#include <cerrno>

Functions

void version (char **argv)
 Displays the Fountain version.
bool initialize ()
 Performs initialization work for the master and slave Fountain node daemons.
void interruptHandler (int signalNumber)
 Called when we catch a signal.


Detailed Description

client utility polling the Fountain server for Infiniband node status information

Todo:
Make the minimum poll interval the same as the infiniband polling interval in FountainServer::InfinibandNetwork - sjm 10-30-2005

Function Documentation

bool initialize  ) 
 

Performs initialization work for the master and slave Fountain node daemons.

This function does two important things, registering for signal events and initializing the Bamboo library.

Return values:
bool true if initialization was successfull
false otherwise

void interruptHandler int  signalNumber  ) 
 

Called when we catch a signal.

If the signal is SIGINT or SIGTERM we'll set the global done variable to true

Parameters:
[in] signalNumber The signal number caught

void version char **  argv  ) 
 

Displays the Fountain version.

Parameters:
[in] argv Pointer to the argv array


Generated on Wed Mar 8 14:43:31 2006 for Fountain by  doxygen 1.4.6