Motorola Mobility Confidential Restricted.
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

TToiNetDeviceIdSequence getNetworkDevices (in long typeMask) raises (TToiInvalidArgumentException)
ToiNetConfigurationNetDeviceInfo getGenericDeviceInfo (in TToiNetDeviceId id) raises (TToiInvalidArgumentException)
ToiNetIpDevice getIpDevice (in TToiNetDeviceId id) raises (TToiInvalidArgumentException, TToiInvalidPreconditionException)
ToiNetEthernetDevice getEthernetDevice (in TToiNetDeviceId id) raises (TToiInvalidArgumentException, TToiOperationNotSupportedException, TToiInvalidPreconditionException)
ToiNetMocaDevice getMocaDevice (in TToiNetDeviceId id) raises (TToiInvalidArgumentException, TToiOperationNotSupportedException, TToiInvalidPreconditionException)

Public Attributes

TToiNetDeviceType
const TToiNetDeviceType NET_DEVICE_TYPE_ETHERNET = 0x1
const TToiNetDeviceType NET_DEVICE_TYPE_MOCA = 0x2
const TToiNetDeviceType NET_DEVICE_TYPE_ESTB = 0x4
const TToiNetDeviceType NET_DEVICE_TYPE_ALL = 0xff

Public Types

typedef long TToiNetDeviceId
typedef sequence< TToiNetDeviceIdTToiNetDeviceIdSequence
typedef long TToiNetDeviceType

Member Typedef Documentation

Network device identifier type.

List of identifiers of network devices.

Bit mask values indicating the type of the network device.


Member Function Documentation

Returns the Ethernet device.

Parameters:
idThe network device identifier.
Return values:
IToiNetEthernetDevice
addressThe ToiNetEthernetDevice address.
Exceptions:
TToiInvalidArgumentExceptionRaised if the network device identifier is invalid.
TToiOperationNotSupportedExceptionRaised if the Ethernet device is not supported.
TToiInvalidPreconditionExceptionRaised if the Ethernet device is not initialized.
ToiNetConfigurationNetDeviceInfo ToiNetConfiguration::getGenericDeviceInfo ( in TToiNetDeviceId  id) raises (TToiInvalidArgumentException)

Returns the generic network device info.

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

Returns the base IpDevice corresponding to the specified device id.

Parameters:
idThe network device identifier.
Return values:
IToiNetIpDevice
addressThe ToiNetIpDevice address.
Exceptions:
TToiInvalidArgumentExceptionRaised if the network device identifier is invalid.
TToiInvalidPreconditionExceptionRaised if the device is not initialized.

Returns the MoCA device.

Parameters:
idThe network device identifier.
Return values:
IToiNetMocaDevice
addressThe ToiNetMocaDevice address.
Exceptions:
TToiInvalidArgumentExceptionRaised if the network device identifier is invalid.
TToiOperationNotSupportedExceptionRaised if the MoCA device is not supported.
TToiInvalidPreconditionExceptionRaised if the MoCA device is not initialized.
TToiNetDeviceIdSequence ToiNetConfiguration::getNetworkDevices ( in long  typeMask) raises (TToiInvalidArgumentException)

Returns available network devices of specified types.

Parameters:
typeMaskThe bit mask of types of the network devices as defined by ToiNetConfiguration::TToiNetDeviceType.
Return values:
identifiersIdentifiers of the available network devices.
Exceptions:
TToiInvalidArgumentExceptionRaised if the bit mask of types of the network devices is invalid.

Member Data Documentation

All types of the devices.

This constant can also be accessed from toi.consts.ToiNetConfiguration.NET_DEVICE_TYPE_ALL.

The type is an embedded settop (eSTB) interface to a DOCSIS device.

This constant can also be accessed from toi.consts.ToiNetConfiguration.NET_DEVICE_TYPE_ESTB.

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.