API Docs for: 0.0.57
Show:

NodeCrawler Class

Constructor

NodeCrawler

(
  • session
)

Parameters:

  • session Object

Methods

_defer_browse_node

(
  • nodeId
  • callback
)
private

perform a deferred browse instead of calling session.browse directly, this function add the request to a list so that request can be grouped and send in one single browse command to the server.

Parameters:

  • nodeId Object
  • callback Object

_defer_readNode

(
  • nodeId
  • attributeId
  • callback
)
private

request a read operation for a Node+Attribute in the future, provides a callback

Parameters:

  • nodeId NodeId
  • attributeId AttributeId
  • callback Function
    • err Error | Null
    • dataValue String

_resolve_deferred_readNode

(
  • callback
)
private

perform pending read Node operation

Parameters:

  • callback Function

crawl

(
  • nodeId
  • user_data
  • end_callback
)

Parameters:

  • nodeId NodeId
  • user_data Object
  • end_callback Function

readUAAnalogItem

(
  • session
  • nodeId
  • callback
)

Parameters:

  • session Object
  • nodeId Object
  • callback Object