xsql_iot_connections

Lists the configured IoT connectors.

For an overview see page Introduction to eXtremeDB Active Replication Fabric

Prototype

     
    xsql_iot_connections();
     

Arguments

none No arguments

Description

This function lists the configured IoT connectors. It returns the ResultSet table with the following columns (which matches the iot_params::connections section of the xSQL config file) :

  • type: type of connection, "listen" or "connect"
  • address: network address to connect or listen on
  • connect_timeout: timeout for connect() operation in milliseconds
  • connect_interval: interval between connect() operations in milliseconds
  • local_socket: local (UNIX) socket domain used
  • compression_level: compression level for this connection
  • use_ssl: indicates whether encryption is used
  • enabled: true if connection is active

Example

 
    XSQL>select xsql_iot_connections();
    type    address connect_timeout connect_interval local_socket compression_level use_ssl enabled
    ------------------------------------------------------------------------------
    listen  10003   2000    60000   false   0       false   true