#include <SRPC_impl.H>
Collaboration diagram for SRPC_listener:

Static Public Member Functions | |
| static SRPC_listener * | create (u_short port, TCP_sock *ls=NULL) throw (TCP_sock::failure) |
| static bool | destroy (SRPC_listener *listener) throw (TCP_sock::failure) |
Public Attributes | |
| TCP_sock * | sock |
| bool | my_sock |
| u_short | port |
Private Attributes | |
| SRPC_listener * | next |
| int | n |
Static Private Attributes | |
| static Basics::mutex | m |
| static SRPC_listener * | listeners |
Definition at line 248 of file SRPC_impl.H.
| 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:

Definition at line 250 of file SRPC_impl.H.
Referenced by create(), destroy(), LimService_Acceptor(), and SRPC_impl::read_item_code().
| u_short SRPC_listener::port |
SRPC_listener* SRPC_listener::next [private] |
int SRPC_listener::n [private] |
Basics::mutex SRPC_listener::m [static, private] |
SRPC_listener * SRPC_listener::listeners [static, private] |
1.5.1