lsxECLConnection Class

The lsxECLConnection class provides information about a Personal Communications connection.

An lsxECLConnection object is associated with a Personal Communications connection when the lsxECLConnection object is created. You cannot change the connection associated with an lsxECLConnection object. If you want to query information about a different connection, you must create a new lsxECLConnection object associated with that connection.

There are two ways to create an lsxECLConnection object:
  • Create a new lsxECLConnection object by passing a Personal Communications connection name as a parameter on the new statement. A Personal Communications connection name is a single, alphabetic character from A-Z or a-z. The following is an example of creating an lsxECLConnection object that is associated with Personal Communications connection A:
    ' Create an lsxECLConnection object associated with PCOMM connection A
       dim myConnObj as new lsxECLConnection("A")
  • Create a new lsxECLConnection object by passing a Personal Communications connection handle as a parameter on the new statement. A Personal Communications connection handle is a Long integer. The following is another example of creating an lsxECLConnection object that is associated with Personal Communications connection A:
    ' Create an IsxECLConnection object using a connection handle
     dim myPSObj as new IsxECPS("A")
     
    ' Now use the connection handle from the PS object to build a connection object
    dim myConnObj as new IsxECLConnection(myPSObj.Handle)