fart/distrib/distrib.h
Josh Holtrop 74399fe145 working on distrib infrastructure more
git-svn-id: svn://anubis/fart/trunk@221 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-04-05 15:52:18 +00:00

25 lines
454 B
C++

#ifndef DISTRIB_H
#define DISTRIB_H DISTRIB_H
#include <string>
#include <vector>
class distrib
{
public:
int readHostFile(const char * filename);
int connect();
int startServer();
protected:
int connect(const std::string & host);
std::vector<std::string> m_hosts;
std::vector<int> m_children;
std::string m_servername;
int m_serverport;
int m_listen_socket;
};
#endif