xapian-core  2.0.0
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
ServerData Class Reference

Public Member Functions

void init (pid_type pid_)
 
void set_db_internal (const void *dbi)
 
void clean_up ()
 
bool kill_remote (const void *dbi)
 

Private Attributes

pid_type pid
 The remote server process ID. More...
 
const void * db_internal
 The internal pointer of the Database object. More...
 

Static Private Attributes

static constexpr pid_type DEAD_PID = 0
 Value of pid which indicates an entry kill_remote() was called on. More...
 

Detailed Description

Definition at line 69 of file backendmanager_remotetcp.cc.

Member Function Documentation

◆ clean_up()

void ServerData::clean_up ( )
inline

Definition at line 114 of file backendmanager_remotetcp.cc.

Referenced by BackendManagerRemoteTcp::clean_up().

◆ init()

void ServerData::init ( pid_type  pid_)
inline

Definition at line 100 of file backendmanager_remotetcp.cc.

◆ kill_remote()

bool ServerData::kill_remote ( const void *  dbi)
inline

Definition at line 129 of file backendmanager_remotetcp.cc.

◆ set_db_internal()

void ServerData::set_db_internal ( const void *  dbi)
inline

Definition at line 112 of file backendmanager_remotetcp.cc.

Member Data Documentation

◆ db_internal

const void* ServerData::db_internal
private

The internal pointer of the Database object.

We use this to find the entry for a given Xapian::Database object (in kill_remote()).

Definition at line 96 of file backendmanager_remotetcp.cc.

◆ DEAD_PID

constexpr pid_type ServerData::DEAD_PID = 0
staticconstexprprivate

Value of pid which indicates an entry kill_remote() was called on.

Definition at line 79 of file backendmanager_remotetcp.cc.

◆ pid

pid_type ServerData::pid
private

The remote server process ID.

Under Unix, this will actually be the /bin/sh process.

Definition at line 85 of file backendmanager_remotetcp.cc.


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