Brokermap_onfailure(), Name, Description – Campbell Scientific LoggerNet Server SDK User Manual

Page 82: Brokermap_ontableadded()

Advertising
background image

Section 16. CsiBrokerMap Control Reference

BrokerMap_onFailure()

Name

onFailure(BrokerMapFailureType failure_code)

Description

When the BrokerMap control fails, an error from the following table will be
returned with this event:

Table of Failure Codes

Name Value

Description

failure_unknown

0

The cause of the failure
could not be determined

failure_connection_failed 1

The connection has failed.
Check the serverName and
serverPort

failure_invalid_logon

2

The LoggerNet server has
security enabled and the
logon is invalid. Check
serverLogonName and
serverLogonPassword

failure_server_security

3

The LoggerNet server has
security enabled and you do
not have sufficient privileges
to complete this transaction

failure_table_browser

4

There has been an error
while getting table
information

BrokerMap_onTableAdded()

Name

onTableAdded(Object Broker, Object Table)

Description

This event gets called when a new table is added to a broker in the broker map.
Information about the table added to the broker in the broker map can be
accessed with the table object and broker object returned by this event.

16-6

Advertising