]>
git.saurik.com Git - apt.git/blob - apt-pkg/acquire-worker.h
1 // -*- mode: cpp; mode: fold -*-
3 // $Id: acquire-worker.h,v 1.2 1998/10/20 02:39:14 jgg Exp $
4 /* ######################################################################
6 Acquire Worker - Worker process manager
8 Each worker class is associated with exaclty one subprocess.
10 ##################################################################### */
12 #ifndef PKGLIB_ACQUIRE_WORKER_H
13 #define PKGLIB_ACQUIRE_WORKER_H
15 #include <apt-pkg/acquire.h>
18 #pragma interface "apt-pkg/acquire-worker.h"
21 // Interfacing to the method process
22 class pkgAcquire::Worker
29 // The access association
34 // This is the subprocess IPC setup
39 // Various internal things
41 vector
<string
> MessageQueue
;
43 // Private constructor helper
46 // Message handling things
50 // The message handlers
51 bool Capabilities(string Message
);
55 // Load the method and do the startup
58 Worker(Queue
*OwnerQ
,string Access
);
59 Worker(MethodConfig
*Config
);