Public Member Functions | Static Public Member Functions | Protected Member Functions

zeus::TNetworkInterface Class Reference

#include <NetworkInterface.h>

Inheritance diagram for zeus::TNetworkInterface:
zeus::TZObject zeus::IZUnknown

List of all members.

Public Member Functions

TString getAddress ()

Static Public Member Functions

static Retval getInterfaceByName (const TString &rName, TNetworkInterface *&rpIface)

Protected Member Functions

 TNetworkInterface (const TString &rName, const TString &rAddress)
virtual ~TNetworkInterface ()

Detailed Description

This class wrapps a network device (interface). Use this to get the ip address of the device.


Constructor & Destructor Documentation

TNetworkInterface::TNetworkInterface ( const TString rName,
const TString rAddress 
) [protected]

Creates a network interface object

Parameters:
rName: Name of the interface
rAddress: address of the interface
TNetworkInterface::~TNetworkInterface (  ) [protected, virtual]

Destroys the network interface object


Member Function Documentation

TString TNetworkInterface::getAddress (  )

Returns the address of the network interface.

Retval TNetworkInterface::getInterfaceByName ( const TString rName,
TNetworkInterface *&  rpIface 
) [static]

Static method to return a interface by name.

Parameters:
rName: Name of the interface
rpIface: network interface
Return values:
RET_NOERROR: Networkinterface returned
RET_REQUEST_FAILED: No such interface found

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:28:28