ToiNetConfiguration Interface Reference

Description

Technical Preview:

This interface is a TECHNICAL PREVIEW, it may change.

ToiNetConfiguration is used to get information about available network devices.

import "ToiNetConfiguration.idl";

Inheritance diagram for ToiNetConfiguration:
ToiNetConfigurationSession

List of all members.

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

Member Typedef Documentation

List of descriptors of network devices.

Network device identifier type.

The type of the network interface.


Member Function Documentation

ToiNetIpDevice ToiNetConfiguration::getIpDevice ( in TToiNetDeviceId  id) raises (TToiInvalidArgumentException)

Returns the network device.

Parameters:
idThe network device identifier.
Return values:
IToiNetIpDevice
Exceptions:
TToiInvalidArgumentExceptionRaised if the network device identifier is invalid.

Returns the MoCA device.

Parameters:
idThe network device identifier.
Return values:
IToiNetMocaDevice
Exceptions:
TToiInvalidArgumentExceptionRaised if the network device identifier is invalid.
TToiOperationNotSupportedExceptionRaised if the MoCA device is not supported.
TToiNetDeviceDescriptorSequence ToiNetConfiguration::getNetworkDevices ( )

Returns available network devices.

Return values:
networkDeviceListThe list available network devices.

Member Data Documentation

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.