WvStreams
Public Member Functions | List of all members
IWvDBusAuth Class Referenceabstract
Inheritance diagram for IWvDBusAuth:
Inheritance graph
[legend]

Public Member Functions

virtual bool authorize (WvDBusConn &c)=0
 Main action callback. More...
 
virtual wvuid_t get_uid ()=0
 

Detailed Description

Definition at line 34 of file wvdbusconn.h.

Member Function Documentation

◆ authorize()

virtual bool IWvDBusAuth::authorize ( WvDBusConn c)
pure 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.

Implemented in WvDBusClientAuth, and WvDBusServerAuth.


The documentation for this class was generated from the following file: