ToiNetConfigurationSession Interface Reference

Description

Technical Preview:

This interface is a TECHNICAL PREVIEW, it may change.

ToiNetConfigurationSession is used to change the parameters of available network devices.

import "ToiNetConfigurationSession.idl";

Inheritance diagram for ToiNetConfigurationSession:
ToiNetConfiguration

List of all members.

Public Member Functions

void revert () raises (TToiOperationNotSupportedException)
void clear ()
void apply () raises (TToiOperationNotSupportedException)
void releaseInstance ()

Member Function Documentation

void ToiNetConfigurationSession::apply ( ) raises (TToiOperationNotSupportedException)

Applies the changes made in the configuration session and makes the changes permanent as well as notifying any observers of the changed configuration.

Exceptions:
TToiOperationNotSupportedExceptionRaised if apply cannot be performed.
void ToiNetConfigurationSession::clear ( )

Clears this configuration session to a clean state.

void ToiNetConfigurationSession::releaseInstance ( )

This function releases the resources used by this instance and ends the configuration session. If ToiNetConfigurationSession::apply() has not been called, the session configuration is lost. When this function returns all observers has also been released.

void ToiNetConfigurationSession::revert ( ) raises (TToiOperationNotSupportedException)

Reverts a configuration session to the state it had when first being created, even if changes have been applied. The reverted configuration is not applied until ToiNetConfigurationSession::apply() is called.

Exceptions:
TToiOperationNotSupportedExceptionRaised if a revert cannot be performed.