UrpoConnection Class Reference

Information about ssh connection (abstract). More...

#include <urpoconnection.h>

Inheritance diagram for UrpoConnection:
UrpoConnectionSettings

List of all members.

Public Member Functions

virtual QString getHost () const =0
 Host name or ip address.
virtual QString getUserid () const =0
 Userid in server.
virtual QString getIdentity () const =0
 Identity file.
void setDebugMonitor (QObject *monitor)
 Default time out in connection.
QObject * getDebugMonitor () const
 Get pointer to Debug monitor.
QString getHostString ()
 user@host -string
QString getKeyOption ()
 Key option needed for ssh.

Detailed Description

Information about ssh connection (abstract).

Author:
Arto Hyv├Ąttinen
Date:
2010-06-11
Version:
1

Definition at line 39 of file urpoconnection.h.


Member Function Documentation

QObject * UrpoConnection::getDebugMonitor (  )  const

Get pointer to Debug monitor.

Debug monitor is QObject receiving debugMsg(QString&) signals.

Returns:
QObject receiving debug messages

Definition at line 37 of file urpoconnection.cpp.

virtual QString UrpoConnection::getHost (  )  const [pure virtual]

Host name or ip address.

Returns:
Server host name of ip address

Implemented in UrpoConnectionSettings.

QString UrpoConnection::getHostString (  ) 

user@host -string

Returns:
user@host -string

Definition at line 47 of file urpoconnection.cpp.

virtual QString UrpoConnection::getIdentity (  )  const [pure virtual]

Identity file.

ssh identity file (private key)

Returns:
ssh identity file path

Implemented in UrpoConnectionSettings.

QString UrpoConnection::getKeyOption (  ) 

Key option needed for ssh.

Returns:
-i key_file or empty if no keyfile

Definition at line 57 of file urpoconnection.cpp.

virtual QString UrpoConnection::getUserid (  )  const [pure virtual]

Userid in server.

Returns:
userid in server

Implemented in UrpoConnectionSettings.

void UrpoConnection::setDebugMonitor ( QObject *  monitor  ) 

Default time out in connection.

Connection fais if connecting or commanding lasts more than timeout.

Returns:
default timeout in msecs

Set Debug monitor Debug monitor is QObject receiving debugMsg(QString&) signals.

Parameters:
monitor QObject receiving debug messages

Definition at line 42 of file urpoconnection.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Sep 27 18:46:05 2010 for Urpo by  doxygen 1.6.3