Events, Updateerrorevent, Updateevent – Echelon OpenLNS User Manual

Page 542: R updateerrorevent, G updateerrorevent

Advertising
background image

OpenLNS Programmer's Reference

505

Events

The MsgMonitorPoint

object contains the following events

:

UpdateErrorEvent

UpdateEvent

UpdateErrorEvent

Summary

Indicates that a write failure or a poll failure has occurred on

the message monitor point that generated the event.

This event can only be used in development environments

that support events being generated on threads other than

the client thread (such as Visual C++). In these

environments, it is usually more efficient to generate events

from a non-client thread.
To cause events to be generated in this manner, create an

object which implements the ILcaNvMonitorPointListener or

ILcaMsgMonitorPointListener interface and call a

MsgMonitorPoint object's Advise method with the created

object as the argument. The object will now receive these

events directly. The behavior of the object depends on how

the user implements the UpdateEvent method.

Syntax

UpdateErrorEvent(UpdateType as Integer)

Element

Description

updateType

This element always returns the value

1.

Data Type

Integer.

Added to API

LNS Release 3.0.

UpdateEvent

Summary

Indicates that a message monitor point update has arrived.

This event can only be used in development environments

that support events being generated on threads other than

the client thread (such as Visual C++). In these

environments, it is usually more efficient to generate events

from a non-client thread.
To cause events to be generated in this manner, create an

object which implements the ILcaNvMonitorPointListener or

ILcaMsgMonitorPointListener interface and call a

MsgMonitorPoint object's Advise method with the created

object as the argument. The object will now receive these

events directly. The behavior of the object depends on how

the user implements the UpdateEvent method.

For completion code messages, the InputDp, OutputDp, and

Src parameters are NULL.

Syntax

UpdateErrorEvent(UpdateType as Integer)

Advertising