10#include "uniconfkey.h"
11#include "uniconfgen.h"
12#include "wvstreamclone.h"
13#include "wvistreamlist.h"
17#define UNICONF_PROTOCOL_VERSION UniClientConn::NUM_COMMANDS
18#define DEFAULT_UNICONF_DAEMON_TCP_PORT 4111
19#define DEFAULT_UNICONF_DAEMON_SSL_PORT 4112
85 const char *description;
Represents a connection to a UniConf daemon via any WvStream.
void writeonevalue(const UniConfKey &key, WvStringParm value)
Writes a PART_VALUE message.
virtual void close()
Close this stream.
Command readcmd()
Reads a command from the connection.
void writetext(WvStringParm text)
Writes a PART_TEXT message.
void writecmd(Command command, WvStringParm payload=WvString::null)
Writes a command to the connection.
void writefail(WvStringParm payload="")
Writes a REPLY_FAIL message.
WvString readarg()
Reads the next argument from the command payload.
WvConstStringBuffer payloadbuf
void writeok(WvStringParm payload="")
Writes a REPLY_OK message.
void writevalue(const UniConfKey &key, WvStringParm value)
Writes a PART_VALUE message.
Represents a UniConf key which is a path in a hierarchy structured much like the traditional Unix fil...
A raw memory read-only buffer backed by a constant WvString.
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
A WvLog stream accepts log messages from applications and forwards them to all registered WvLogRcv's.
WvStreamClone simply forwards all requests to the "cloned" stream.
WvString is an implementation of a simple and efficient printable-string class.