Beginchangeevent, Begincommissionevent, S beginchangeevent – Echelon OpenLNS User Manual

Page 882

Advertising
background image

OpenLNS Programmer's Reference

845

object type.
To begin events for device and router attachments, you must

call this method twice: once with the lcaAppDeviceEvent

parameter, and once with the lcaRouter parameter.

Availability

Local, full, and lightweight clients.

Syntax

systemObject.

BeginAttachmentEvent

objectType

Element

Description

systemObject

The System

object to be acted on.

objectType

An integer determining the object

type for which to begin attachment

events.

The possible values for this

element, which are contained in

the

ConstDeviceEventTypes

constant, are as follows:

0 lcaAppDeviceEvent

1 lcaRouterEvent

Added to API

Prior to LNS Release 3.0.

BeginChangeEvent

Summary

Enables the

OnChangeEvent

for a system for a given object

type.
You must call this method once for every type of object for

which change events are to be received.

Availability

Local, full, and lightweight clients.

Syntax

systemObject.BeginChangeEvent objectType

Element

Description

systemObject

The System

object to be acted on.

objectType

An integer determining the object

type for which to begin change

events.

The possible values for this

element, which are contained in

the

ConstDeviceEventTypes

constant, are as follows:

0 lcaAppDeviceEvent

1 lcaRouterEvent

Added to API

Prior to LNS Release 3.0.

BeginCommissionEvent

Summary

Enables the

OnCommission

event for a system for a given

Advertising