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

ShortIdServer.C File Reference

#include "ShortIdImpl.H"
#include "SRPC.H"
#include "ShortIdSRPC.H"
#include "VestaConfig.H"
#include "VRWeed.H"
#include "logging.H"
#include <time.h>
#include <assert.h>
#include <Thread.H>
#include <LimService.H>

Go to the source code of this file.

Defines

#define DEF_MAX_RUNNING   32
#define DEF_MAX_BLOCKED   8
#define STACK_SIZE   512000L

Functions

void ShortIdReceptionist (SRPC *srpc, int proc_id, void *arg)
void ShortIdFailure (SRPC *srpc, const SRPC::failure &f, void *arg)
void ShortIdServerExport (char *serverName)


Define Documentation

#define DEF_MAX_BLOCKED   8
 

Definition at line 40 of file ShortIdServer.C.

Referenced by ShortIdServerExport(), and VestaSourceServerExport().

#define DEF_MAX_RUNNING   32
 

Definition at line 39 of file ShortIdServer.C.

Referenced by ShortIdServerExport(), and VestaSourceServerExport().

#define STACK_SIZE   512000L
 

Definition at line 41 of file ShortIdServer.C.

Referenced by ShortIdServerExport(), and VestaSourceServerExport().


Function Documentation

void ShortIdFailure SRPC srpc,
const SRPC::failure f,
void *  arg
 

Definition at line 148 of file ShortIdServer.C.

References DBG_ALWAYS, DBG_SRPC, Repos::dprintf(), Repos::isDebugLevel(), SRPC::partner_went_away, SRPC::failure::r, and SRPC::remote_socket().

Referenced by ShortIdServerExport().

void ShortIdReceptionist SRPC srpc,
int  proc_id,
void *  arg
 

Definition at line 53 of file ShortIdServer.C.

References AcquireShortIdBlock(), ShortIdSRPC::AcquireShortIdBlock, Checkpoint(), ShortIdSRPC::Checkpoint, DBG_ALWAYS, Repos::dprintf(), SRPC::enable_read_timeout(), GetWeedingState(), ShortIdSRPC::GetWeedingState, KeepDerived(), ShortIdSRPC::KeepDerived, ShortIdSRPC::OldKeepDerived, SRPC::recv_end(), SRPC::recv_int(), ReleaseShortIdBlock(), ShortIdSRPC::ReleaseShortIdBlock, SRPC::remote_socket(), RenewShortIdBlock(), ShortIdSRPC::RenewShortIdBlock, SRPC::send_bytes(), SRPC::send_end(), SRPC::send_failure(), SRPC::send_int(), ShortIdBlock::start, and SRPC::version_skew.

Referenced by ShortIdServerExport().

void ShortIdServerExport char *  serverName  ) 
 

Definition at line 162 of file ShortIdServer.C.

References Text::cchars(), DBG_ALWAYS, DEF_MAX_BLOCKED, DEF_MAX_RUNNING, Repos::dprintf(), LimService::Forked_Run(), VestaConfig::get(), VestaConfig::get_int(), VestaConfig::get_Text(), VestaConfig::failure::msg, ShortIdFailure(), ShortIdReceptionist(), STACK_SIZE, and ShortIdSRPC::version.

Referenced by main().


Generated on Mon May 8 00:49:04 2006 for Vesta by  doxygen 1.4.2