class

ConnExt

const abstract class ConnExt : ExtObj

Connector library base class. See Custom Connectors.

constructors make

Constructor

methods conns

List all the connectors

settings

Settings record

conn

Lookup a connector by its record id

onLearn

Library level callback to process a connector learn

onConnDetails

Return connector specific details to insert into debug report

tuningDefault

Create default point tuning configuration for this library

point

Lookup a point by its record id

points

List all the points across all connectors

modelName

Get the conn model name which is used to map to tags

onStart

Start callback - if overridden you must call super

onPointDetails

Return connector specific details to insert into debug report

onSettings

Settings update - if overridden you must call super

onStop

Stop callback - if overridden you must call super

conn Conn? conn(Ref id, Bool checked)

Lookup a connector by its record id

conns Conn[] conns()

List all the connectors

make new make()

Constructor

modelName virtual Str modelName()

Get the conn model name which is used to map to tags:

  • Library name: acme.foobar
  • Model name: fooBar By default this is the last part of the library dotted name.

onConnDetails virtual Str onConnDetails(Conn conn)

Return connector specific details to insert into debug report. Connectors should avoid requiring a message to the Conn actor so that debug can proceed even if the actor is blocked on I/O. Utilize Conn.data to cache debug information.

onLearn virtual Future onLearn(Conn conn, Obj? arg)

Library level callback to process a connector learn. The default operation dispatches to the connector actor, performs an open, and then callback to to ConnDispatch.onLearn. However, some connectors can perform a learn operation without using an open connector (for example using configuration files). In that case, use this hook to process the learn request without dispatching to the Conn actor.

onPointDetails virtual Str onPointDetails(ConnPoint point)

Return connector specific details to insert into debug report. Connectors should avoid requiring a message to the Conn actor so that debug can proceed even if the actor is blocked on I/O. Utilize ConnPoint.data to cache debug information.

onSettings virtual Void onSettings()

Settings update - if overridden you must call super

onStart virtual Void onStart()

Start callback - if overridden you must call super

onStop virtual Void onStop()

Stop callback - if overridden you must call super

point ConnPoint? point(Ref id, Bool checked)

Lookup a point by its record id

points ConnPoint[] points()

List all the points across all connectors

settings virtual ConnSettings settings()

Settings record

tuningDefault virtual ConnTuning tuningDefault()

Create default point tuning configuration for this library

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST