This interface is a TECHNICAL PREVIEW, it may change.
ToiNetConfiguration is used to get information about available network devices.
import "ToiNetConfiguration.idl";
Public Member Functions | |
| TToiNetDeviceDescriptorSequence | getNetworkDevices () |
| ToiNetIpDevice | getIpDevice (in TToiNetDeviceId id) raises (TToiInvalidArgumentException) |
| ToiNetMocaDevice | getMocaDevice (in TToiNetDeviceId id) raises (TToiInvalidArgumentException, TToiOperationNotSupportedException) |
Public Attributes | |
TToiNetDeviceType | |
| const TToiNetDeviceType | NET_DEVICE_TYPE_ETHERNET = 0 |
| const TToiNetDeviceType | NET_DEVICE_TYPE_MOCA = 1 |
Public Types | |
| typedef long | TToiNetDeviceId |
| typedef long | TToiNetDeviceType |
| typedef sequence < ToiNetConfigurationNetDeviceDescriptor > | TToiNetDeviceDescriptorSequence |
| typedef sequence< ToiNetConfigurationNetDeviceDescriptor > ToiNetConfiguration::TToiNetDeviceDescriptorSequence |
List of descriptors of network devices.
| typedef long ToiNetConfiguration::TToiNetDeviceId |
Network device identifier type.
| typedef long ToiNetConfiguration::TToiNetDeviceType |
The type of the network interface.
| ToiNetIpDevice ToiNetConfiguration::getIpDevice | ( | in TToiNetDeviceId | id | ) | raises (TToiInvalidArgumentException) |
Returns the network device.
| id | The network device identifier. |
| IToiNetIpDevice |
| TToiInvalidArgumentException | Raised if the network device identifier is invalid. |
| ToiNetMocaDevice ToiNetConfiguration::getMocaDevice | ( | in TToiNetDeviceId | id | ) | raises (TToiInvalidArgumentException, TToiOperationNotSupportedException) |
Returns the MoCA device.
| id | The network device identifier. |
| IToiNetMocaDevice |
| TToiInvalidArgumentException | Raised if the network device identifier is invalid. |
| TToiOperationNotSupportedException | Raised if the MoCA device is not supported. |
| TToiNetDeviceDescriptorSequence ToiNetConfiguration::getNetworkDevices | ( | ) |
Returns available network devices.
| networkDeviceList | The list available network devices. |
The type is ethernet.
This constant can also be accessed from toi.consts.ToiNetConfiguration.NET_DEVICE_TYPE_ETHERNET.
The type is moca.
This constant can also be accessed from toi.consts.ToiNetConfiguration.NET_DEVICE_TYPE_MOCA.