Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

SRPC_listener Class Reference

#include <SRPC_impl.H>

List of all members.

Static Public Member Functions

static SRPC_listenercreate (u_short port, TCP_sock *ls=NULL) throw (TCP_sock::failure)
static bool destroy (SRPC_listener *listener) throw (TCP_sock::failure)

Public Attributes

TCP_socksock
bool my_sock
u_short port

Private Attributes

SRPC_listenernext
int n

Static Private Attributes

static Basics::mutex m
static SRPC_listenerlisteners = NULL


Member Function Documentation

SRPC_listener * SRPC_listener::create u_short  port,
TCP_sock ls = NULL
throw (TCP_sock::failure) [static]
 

Definition at line 479 of file SRPC_impl.C.

References TCP_sock::enable_keepalive(), INITIAL_WAITERS_KLUDGE, Basics::mutex::lock(), my_sock, n, NEW, NEW_CONSTR, next, port, TCP_sock::set_waiters(), sock, and Basics::mutex::unlock().

Referenced by SRPC::SRPC().

bool SRPC_listener::destroy SRPC_listener listener  )  throw (TCP_sock::failure) [static]
 

Definition at line 512 of file SRPC_impl.C.

References Basics::mutex::lock(), next, sock, and Basics::mutex::unlock().

Referenced by SRPC_impl::~SRPC_impl().


Member Data Documentation

SRPC_listener * SRPC_listener::listeners = NULL [static, private]
 

Definition at line 472 of file SRPC_impl.C.

Basics::mutex SRPC_listener::m [static, private]
 

Definition at line 471 of file SRPC_impl.C.

bool SRPC_listener::my_sock
 

Definition at line 251 of file SRPC_impl.H.

Referenced by create().

int SRPC_listener::n [private]
 

Definition at line 263 of file SRPC_impl.H.

Referenced by create().

SRPC_listener* SRPC_listener::next [private]
 

Definition at line 262 of file SRPC_impl.H.

Referenced by create(), and destroy().

u_short SRPC_listener::port
 

Definition at line 252 of file SRPC_impl.H.

Referenced by create().

TCP_sock* SRPC_listener::sock
 

Definition at line 250 of file SRPC_impl.H.

Referenced by create(), destroy(), and SRPC_impl::read_item_code().


The documentation for this class was generated from the following files:
Generated on Mon May 8 00:49:14 2006 for Vesta by  doxygen 1.4.2