Public Member Functions | Protected Member Functions

Barry::DesktopConnector Class Reference

Inheritance diagram for Barry::DesktopConnector:
Inheritance graph
[legend]
Collaboration diagram for Barry::DesktopConnector:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual bool IsConnected ()
 Returns true if connected, false if not.
virtual bool PasswordPrompt (const Barry::BadPassword &bp, std::string &password_result)
 App should prompt user for password, fill password_result with what he enters and then return true.

Protected Member Functions

virtual bool IsDisconnected ()
 slightly different than IsConnected()...

Detailed Description

Definition at line 134 of file connector.h.


Member Function Documentation

bool Barry::DesktopConnector::IsConnected (  )  [virtual]

Returns true if connected, false if not.

Implements Barry::Connector.

Definition at line 277 of file connector.cc.

bool Barry::DesktopConnector::IsDisconnected (  )  [protected, virtual]

slightly different than IsConnected()...

this returns true even if there is a partial connection in progress... i.e. this returns true if DoDisconnect() can be safely skipped

Implements Barry::Connector.

Definition at line 271 of file connector.cc.

virtual bool Barry::DesktopConnector::PasswordPrompt ( const Barry::BadPassword bp,
std::string &  password_result 
) [inline, virtual]

App should prompt user for password, fill password_result with what he enters and then return true.

Return false if user wishes to stop trying.

This function is *not* called from inside a catch() routine, so it is safe to throw exceptions from it if you must.

Implements Barry::Connector.

Definition at line 168 of file connector.h.


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