WvStreams
uniconfdaemon.h
1 /*
2  * Worldvisions Weaver Software:
3  * Copyright (C) 1997-2004 Net Integration Technologies, Inc.
4  *
5  * Manages a UniConf daemon.
6  */
7 #ifndef __UNICONFDAEMON_H
8 #define __UNICONFDAEMON_H
9 
10 #include "wvlog.h"
11 #include "wvistreamlist.h"
12 #include "uniconf.h"
13 #include "wvaddr.h"
14 
16 {
17  UniConf cfg;
18  WvLog log, debug;
19  bool authenticate;
20  IUniConfGen *permgen;
21 
22 public:
27  UniConfDaemon(const UniConf &cfg, bool auth, IUniConfGen *permgen);
28  virtual ~UniConfDaemon();
29 
30  virtual void close();
31 
32  void accept(WvStream *stream);
33 
38  void listen(WvStringParm lmoniker);
39 
40 private:
41  void listencallback(IWvStream *s);
42 };
43 
44 #endif // __UNICONFDAEMON_H