ndgui/NetworkDiscovery

interfaceconfiguration Class Reference

reads and stores a interface configuration. More...

#include <interfaceconfiguration.h>

List of all members.

Public Member Functions

 interfaceconfiguration ()
 interfaceconfiguration (const interfaceconfiguration &other)
interfaceconfigurationoperator= (const interfaceconfiguration &other)
virtual ~interfaceconfiguration ()
bool readConfigOutOfFile (QString pathToConfig)
QString getBroadcast ()
QString getClientid ()
QString getDhcpchaddr ()
QString getDhcpsid ()
QString getDnssearch ()
QString getDnsservers ()
QString getGateways ()
QString getGateway ()
QString getHostname ()
QString getInterface ()
QString getIpAddress ()
QString getNetmask ()
QString getNetwork ()
QString getRoutes ()

Detailed Description

reads and stores a interface configuration.

Copyright (c) 2010,2011 - RZ Uni Freiburg Copyright (c) 2010,2011 - OpenSLX Project

This program/file is free software distributed under the GPL version 2. See http://openslx.org/COPYING

If you have any feedback please consult http://openslx.org/feedback and send your feedback to feedback@openslx.org

General information about OpenSLX can be found under http://openslx.org

reads and stores a interface configuration. the config file has already to exist. It is created by the cdhcpcd client process.


Constructor & Destructor Documentation

interfaceconfiguration::interfaceconfiguration ( )
interfaceconfiguration::interfaceconfiguration ( const interfaceconfiguration other)
interfaceconfiguration::~interfaceconfiguration ( ) [virtual]

Member Function Documentation

QString interfaceconfiguration::getBroadcast ( )

Here is the caller graph for this function:

QString interfaceconfiguration::getClientid ( )
QString interfaceconfiguration::getDhcpchaddr ( )
QString interfaceconfiguration::getDhcpsid ( )
QString interfaceconfiguration::getDnssearch ( )
QString interfaceconfiguration::getDnsservers ( )

Here is the caller graph for this function:

QString interfaceconfiguration::getGateway ( )

Here is the caller graph for this function:

QString interfaceconfiguration::getGateways ( )
QString interfaceconfiguration::getHostname ( )
QString interfaceconfiguration::getInterface ( )
QString interfaceconfiguration::getIpAddress ( )

Here is the caller graph for this function:

QString interfaceconfiguration::getNetmask ( )

Here is the caller graph for this function:

QString interfaceconfiguration::getNetwork ( )
QString interfaceconfiguration::getRoutes ( )
interfaceconfiguration& interfaceconfiguration::operator= ( const interfaceconfiguration other)
bool interfaceconfiguration::readConfigOutOfFile ( QString  pathToConfig)

This method reads the configuration values out of a file.

This method reads the configuration values out of a file. The file has to be created before by the customdhcpcd QProcess. (Overwrites the old values if they are already present.)

Parameters:
pathToConfigcontains the path to the configuration file.

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Defines