root / trunk / code / projects / colonet / ColonetServer / includes / ColonetServer.h @ 23
History | View | Annotate | Download (566 Bytes)
1 |
/**
|
---|---|
2 |
* @author Jason Knichel
|
3 |
* @date 9/10/07
|
4 |
*/
|
5 |
|
6 |
#ifndef COLONETSERVER_H
|
7 |
#define COLONETSERVER_H
|
8 |
|
9 |
#include "ConnectionPool.h" |
10 |
#include "Logging.h" |
11 |
|
12 |
class ColonetServer { |
13 |
public:
|
14 |
ColonetServer(); |
15 |
~ColonetServer(); |
16 |
int initialize_server(int argc, char * argv[]); |
17 |
|
18 |
int log_error(char * error_message); |
19 |
int log_message(char * message); |
20 |
|
21 |
int run_server(int listenSocket); |
22 |
|
23 |
ConnectionPool * get_connection_pool_pointer(); |
24 |
|
25 |
private:
|
26 |
ConnectionPool connection_pool; |
27 |
Log logger; |
28 |
|
29 |
int initialize_wireless();
|
30 |
int initConnection(int port); |
31 |
|
32 |
}; |
33 |
|
34 |
#endif
|