#include <Basics.H>
#include <Atom.H>
#include <SRPC.H>
#include <LimService.H>
#include <VestaConfig.H>
#include "ToolDirectoryServer.H"
#include "EvalBasics.H"
#include "Val.H"
#include "Expr.H"
#include "Evaluator_Dir_SRPC.H"
#include <sstream>
Go to the source code of this file.
Functions | |
Word | GetNewHandle () |
Word | GetNewHandle (Word handle) |
void | send_dir (SRPC *srpc, Word dirHandle) |
DirInfo * | recv_dir (SRPC *srpc, Word &dirHandle, DirInfos *&dirInfos) |
void | Evaluator_Dir_Server_Inner (SRPC *srpc, int intfVersion, int procId, void *arg) throw (SRPC::failure, Evaluator::failure) |
void | Evaluator_Dir_Server (SRPC *srpc, int intfVersion, int procId, void *arg) throw (SRPC::failure) |
Text | convert_failure (const SRPC::failure &f) |
void | Evaluator_Dir_Server_Failure (SRPC *srpc, const SRPC::failure &f, void *arg) |
void | init () |
void | create_tool_directory_server () |
Variables | |
const long | CallbackStackSize = 0x20000 |
RunToolCalls | runToolCalls (maxThreads) |
|
Definition at line 380 of file ToolDirectoryServer.C. References SRPC::buffer_too_small, Text::chars(), SRPC::internal_trouble, SRPC::invalid_parameter, SRPC::failure::msg, SRPC::not_implemented, SRPC::partner_went_away, SRPC::protocol_violation, SRPC::failure::r, SRPC::transport_failure, SRPC::unknown_host, SRPC::unknown_interface, and SRPC::version_skew. Referenced by Evaluator_Dir_Server_Failure(), init(), main(), and RunToolServerFailure(). |
|
Definition at line 490 of file ToolDirectoryServer.C. References init(). Referenced by CreateRootForDeriveds(), and RunTool(). |
|
Definition at line 363 of file ToolDirectoryServer.C. References Evaluator_Dir_Server_Inner(), Basics::mutex::lock(), outputMu, and Basics::mutex::unlock(). Referenced by init(). |
|
Definition at line 412 of file ToolDirectoryServer.C. References convert_failure(), Basics::mutex::lock(), outputMu, SRPC::partner_went_away, SRPC::failure::r, and Basics::mutex::unlock(). Referenced by init(). |
|
Definition at line 180 of file ToolDirectoryServer.C. References DirInfos::AddDpnd(), DirInfo::b, BangPK, BindingVK, BLenPK, ed_device, ed_directory, ed_file, ed_list, ed_lookup, ed_lookup_index, ed_none, ed_oldlist, emptyText, ErrorVK, evalCalls, EVALUATOR_DIR_SRPC_VERSION, BindingVC::GetElemNoDpnd(), IntegerVK, SRPC::invalid_parameter, Basics::mutex::lock(), DirInfos::LookupDir(), ModelVK, NormPK, NullShortId, outputMu, DirInfo::path, DepPath::Print(), recv_dir(), send_dir(), TextVK, Basics::mutex::unlock(), valFalse, SRPC::version_skew, and ValC::vKind. Referenced by Evaluator_Dir_Server(). |
|
Definition at line 75 of file ToolDirectoryServer.C. References Basics::mutex::lock(), and Basics::mutex::unlock(). |
|
Definition at line 65 of file ToolDirectoryServer.C. Referenced by CreateRootForDeriveds(), DirInfos::LookupDir(), and RunTool(). |
|
|
Definition at line 91 of file ToolDirectoryServer.C. References DIR_HANDLE_BYTES, DirInfos::dirInfoTbl, Table< K, V >::Default::Get(), RunToolCalls::Get(), SRPC::invalid_parameter, Basics::mutex::lock(), DirInfos::mu, runToolCalls, and Basics::mutex::unlock(). Referenced by Evaluator_Dir_Server_Inner(). |
|
Definition at line 85 of file ToolDirectoryServer.C. References DIR_HANDLE_BYTES, RunToolCalls::Get(), runToolCalls, and SRPC::send_bytes(). Referenced by Evaluator_Dir_Server_Inner(). |
|
Definition at line 52 of file ToolDirectoryServer.C. Referenced by init(). |
|
Referenced by recv_dir(), RunTool(), and send_dir(). |