Coda Distributed File System
Public Member Functions | Friends | List of all members
srvent Class Reference

#include <rescomm.h>

Inheritance diagram for srvent:
Inheritance graph
[legend]
Collaboration diagram for srvent:
Collaboration graph
[legend]

Public Member Functions

int Connect (RPC2_Handle *, int)
 
void Reset ()
 
int ServerIsDown ()
 
int ServerIsUp ()
 
void ServerError (int *)
 
void print ()
 
void print (FILE *)
 
void print (int)
 
int GetConn (connent **c, uid_t uid, int force=0) EXCLUDES_TRANSACTION
 
int GetStatistics (ViceStatistics *) EXCLUDES_TRANSACTION
 
long GetLiveness (struct timeval *)
 
long GetBandwidth (unsigned long *)
 
void Reset ()
 
void ServerError (int *)
 
void ServerUp (RPC2_Handle)
 
int ServerIsDown ()
 
int ServerIsUp ()
 
const char * Name (void)
 
void print ()
 
void print (FILE *fp)
 

Friends

class srv_iterator
 
class connent
 
class mgrpent
 
class userent
 
class vproc
 
class fsobj
 
class repvol
 
class Realm
 
class probeslave
 
void ResCommInit ()
 
srventFindServer (unsigned long)
 
void GetServer (srvent **, unsigned long)
 
void ServerPrint (int)
 
void ResCheckServerLWP_worker (void *)
 
void CommInit ()
 
void Srvr_Wait ()
 
void Srvr_Signal ()
 
srventFindServer (struct in_addr *host)
 
srventFindServerByCBCid (RPC2_Handle)
 
srventGetServer (struct in_addr *host, RealmId realmid)
 
void PutServer (srvent **)
 
void ProbeServers (int)
 
void ServerProbe (long *, long *)
 
long HandleProbe (int, RPC2_Handle Handles[], long, long,...)
 
void CheckServerBW (long)
 
void DownServers (char *, unsigned int *)
 
void DownServers (int, struct in_addr *, char *, unsigned int *)
 
void ServerPrint (FILE *)
 
long VENUS_CallBack (RPC2_Handle, ViceFid *)
 
long VENUS_CallBackFetch (RPC2_Handle, ViceFid *, SE_Descriptor *)
 
long VENUS_CallBackConnect (RPC2_Handle, RPC2_Integer, RPC2_Integer, RPC2_Integer, RPC2_Integer, RPC2_CountedBS *)
 
long VENUS_RevokeWBPermit (RPC2_Handle RPCid, VolumeId Vid)
 
int FailDisconnect (int, struct in_addr *)
 
int FailReconnect (int, struct in_addr *)
 
connentconn_iterator::operator() ()
 
void MultiBind (int, struct in_addr *, connent **)
 

Member Function Documentation

◆ Connect()

int srvent::Connect ( RPC2_Handle cidp,
int  Force 
)

◆ GetBandwidth()

long srvent::GetBandwidth ( unsigned long *  Bandwidth)

◆ GetConn()

int srvent::GetConn ( connent **  c,
uid_t  uid,
int  force = 0 
)

◆ GetLiveness()

long srvent::GetLiveness ( struct timeval *  tp)

◆ GetStatistics()

int srvent::GetStatistics ( ViceStatistics *  Stats)

◆ Name()

const char * srvent::Name ( void  )
inline

◆ print() [1/5]

void srvent::print ( void  )

◆ print() [2/5]

void srvent::print ( void  )
inline

◆ print() [3/5]

void srvent::print ( FILE *  fp)

◆ print() [4/5]

void srvent::print ( FILE *  fp)

◆ print() [5/5]

void srvent::print ( int  fd)

◆ Reset() [1/2]

void srvent::Reset ( )

◆ Reset() [2/2]

void srvent::Reset ( )

◆ ServerError() [1/2]

void srvent::ServerError ( int *  codep)

◆ ServerError() [2/2]

