Echelon OpenLDV User Manual Page 163

  • Download
  • Add to my manuals
  • Print
  • Page
    / 194
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 162
OpenLDV Programmer’s Guide 155
automatically. The session establishment time for a profile can be configured
using the xDriver Profile Editor. For more information, see xDriver Profiles on
page 134.
BeginIncomingSessionEvents
Applies to: Object Server object
This method is used to register for incoming session event handling. The
application is then notified of incoming uplink session requests to the LNS
Server.
Syntax
objServer.BeginIncomingSessionEvents xDriverProfileName
Table 38. BeginIncomingSessionEvents Parameters
Element Description
xDriverProfileName xDriver profile name as a String (20 characters max). The application
is informed of incoming session requests that come in on the TCP
listener port assigned to the specified profile. You can use the
OpenLDV xDriver Profile Editor to enable a profile for incoming
session handling and assign it a listener port. For more information,
see xDriver Profiles on page 134.
Remarks
This method can be invoked multiple times per application if you want to use
multiple profiles to listen for incoming session requests in a single application.
However, multiple applications cannot register for uplink session event handling
with the same profile simultaneously.
After an application has registered for incoming session handling with this
method, the OnIncomingSessionEvent event is fired each time a request for
connection is received. The application is then responsible for accepting or
rejecting all incoming uplink sessions. For more information on this event, see
OnIncomingSessionEvent on page 157.
EndIncomingSessionEvents
Applies to: Object Server object
This method is used to end uplink session event handling within an application.
It must be called before closing an application that has registered for uplink
session handling with the BeginIncomingSessionEvents Method, or when the
application should no longer be responsible for handling incoming sessions.
Page view 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 193 194

Comments to this Manuals

No comments