Prereplace, E prereplace – Echelon OpenLNS User Manual
Page 557
OpenLNS Programmer's Reference
520
computer without the OpenLNS Server running on the host.
You may not access the network database.
The same network should not be simultaneously opened in
server-dependent and server-independent mode (with this
method as well as the Open method). Doing this may cause
unpredictable results.
See the ObjectServer object's Open method for information on
how to initialize the Object Server.
Availability
Independent clients.
Syntax
network.
Element
Description
network
Added to API
LNS Release 3.0.
PreReplace
Summary
Allows a remote Full client to reattach to a network. In some
situations, this may be necessary if the client’s network
interface was not made a permanent device on the Server
computer
.
Under normal circumstances, when a remote full client
re-opens a network, any network variables, connections and
monitor sets created previously will still be available to the
client, so long as the original NSD still exists in the database.
To ensure that the NSD is never deleted from the OpenLNS
database, the NSD must be configured as a permanent device
on the network. You can do so by setting the
lcaNsdType
property of the
lcaNsdTypePermanent (1). However, under some
circumstances, the correlation between the client and the
NSD configuration may be lost, and this method may be used
to re-associate the client with the correct NSD.
For example, you will need to use this method if you open a
network remotely from a new computer, and want that client
to use the NSD information which was previously associated
with another remote client computer (effectively moving the
remote application and NSD configuration from one
computer to another). An exception to this is if the original
remote client used a layer 5 network interface, and you move
the network interface to the new computer as well. In this
case, OpenLNS will automatically associate the NSD in the
database with the client based on the layer 5 network
interface’s neuron ID.
You will also need to follow the procedure described below to
reattach an NSD to a network if the network has been
removed from the
computer, and you are using a Layer 2 network interface (or