void srvent::ServerError ( int *  )

◆ ServerIsDown() [1/2]

int srvent::ServerIsDown ( )

◆ ServerIsDown() [2/2]

int srvent::ServerIsDown ( )
inline

◆ ServerIsUp() [1/2]

int srvent::ServerIsUp ( )

◆ ServerIsUp() [2/2]

int srvent::ServerIsUp ( )
inline

◆ ServerUp()

void srvent::ServerUp ( RPC2_Handle  newconnid)

Friends And Related Function Documentation

◆ CheckServerBW

void CheckServerBW ( long  )
friend

◆ CommInit

void CommInit ( )
friend

◆ conn_iterator::operator()

connent * conn_iterator::operator() ( )
friend

◆ connent

friend class connent
friend

◆ DownServers [1/2]

void DownServers ( char *  ,
unsigned int *   
)
friend

◆ DownServers [2/2]

void DownServers ( int  ,
struct in_addr *  ,
char *  ,
unsigned int *   
)
friend

◆ FailDisconnect

int FailDisconnect ( int  ,
struct in_addr *   
)
friend

◆ FailReconnect

int FailReconnect ( int  ,
struct in_addr *   
)
friend

◆ FindServer [1/2]

srvent * FindServer ( struct in_addr *  host)
friend

◆ FindServer [2/2]

srvent * FindServer ( unsigned long  )
friend

◆ FindServerByCBCid

srvent * FindServerByCBCid ( RPC2_Handle  )
friend

◆ fsobj

friend class fsobj
friend

◆ GetServer [1/2]

void GetServer ( srvent **  ,
unsigned long   
)
friend

◆ GetServer [2/2]

srvent * GetServer ( struct in_addr *  host,
RealmId  realmid 
)
friend

◆ HandleProbe

long HandleProbe ( int  ,
RPC2_Handle  Handles[],
long  ,
long  ,
  ... 
)
friend

◆ mgrpent

friend class mgrpent
friend

◆ MultiBind

void MultiBind ( int  ,
struct in_addr *  ,
connent **   
)
friend

◆ ProbeServers

void ProbeServers ( int  )
friend

◆ probeslave

friend class probeslave
friend

◆ PutServer

void PutServer ( srvent **  )
friend

◆ Realm

friend class Realm
friend

◆ repvol

friend class repvol
friend

◆ ResCheckServerLWP_worker

void ResCheckServerLWP_worker ( void *  )
friend

◆ ResCommInit

void ResCommInit ( )
friend

◆ ServerPrint [1/2]

void ServerPrint ( FILE *  )
friend

◆ ServerPrint [2/2]

void ServerPrint ( int  )
friend

◆ ServerProbe

void ServerProbe ( long *  lastupp = 0,
long *  lastdownp = 0 
)
friend

◆ srv_iterator

srv_iterator
friend

◆ Srvr_Signal

void Srvr_Signal ( )
friend

◆ Srvr_Wait

void Srvr_Wait ( )
friend

◆ userent

friend class userent
friend

◆ VENUS_CallBack

long VENUS_CallBack ( RPC2_Handle  RPCid,
ViceFid *  fid 
)
friend

◆ VENUS_CallBackConnect

long VENUS_CallBackConnect ( RPC2_Handle  RPCid,
RPC2_Integer  SideEffectType,
RPC2_Integer  SecurityLevel,
RPC2_Integer  EncryptionType,
RPC2_Integer  AuthType,
RPC2_CountedBS ClientIdent 
)
friend

◆ VENUS_CallBackFetch

long VENUS_CallBackFetch ( RPC2_Handle  RPCid,
ViceFid *  Fid,
SE_Descriptor BD 
)
friend

◆ VENUS_RevokeWBPermit

long VENUS_RevokeWBPermit ( RPC2_Handle  RPCid,
VolumeId  Vid 
)
friend

◆ vproc

friend class vproc
friend

The documentation for this class was generated from the following files: