class

Conn

const class Conn : Actor

Conn models a connection to a single endpoint.

methods close

Force close of connection if open

data

Library specific connector data

db

Project database

dis

Display name

ext

Parent connector library

id

Record id

isDisabled

Does the record have the disabled marker configured

linger

Configured linger timeout - see connLinger

log

Log for this connector

openRetryFreq

Frequency to retry opens

ping

Invoke ping request

pingFreq

Configured ping frequency to test connection or null if feature is disabled - see connPingFreq

point

Get the point managed by this connector via its point rec id

pointIds

Get list of all point ids managed by this connector

points

Get list of all points managed by this connector

pollFreq

Configured poll frequency if connector uses manual polling

pollMode

Poll strategy for connector

proj

Project

rec

Current version of the record

receive

Actor messages are routed to ConnDispatch

sendSync

Sync a synchronous message to the actor, and block based on the configurable timeout

status

Current status of the connector

sync

Block until this conn processes its current actor queue

syncCur

Synchronize the current values for the given points

timeout

Timeout to use for I/O and actor messaging - see actorTimeout

toStr

Debug string

trace

Debug tracing for this connector

tuning

Conn tuning configuration to use for this connector

close virtual Future close()

Force close of connection if open

data Obj? data()

Library specific connector data. This value is managed by the connector actor via ConnDispatch.setConnData.

db Folio db()

Project database

dis Str dis()

Display name

ext virtual ConnExt ext()

Parent connector library

id virtual Ref id()

Record id

isDisabled Bool isDisabled()

Does the record have the disabled marker configured

linger Duration linger()

Configured linger timeout - see connLinger

log Log log()

Log for this connector

openRetryFreq Duration openRetryFreq()

Frequency to retry opens. See connOpenRetryFreq.

ping virtual Future ping()

Invoke ping request

pingFreq Duration? pingFreq()

Configured ping frequency to test connection or null if feature is disabled - see connPingFreq

point ConnPoint? point(Ref id, Bool checked := true)

Get the point managed by this connector via its point rec id.

pointIds Ref[] pointIds()

Get list of all point ids managed by this connector.

points ConnPoint[] points()

Get list of all points managed by this connector.

pollFreq Duration? pollFreq()

Configured poll frequency if connector uses manual polling

pollMode ConnPollMode pollMode()

Poll strategy for connector

proj Proj proj()

Project

rec virtual Dict rec()

Current version of the record. This dict only represents the current persistent tags. It does not track transient changes such as connStatus.

receive virtual Obj? receive(Obj? m)

Actor messages are routed to ConnDispatch

sendSync Obj? sendSync(HxMsg msg)

Sync a synchronous message to the actor, and block based on the configurable timeout.

status ConnStatus status()

Current status of the connector

sync This sync(Duration? timeout := null)

Block until this conn processes its current actor queue

syncCur Future syncCur(ConnPoint[] points)

Synchronize the current values for the given points

timeout Duration timeout()

Timeout to use for I/O and actor messaging - see actorTimeout.

toStr virtual Str toStr()

Debug string

trace ConnTrace trace()

Debug tracing for this connector

tuning ConnTuning tuning()

Conn tuning configuration to use for this connector.

Haxall 4.0.6 ∙ 21-Jul-2026 09:48 EDT