server_side.cpp File Reference

#include "implem_only.h"
#include "server_side.h"
#include <opsystem/path_configuration.h>
#include <geometric/point.cpp>

Include dependency graph for server_side.cpp:

Go to the source code of this file.

Defines

#define DETACH(to_detach, to_return)

Functions

int named_byte_transaction (handle_t h, const byte *service, const byte *topic, int uid, const rpc_data_block *request, rpc_data_block *response)
int ng_login (handle_t h, const byte *entity, int root_id, int *id)
int ng_logout (handle_t h, int id)

Variables

const int MAX_CLIENTS = 10
const int MAX_SLUSH = 15
example_rpc_serversingle_server_instance = NIL


Define Documentation

#define DETACH ( to_detach,
to_return   ) 

Value:

{ \
  if (!detach(data, (int &)to_detach)) { \
    LOG("detach failed on " #to_detach); \
    return to_return; \
  } \
}

Definition at line 25 of file server_side.cpp.


Function Documentation

int named_byte_transaction ( handle_t  h,
const byte service,
const byte topic,
int  uid,
const rpc_data_block *  request,
rpc_data_block *  response 
)

Definition at line 223 of file server_side.cpp.

References FUNCDEF, example_rpc_server::process_client_request(), and single_server_instance.

int ng_login ( handle_t  h,
const byte entity,
int  root_id,
int *  id 
)

Definition at line 242 of file server_side.cpp.

int ng_logout ( handle_t  h,
int  id 
)

Definition at line 245 of file server_side.cpp.


Variable Documentation

const int MAX_CLIENTS = 10

Definition at line 34 of file server_side.cpp.

const int MAX_SLUSH = 15

Definition at line 36 of file server_side.cpp.

example_rpc_server* single_server_instance = NIL

Definition at line 43 of file server_side.cpp.

Referenced by example_rpc_server::example_rpc_server(), named_byte_transaction(), and example_rpc_server::~example_rpc_server().


Generated on Fri Nov 28 04:30:25 2008 for HOOPLE Libraries by  doxygen 1.5.1