Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

NetworkDeviceInfo Class Reference

Network device information class. More...

#include <network.h>

List of all members.

Public Member Functions

 NetworkDeviceInfo (const NetworkDeviceInfo &ndi)
 ~NetworkDeviceInfo ()
const std::string & name () const
 Returns the Name of the network device.

const InetHostAddressaddress () const
 Returns the Address of the network device.

const BroadcastAddressbroadcast () const
 Returns the Broadcast address of the network device.

const InetMaskAddressnetmask () const
 Returns the Netmask of the network device.

const int mtu () const
 Returns the MTU.


Protected Member Functions

 NetworkDeviceInfo (const std::string &name, const InetHostAddress &addr, const BroadcastAddress &broadcast, const InetMaskAddress &netmask, int mtu)


Detailed Description

Network device information class.

This class is used to hold various informations about a TCP/IP network device. Which can be obtained by a call to enumNetworkDevices()

Author:
Christian Prochnow <cproch@seculogix.de>


Constructor & Destructor Documentation

NetworkDeviceInfo::NetworkDeviceInfo const std::string &  name,
const InetHostAddress addr,
const BroadcastAddress broadcast,
const InetMaskAddress netmask,
int  mtu
[protected]
 

NetworkDeviceInfo::NetworkDeviceInfo const NetworkDeviceInfo ndi  ) 
 

NetworkDeviceInfo::~NetworkDeviceInfo  ) 
 


Member Function Documentation

const InetHostAddress& NetworkDeviceInfo::address  )  const [inline]
 

Returns the Address of the network device.

const BroadcastAddress& NetworkDeviceInfo::broadcast  )  const [inline]
 

Returns the Broadcast address of the network device.

const int NetworkDeviceInfo::mtu  )  const [inline]
 

Returns the MTU.

const std::string& NetworkDeviceInfo::name  )  const [inline]
 

Returns the Name of the network device.

const InetMaskAddress& NetworkDeviceInfo::netmask  )  const [inline]
 

Returns the Netmask of the network device.


The documentation for this class was generated from the following file:
Generated on Thu Sep 25 13:14:32 2003 for GNU CommonC++ by doxygen 1.3.3