WvStreams
IWvDBusAuth Class Referenceabstract
Inheritance diagram for IWvDBusAuth:

Public Member Functions

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

Detailed Description

Constructor & Destructor Documentation

◆ ~IWvDBusAuth() [1/2]

virtual IWvDBusAuth::~IWvDBusAuth ( )
inlinevirtual

◆ ~IWvDBusAuth() [2/2]

virtual IWvDBusAuth::~IWvDBusAuth ( )
inlinevirtual

Definition at line 37 of file include/wvdbusconn.h.

Member Function Documentation

◆ authorize() [1/2]

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, WvDBusClientAuth, and WvDBusServerAuth.

◆ authorize() [2/2]

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, WvDBusClientAuth, and WvDBusServerAuth.


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