SRPC_listener Class Reference

#include <SRPC_impl.H>

Collaboration diagram for SRPC_listener:

Collaboration graph
[legend]
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

Detailed Description

Definition at line 248 of file SRPC_impl.H.


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, listeners, Basics::mutex::lock(), ls, m, my_sock, n, NEW, NEW_CONSTR, next, port, TCP_sock::set_waiters(), sock, and Basics::mutex::unlock().

Referenced by LimService_Acceptor(), and SRPC::SRPC().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 512 of file SRPC_impl.C.

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

Referenced by SRPC_impl::~SRPC_impl().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

TCP_sock* SRPC_listener::sock

Definition at line 250 of file SRPC_impl.H.

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

bool SRPC_listener::my_sock

Definition at line 251 of file SRPC_impl.H.

Referenced by create().

u_short SRPC_listener::port

Definition at line 252 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().

int SRPC_listener::n [private]

Definition at line 263 of file SRPC_impl.H.

Referenced by create().

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

Definition at line 266 of file SRPC_impl.H.

Referenced by create(), and destroy().

SRPC_listener * SRPC_listener::listeners [static, private]

Definition at line 267 of file SRPC_impl.H.

Referenced by create(), and destroy().


The documentation for this class was generated from the following files:
Generated on Fri May 25 01:25:22 2007 for Vesta by  doxygen 1.5.1