Echelon OpenLNS User Manual

Page 902

Advertising
background image

OpenLNS Programmer's Reference

865

object’s NetworkServiceDevice object to identify the

network interface for the new network.

3. Call the PrepareToRecoverFromNetwork method. Note

that the Network object must be newly created; if objects

have been added after creation, an error will result.

4. Call the Open method of the System

object. Note that if

the recoverNetInterface parameter of the

PrepareToRecoverFromNetwork method was set to True,

the domain signature will be taken from the network

interface device, and not from the System

object’s

DomainId property.

5. Optionally add objects, set properties, and call methods.

This includes defining DeviceTemplate objects and setting

network timers or other properties of the System

object.

6. Call the RecoverFromNetwork method of the System

object.

If the recovery operation is aborted (by the computer being

turned off, for example), it is possible to resume recovery. To

do this, follow these steps:
7. Call the Open method of the Network object on the

appropriate network.

8. Call the Open method of the System

object.

9. Call the RecoverFromNetwork method of the System

object with the resumeRecovery parameter set to True.

Availability

Local, full, and lightweight clients.

Syntax

systemObject.

PrepareToRecoverFromNetwork

recoverNetInterface

Element

Description

systemObject

The System

object to be prepared.

recoverNetInterface

A Boolean type specifying whether

OpenLNS will try to recover the

network image from the network

interface.
TRUE. The domain signature

and authentication key

are to be recovered from

the network interface

.

This option is only valid

for Layer 5 network

interfaces with

configurations that are

consistent with the

network.
If you set this element to

True and you are using a

Advertising