2 * Worldvisions Weaver Software:
3 * Copyright (C) 1997-2004 Net Integration Technologies, Inc.
5 * Manages a UniConf daemon.
7 #ifndef __UNICONFDAEMON_H
8 #define __UNICONFDAEMON_H
11 #include "wvistreamlist.h"
15 class UniConfDaemon
: public WvIStreamList
24 * Create a UniConfDaemon to serve the Uniconf tree cfg. If auth is
25 * true, require authentication through PAM before accepting connections.
27 UniConfDaemon(const UniConf
&cfg
, bool auth
, IUniConfGen
*permgen
);
28 virtual ~UniConfDaemon();
32 void accept(WvStream
*stream
);
35 * Start listening on a socket described by the given WvListener
38 void listen(WvStringParm lmoniker
);
41 void listencallback(IWvStream
*s
);
44 #endif // __UNICONFDAEMON_H