#include <MultiSRPC.H>
Public Types | |
typedef int | ConnId |
Public Member Functions | |
MultiSRPC (const Text &interface=Text("")) | |
~MultiSRPC () | |
ConnId | Start (const Text &hostname, SRPC *&srpc) throw (SRPC::failure) |
ConnId | Start (const Text &hostname, const Text &interface, SRPC *&srpc) throw (SRPC::failure) |
void | End (ConnId id) throw () |
void | Discard (ConnId id) throw () |
void | Purge (const Text &hostname, const Text &interface) throw (SRPC::failure) |
Private Types | |
typedef Entry * | EntryPtr |
Private Attributes | |
Text | intf |
Basics::mutex | mu |
int | next |
int | num |
EntryPtr * | tbl |
Classes | |
struct | Entry |
|
Definition at line 85 of file MultiSRPC.H. |
|
Definition at line 169 of file MultiSRPC.H. |
|
Definition at line 43 of file MultiSRPC.C. |
|
Definition at line 52 of file MultiSRPC.C. |
|
Definition at line 200 of file MultiSRPC.C. Referenced by VDirEvaluator::alive(). |
|
Definition at line 184 of file MultiSRPC.C. Referenced by VDirEvaluator::alive(), C_Multi1(), Client(), VDirEvaluator::list(), VDirEvaluator::lookup(), MainClientProc(), and VestaSourceSRPC::End(). |
|
Definition at line 212 of file MultiSRPC.C. References SRPC::invalid_parameter, LOCK, and UNLOCK. Referenced by VDirEvaluator::alive(), and VDirEvaluator::purge(). |
|
Definition at line 68 of file MultiSRPC.C. References SRPC::caller, SRPC::invalid_parameter, Basics::mutex::lock(), mu, NEW, NEW_ARRAY, NEW_CONSTR, and Basics::mutex::unlock(). |
|
Definition at line 89 of file MultiSRPC.H. Referenced by VDirEvaluator::alive(), C_Multi1(), Client(), VDirEvaluator::list(), VDirEvaluator::lookup(), MainClientProc(), and VestaSourceSRPC::Start(). |
|
Definition at line 148 of file MultiSRPC.H. |
|
Definition at line 152 of file MultiSRPC.H. |
|
Definition at line 173 of file MultiSRPC.H. Referenced by ~MultiSRPC(). |
|
Definition at line 173 of file MultiSRPC.H. Referenced by MultiSRPC(). |
|
Definition at line 174 of file MultiSRPC.H. Referenced by MultiSRPC(), and ~MultiSRPC(). |