Disk ARchive 2.7.16
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 More...
 
generic_fileout
 where to send requested info or data to More...
 
generic_filesrc
 where to read data from More...
 
contextualsrc_ctxt
 same as src but seen as contextual More...
 

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

Member Data Documentation

◆ in

generic_file* libdar::slave_zapette::in
private

where to read orders from

Definition at line 76 of file slave_zapette.hpp.

◆ out

generic_file* libdar::slave_zapette::out
private

where to send requested info or data to

Definition at line 77 of file slave_zapette.hpp.

◆ src

generic_file* libdar::slave_zapette::src
private

where to read data from

Definition at line 78 of file slave_zapette.hpp.

◆ src_ctxt

contextual* libdar::slave_zapette::src_ctxt
private

same as src but seen as contextual

Definition at line 79 of file slave_zapette.hpp.


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