Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

msg_rpc_global Class Reference

initializes the glogal RPC runtime environmental More...

#include <msg_rpc.h>

List of all members.

Public Member Functions

 msg_rpc_global ()
 constuctor
 ~msg_rpc_global ()
 destructor
void init (size_t connections)
 common global initialization

Private Member Functions

void _undo ()
 clear global initialization

Private Attributes

bool _done
 the current gloabal state
bool _rpcStarter


Detailed Description

initializes the glogal RPC runtime environmental

Definition at line 119 of file msg_rpc.h.


Constructor & Destructor Documentation

msg_rpc_global::msg_rpc_global (  ) 

constuctor

Definition at line 155 of file msg_rpc.cpp.

msg_rpc_global::~msg_rpc_global (  ) 

destructor

Definition at line 204 of file msg_rpc.cpp.

References _done, and _undo().


Member Function Documentation

void msg_rpc_global::init ( size_t  connections  ) 

common global initialization

Parameters:
connections  max incoming connections

Definition at line 160 of file msg_rpc.cpp.

References _done, _rpcStarter, exception::_throw(), g_name, g_protocol, g_protocol_, os_minus_one, rpc_s_already_listening, rpc_server_listen, rpc_server_use_protseq, rpcStatus(), str_template::strcpy(), and str_template::strlen().

Referenced by msg_rpc_listener::v_on().

void msg_rpc_global::_undo (  )  [private]

clear global initialization

Definition at line 190 of file msg_rpc.cpp.

References _done, _rpcStarter, and rpc_mgmt_stop_server_listening.

Referenced by ~msg_rpc_global().


Member Data Documentation

bool msg_rpc_global::_done [private]

the current gloabal state

Definition at line 136 of file msg_rpc.h.

Referenced by _undo(), init(), and ~msg_rpc_global().

Definition at line 137 of file msg_rpc.h.

Referenced by _undo(), and init().


The documentation for this class was generated from the following files:


© Copyright Terimber 2003-.