libsolidcontrol
Solid::Control::Ifaces::NetworkInterface Class Reference
#include <networkinterface.h>

Detailed Description
Represents a generic network interface as seen by the networking subsystem.For specialised interfaces
- See also:
- Solid::Control::Ifaces::WiredNetworkInterface and
Definition at line 40 of file ifaces/networkinterface.h.
Public Member Functions | |
virtual Solid::Control::NetworkInterface::Capabilities | capabilities () const =0 |
virtual Solid::Control::NetworkInterface::ConnectionState | connectionState () const =0 |
virtual int | designSpeed () const =0 |
virtual QString | driver () const =0 |
virtual QString | interfaceName () const =0 |
virtual Solid::Control::IPv4Config | ipV4Config () const =0 |
virtual bool | isActive () const =0 |
virtual QString | uni () const =0 |
virtual | ~NetworkInterface () |
Protected Member Functions | |
virtual void | connectionStateChanged (int state)=0 |
virtual void | ipDetailsChanged ()=0 |
Constructor & Destructor Documentation
Solid::Control::Ifaces::NetworkInterface::~NetworkInterface | ( | ) | [virtual] |
Member Function Documentation
virtual Solid::Control::NetworkInterface::Capabilities Solid::Control::Ifaces::NetworkInterface::capabilities | ( | ) | const [pure virtual] |
Retrieves the capabilities supported by this device.
- Returns:
- the capabilities of the device
- See also:
- Solid::Control::NetworkInterface::Capabilities
Implemented in FakeNetworkInterface.
virtual Solid::Control::NetworkInterface::ConnectionState Solid::Control::Ifaces::NetworkInterface::connectionState | ( | ) | const [pure virtual] |
Retrieves the current state of the network connection held by this device.
It's a high level view of the connection. It's user oriented so technically it provides states coming from different layers.
- Returns:
- the current connection state
Implemented in FakeNetworkInterface.
virtual void Solid::Control::Ifaces::NetworkInterface::connectionStateChanged | ( | int | state | ) | [protected, pure virtual] |
This signal is emitted when the device's connection state changed.
For example, if the device was disconnected and started to activate
- Parameters:
-
state the new state of the connection
Implemented in FakeNetworkInterface.
virtual int Solid::Control::Ifaces::NetworkInterface::designSpeed | ( | ) | const [pure virtual] |
Retrieves the maximum speed as reported by the device.
Note that it's a design related information and that the device might not reach this maximum.
- Returns:
- the device maximum speed
Implemented in FakeNetworkInterface.
virtual QString Solid::Control::Ifaces::NetworkInterface::driver | ( | ) | const [pure virtual] |
Handle for the system driver controlling this network interface.
Implemented in FakeNetworkInterface.
virtual QString Solid::Control::Ifaces::NetworkInterface::interfaceName | ( | ) | const [pure virtual] |
virtual void Solid::Control::Ifaces::NetworkInterface::ipDetailsChanged | ( | ) | [protected, pure virtual] |
This signal is emitted when the settings of this network have changed.
Implemented in FakeNetworkInterface.
virtual Solid::Control::IPv4Config Solid::Control::Ifaces::NetworkInterface::ipV4Config | ( | ) | const [pure virtual] |
virtual bool Solid::Control::Ifaces::NetworkInterface::isActive | ( | ) | const [pure virtual] |
Retrieves the activation status of this network interface.
- Returns:
- true if this network interface is active, false otherwise
Implemented in FakeNetworkInterface.
virtual QString Solid::Control::Ifaces::NetworkInterface::uni | ( | ) | const [pure virtual] |
Retrieves the Unique Network Identifier (UNI) of the Network.
This identifier is unique for each network and network interface in the system.
- Returns:
- the Unique Network Identifier of the current network
Implemented in FakeNetworkInterface.
The documentation for this class was generated from the following files: