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

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

TString TNetworkInterface::getAddress (  ) 

Returns the address of the network interface.


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


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Wed Oct 28 21:42:33 2009