ESA JPIP server  0.1
esa_jpip_server.cc File Reference
#include <sys/wait.h>
#include <signal.h>
#include "trace.h"
#include "version.h"
#include "app_info.h"
#include "app_config.h"
#include "args_parser.h"
#include "client_info.h"
#include "client_manager.h"
#include "net/poll_table.h"
#include "net/socket_stream.h"
#include "jpeg2000/file_manager.h"
#include "jpeg2000/index_manager.h"
Include dependency graph for esa_jpip_server.cc:

Macros

#define SERVER_NAME   "ESA JPIP Server"
 
#define SERVER_APP_NAME   "esa_jpip_server"
 
#define CONFIG_FILE   "server.cfg"
 
#define POLLRDHUP   (0)
 

Functions

int ChildProcess ()
 
void * ClientThread (void *arg)
 
bool ParseArguments (int argc, char **argv)
 
void SIGCHLD_handler (int signal)
 
int main (int argc, char **argv)
 

Variables

AppConfig cfg
 
int base_id = 0
 
AppInfo app_info
 
Socket child_socket
 
PollTable poll_table
 
bool child_lost = false
 
IndexManager index_manager
 
UnixAddress child_address ("/tmp/child_unix_address")
 
UnixAddress father_address ("/tmp/father_unix_address")
 

Macro Definition Documentation

#define CONFIG_FILE   "server.cfg"
#define POLLRDHUP   (0)
#define SERVER_APP_NAME   "esa_jpip_server"
#define SERVER_NAME   "ESA JPIP Server"

Function Documentation

int ChildProcess ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void * ClientThread ( void *  arg)

Here is the call graph for this function:

Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)

Here is the call graph for this function:

bool ParseArguments ( int  argc,
char **  argv 
)
void SIGCHLD_handler ( int  signal)

Here is the caller graph for this function:

Variable Documentation

AppInfo app_info
int base_id = 0
AppConfig cfg
UnixAddress child_address("/tmp/child_unix_address")
bool child_lost = false
Socket child_socket
UnixAddress father_address("/tmp/father_unix_address")
IndexManager index_manager
PollTable poll_table