Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

gnash::SSHServer Class Reference

#include <sshserver.h>

Inheritance diagram for gnash::SSHServer:
Inheritance graph
[legend]
Collaboration diagram for gnash::SSHServer:
Collaboration graph
[legend]

List of all members.

Public Types

enum  authtype_t { NO_AUTHTYPE, DSS, RSA }
enum  transport_type_t { NO_TRANSPORT, RAW, SFTP }

Public Member Functions

 SSHServer ()
 ~SSHServer ()
bool authPassword (std::string &user, std::string &passwd)
bool authPassword (ssh_session session, std::string &user, std::string &passwd)
bool acceptConnections ()
bool acceptConnections (short port)
bool acceptConnections (ssh_session session)
bool acceptConnections (ssh_session session, short port)
bool processSSHMessage (ssh_message message)
void dump ()

Protected Member Functions

ssh_message getSSHMessage ()
ssh_message getSSHMessage (ssh_session session)

Protected Attributes

ssh_session _session
ssh_message _message

Member Enumeration Documentation

Enumerator:
NO_AUTHTYPE 
DSS 
RSA 

Reimplemented from gnash::SSHClient.

Enumerator:
NO_TRANSPORT 
RAW 
SFTP 

Reimplemented from gnash::SSHClient.


Constructor & Destructor Documentation

gnash::SSHServer::SSHServer (  ) 
gnash::SSHServer::~SSHServer (  ) 

Member Function Documentation

bool gnash::SSHServer::acceptConnections (  ) 
bool gnash::SSHServer::acceptConnections ( short  port  ) 
bool gnash::SSHServer::acceptConnections ( ssh_session  session  ) 
bool gnash::SSHServer::acceptConnections ( ssh_session  session,
short  port 
)
bool gnash::SSHServer::authPassword ( ssh_session  session,
std::string &  user,
std::string &  passwd 
)
bool gnash::SSHServer::authPassword ( std::string &  user,
std::string &  passwd 
)

Referenced by processSSHMessage().

void gnash::SSHServer::dump (  ) 

Reimplemented from gnash::SSHClient.

References _.

ssh_message gnash::SSHServer::getSSHMessage ( ssh_session  session  )  [protected]
ssh_message gnash::SSHServer::getSSHMessage (  )  [protected]
bool gnash::SSHServer::processSSHMessage ( ssh_message  message  ) 

Member Data Documentation

ssh_message gnash::SSHServer::_message [protected]
ssh_session gnash::SSHServer::_session [protected]

Reimplemented from gnash::SSHClient.


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