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 onconnect_timeout: timeout for connect() operation in millisecondsconnect_interval: interval between connect() operations in millisecondslocal_socket: local (UNIX) socket domain usedcompression_level: compression level for this connectionuse_ssl: indicates whether encryption is usedenabled: true if connection is activeExample
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