zeus::TNetworkInterface Class Reference
#include <NetworkInterface.h>
List of all members.
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
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: