Parent, Pingclass – Echelon OpenLNS User Manual

Page 827

Advertising
background image

OpenLNS Programmer's Reference

790

Read/Write

Read-only.

Added to API

Prior to LNS Release 3.0.

Parent

Summary

Returns the object that spawned the current child object. The

parent object is determined by the means in which a child object is

accessed, not by the OpenLNS Object hierarchy. For example, an

AppDevice

object's parent can be a

NetworkServiceDevice

object or

a

AppDevices

collection object

Availability

Local, full, lightweight, and independent clients. Note that not all

objects that contain this property are available to Independent

clients.

Syntax

parentObject = object.Parent

Element

Description

parentObject

The object that is the parent of the

specified object.

object

Any object for which the parent is

desired.

Data Type

Object.

Read/Write

Read only.

Added to API

Depends on the object used to access the property. Generally, this

property exists for the objects listed above as soon as they are

added to the API.

PingClass

Summary

Determines the frequency with which a router is tested (pinged)

to determine if it is still attached to the network.
This property classifies routers based on the probability that the

router may be detached. The higher the probability, the more

frequently the router will be pinged.

The Object Server assumes a

router to be detached if it cannot communicate with that router

three consecutive times.

Availability

Local, full, and lightweight clients.

Syntax

pingClassValue = Object.

PingClass

Element

Description

Object

The router object to be acted on.

pingClassValue

The ping class of this object.

The

valid values for this element

, which

are provided in the ConstPingClass

constant, are as follows:

0

lcaPingClassDefault

If this value is written to the

PingClass

Advertising