This interface is a TECHNICAL PREVIEW, it may change.
ToiNetService is used for controlling network interfaces.
import "ToiNetService.idl";
Public Member Functions | |
| ToiNetConfiguration | getConfiguration () |
| ToiNetConfigurationSession | createConfigurationSession () raises (TToiInvalidArgumentException, TToiInvalidPreconditionException) |
Public Attributes | |
Events | |
| const long | ON_DEVICE_CONFIGURATION_CHANGED = 4400 |
| const long | ON_DEVICE_ADDED = 4401 |
| const long | ON_DEVICE_REMOVED = 4402 |
| const long | ON_DEVICE_INTERFACE_CHANGED = 4403 |
| ToiNetConfigurationSession ToiNetService::createConfigurationSession | ( | ) | raises (TToiInvalidArgumentException, TToiInvalidPreconditionException) |
Creates and returns a session to change the network configuration. The session is active between this call and either ToiNetConfigurationSession::releaseInstance().
| IToiNetConfigurationSession |
| TToiInvalidArgumentException | Raised if the application identifier is invalid. |
| TToiInvalidPreconditionException | Raised if another session is active. |
| ToiNetConfiguration ToiNetService::getConfiguration | ( | ) |
Returns the network configuration.
| IToiNetConfiguration |
| const long ToiNetService::ON_DEVICE_ADDED = 4401 |
This is an Event identifier for ToiNetDeviceAddedEvent.
This constant can also be accessed from toi.consts.ToiNetService.ON_DEVICE_ADDED.
| const long ToiNetService::ON_DEVICE_CONFIGURATION_CHANGED = 4400 |
This is an Event identifier for ToiNetDeviceConfigurationChangedEvent.
This constant can also be accessed from toi.consts.ToiNetService.ON_DEVICE_CONFIGURATION_CHANGED.
| const long ToiNetService::ON_DEVICE_INTERFACE_CHANGED = 4403 |
This is an Event identifier for ToiNetDeviceInterfaceChangedEvent.
This constant can also be accessed from toi.consts.ToiNetService.ON_DEVICE_INTERFACE_CHANGED.
| const long ToiNetService::ON_DEVICE_REMOVED = 4402 |
This is an Event identifier for ToiNetDeviceRemovedEvent.
This constant can also be accessed from toi.consts.ToiNetService.ON_DEVICE_REMOVED.