beautypg.com

Echelon OpenLNS User Manual

Page 833

background image

OpenLNS Programmer's Reference

796

nearChannel The Channel object for the router's near

channel.

farChannel

The Channel object for the router's far

channel.

routerType

An Integer value indicating the router type.

The valid class values, which are contained

in the

ConstRouterClasses

constant, are as

follows:

0 lcaConfiguredRouter

1 lcaLearningRouter (*see notes)

2 lcaRepeater

3 lcaBridge

4 lcaPermanentRepeater

5 lcaPermanentBridge
Notes
:

The lcaLearningRouter (1) value is not

supported by OpenLNS. If you write the

lcaLearningRouter (1) value to this

property, it will automatically be converted

to lcaConfiguredRouter (0).
A permanent repeater or bridge cannot be

changed to a non-permanent class.

Similarly, a non-permanent class cannot be

changed to a permanent repeater or bridge.

flags

A Long value specifying the add options for

this router.
The possible values of this element, which

are defined in the ConstRouterFlags

constant, are as follows:
0 lcaRouterFlagNoSplit
The router should be added normally.
This method behaves identically to the

Routers collection’s Add method if the flags

parameter is set to 0.
1 lcaRouterFlagSplit
The router being added splits a previously

defined channel into two pieces. When this

option is specified, the NSS splits the

channel and automatically relocates nodes

which are to end up on the far side of the

router.
A permanent bridge or permanent repeater

cannot be used to split a channel. A router

cannot perform a split if it would result in a

subnet broadcast connection spanning the

router. This option only applies if the