Echelon OpenLNS User Manual

Page 807

Advertising
background image

OpenLNS Programmer's Reference

770

session before using the MoveEx method. This will allow your

application to avoid some failure scenarios that may occur

when routers are moved.

Availability

Local, full, and lightweight clients.

Syntax

routerObject.

MoveEx

newChannelObject, newSubnetObject,

flags

Element

Description

routerObject

The router to be moved from channel

to channel.

oldNearChannel

The old near side channel for the

router.

oldFarChannel

The old far side channel for the

router.

newNearChannel

The new near side channel for the

router.

newFarChannel

The new far side channel for the

router.

routerType

An Integer value specifying the type

of router.

flags

A Long value specifying the

movement flags.

Multiple options

may be specified by logically OR'ing

individual flag values. The flag

values, which are provided in the

ConstMoveExFlags constants, are as

follows:
1 lcaMovePrePhysical

Specified when invoking the MoveEx

method prior to the physical move
2 lcaMovePostPhysical

Specified when invoking the MoveEx

method following the physical move.
8 lcaMoveOnline
Indicates that moved routers are to

be left online (default for routers).
16 lcaMoveOffline
Indicates that moved routers are to

be left offline (default for routers).
32 lcaMoveRestore
Indicates that moved routers will be

restored to their original

online/offline state. If a router is

power cycled or reset as part of the

Advertising