mixin

Funcs

Funcs : Funcs

meta mixin slots obixPing

Deprecated - use connPing()

obixSyncCur

Deprecated - use connSyncCur()

obixSyncHis

Deprecated - use connSyncHis()

obixReadObj

Read one Uri from an obixConn

obixReadHis

Synchronously query a obix::History for its timestamp/value pairs

obixWriteObj

Write an object as identified by given uri

obixInvoke

Invoke an obix:op operation as identified by given uri

obixPing (conn: Obj) => Future <admin, deprecated>

Deprecated - use connPing()

obixSyncCur (points: Obj) => List <admin, deprecated>

Deprecated - use connSyncCur()

obixSyncHis (points: Obj, span: Obj?) => Obj? <admin, deprecated>

Deprecated - use connSyncHis()

obixReadObj (conn: Obj, uri: Uri) => Grid <admin>

Read one Uri from an obixConn. The object is returned as a grid with the object's meta-data returned via grid.meta and each immediate child returned as a row in the grid. The tags used for grid meta and the columns are:

  • href: meta.href is absolute uri of object, the href col is child's uri relative to meta.href
  • name: obix name attribute
  • dis: obix displayName attribute
  • val: obix val attribute unless null attribute is true
  • is: contract list
  • icon: uri relative to meta.href of icon

You can read the icon via the tunnel URI:

 {api}/obix/icon/{id}/{uri}

Side effects:

  • performs blocking network IO

obixReadHis (conn: Obj, uri: Uri, span: Obj?) => Grid <admin>

Synchronously query a obix::History for its timestamp/value pairs. Range may be any valid object used with his queries.

obixWriteObj (conn: Obj, uri: Obj, arg: Obj?) => Grid <admin>

Write an object as identified by given uri. The following arg values are supported:

arg         oBIX
---         -----
null        <obj null='true'/>
"foo"       <str val='foo'/>
true        <bool val='true'/>
123         <real val='123.0'/>
123m        <real val='123.0' unit='obix:units/meter'/>
`foo.txt`   <uri val='foo.txt'/>
2012-03-06  <date val='2012-03-06'/>
23:15       <time val='23:15:00'/>
DateTime    <abstime val='...' tz='...'/>
XML Str     pass thru

Result object is transformed using same rules as obixReadObj.

obixInvoke (conn: Obj, uri: Obj, arg: Obj?) => Grid <admin>

Invoke an obix:op operation as identified by given uri. See obixWriteObj for supported arg values and obixReadObj for result object.

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