8 #ifndef __UNICONFCLIENT_H
9 #define __UNICONFCLIENT_H
11 #include "uniconfgen.h"
13 #include "wvstringlist.h"
14 #include "uniclientconn.h"
15 #include "uniconfkey.h"
56 time_t set_timeout(time_t _timeout);
67 virtual void setv(
const UniConfPairList &pairs);
79 #endif // __UNICONFCLIENT_H
virtual void flush_buffers()
Flushes any commitment/notification buffers .
virtual bool haschildren(const UniConfKey &key)
Returns true if a key has children.
An iterator that iterates through a constant list of keys.
virtual void setv(const UniConfPairList &pairs)
Stores multiple key-value pairs into the registry.
virtual Iter * recursiveiterator(const UniConfKey &key)
Like iterator(), but the returned iterator is recursive, that is, it will return children of the imme...
Represents a connection to a UniConf daemon via any WvStream.
WvString is an implementation of a simple and efficient printable-string class.
virtual void set(const UniConfKey &key, WvStringParm value)
Stores a string value for a key into the registry.
A WvLog stream accepts log messages from applications and forwards them to all registered WvLogRcv's.
virtual void commit()
Commits any changes.
UniClientGen(IWvStream *stream, WvStringParm dst=WvString::null)
Creates a generator which can communicate with a daemon using the specified stream.
Represents a UniConf key which is a path in a hierarchy structured much like the traditional Unix fil...
virtual bool refresh()
Refreshes information about a key recursively.
Communicates with a UniConfDaemon to fetch and store keys and values.
virtual Iter * iterator(const UniConfKey &key)
Returns an iterator over the children of the specified key.
A default implementation of IUniConfGen, providing various handy features that save trouble when impl...
virtual WvString get(const UniConfKey &key)
Fetches a string value for a key from the registry.
An abstract iterator over keys and values in a generator.
virtual bool isok()
Determines if the generator is usable and working properly.