Owner manual
OpenLNS Programmer's Reference 452
You can use the OnNodeConnChangeEvent to track when
connections are created or modified with this method.
Availability
Local, full, and lightweight clients.
Syntax
MtObject.Connect
Element
Description
MtObject
The hub MessageTag object to be
connected.
Added to API
Prior to LNS Release 3.0.
Disconnect
Summary
Removes a hub or message tag's entire connection or
disconnects the message tags contained in the hub's pending
target list.
The behavior of this method is dependent upon the state of
the hub's pending target list, which was created by the
AddTarget method.
• If the pending target list is empty, the method
disconnects all members of the connection (all message
tags contained within the hub's MtTargets property).
• If elements have been added to the pending target list,
the method disconnects those particular elements and
clears the pending target list.
When all targets have been disconnected from a hub message
tag, the connection ceases to exist. The hub is subsequently
deleted from the appropriate MessageTags property of the
system's Connections object.
You can use the OnNodeConnChangeEvent to track when
connections are removed with this method.
Availability
Local, full, and lightweight clients.
Syntax
object.Disconnect
Element
Description
object
The MessageTag object to be acted on.
Added to API
Prior to LNS Release 3.0.
Properties
The MessageTag object contains the following properties:
• AddressTableIndex
• AppDevice
• AppDeviceName
• ClassId
• ConnectDescTemplate
• Direction