16 #ifndef __WVDBUSSERVER_H
17 #define __WVDBUSSERVER_H
19 #include "wvlistener.h"
20 #include "wvhashtable.h"
22 #include "wvistreamlist.h"
61 virtual bool isok()
const;
62 virtual int geterr()
const;
90 WvDBusConnList all_conns;
91 std::map<WvString,WvDBusConn*> name_to_conn;
void listen(WvStringParm moniker)
Listen using a given WvListener moniker.
virtual int geterr() const
If isok() is false, return the system error number corresponding to the error, -1 for a special error...
void unregister_name(WvStringParm name, WvDBusConn *conn)
Undo a register_name().
void unregister_conn(WvDBusConn *conn)
Forget all name registrations for a particular connection.
WvDBusServer(WvDBusServer &c)
Not actually defined.
WvString get_addr()
get the full, final address (identification guid and all) of the server if there's more than one list...
virtual ~WvDBusServer()
Shut down this server.
void register_name(WvStringParm name, WvDBusConn *conn)
Register a given dbus service name as belonging to a particular connection.
virtual bool isok() const
return true if the stream is actually usable right now
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
WvStreamList holds a list of WvStream objects – and its select() and callback() functions know how to...
A WvLog stream accepts log messages from applications and forwards them to all registered WvLogRcv's.
Unified support for streams, that is, sequences of bytes that may or may not be ready for read/write ...
WvString is an implementation of a simple and efficient printable-string class.