Disk ARchive  2.7.14
Full featured and portable backup and archiving tool
Public Member Functions | Private Attributes | List of all members
libdar::slave_zapette Class Reference

this class answers to order given by a zapette object More...

#include <slave_zapette.hpp>

+ Collaboration diagram for libdar::slave_zapette:

Public Member Functions

 slave_zapette (generic_file *input, generic_file *output, generic_file *data)
 slave_zapette constructor More...
 
 slave_zapette (const slave_zapette &ref)=delete
 
 slave_zapette (slave_zapette &&ref) noexcept=delete
 
slave_zapetteoperator= (const slave_zapette &ref)=delete
 
slave_zapetteoperator= (slave_zapette &&ref) noexcept=delete
 
void action ()
 main execution method for slave_zapette class More...
 

Private Attributes

generic_filein
 where to read orders from
 
generic_fileout
 where to send requested info or data to
 
generic_filesrc
 where to read data from
 
contextualsrc_ctxt
 same as src but seen as contextual
 

Detailed Description

this class answers to order given by a zapette object

through a pair of pipes slave_zapette return information about a given local archive (single or multi slices).

Definition at line 53 of file slave_zapette.hpp.

Constructor & Destructor Documentation

◆ slave_zapette()

libdar::slave_zapette::slave_zapette ( generic_file input,
generic_file output,
generic_file data 
)

slave_zapette constructor

Parameters
[in]inputis used to receive orders from an zapette object
[in]outputis used to return informations or data in answer to received orders
[in]datais where the informations or data is taken from. Object must inherit from contextual

Member Function Documentation

◆ action()

void libdar::slave_zapette::action ( )

main execution method for slave_zapette class

this method implement a loop waiting for orders and answering to them the loop stops when a special order is received from the peer zapette object


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