WvStreams
|
Public Member Functions | |
virtual bool | authorize (WvDBusConn &c) |
Main action callback. More... | |
virtual wvuid_t | get_uid () |
Definition at line 22 of file wvdbusserver.cc.
|
virtual |
Main action callback.
Called whenever d seems to have data available. Return false if you're not yet authorized and need to be called again when data is available; return true if you're done.
If authorization fails, call seterr on d with an appropriate error message.
Implements IWvDBusAuth.
Definition at line 42 of file wvdbusserver.cc.
References WvFastString::num(), WvStringList::popstr(), WvStream::read(), WvStream::seterr(), WvStringList::split(), and WvEncoder::strflushstr().