Module: caf_platform/plug_registry

A registry for local CAs.

Source:

Extends

Methods

__ca_instanceChild__(dataopt, specEnv, cb0)

Creates a CA or finds a reference to an existing local one given the CA's id.

If there is already a remote CA with the same id, it returns an error object in the callback with the remote hosting node (in field remoteNode see module:caf_platform/plug_lease#grabLease.

Parameters:
Name Type Attributes Description
data Object <optional>

An optional hint on how to add the child.

specEnv Object

An extra child description to override a default one. At a minimum specEnv.name should define the name for this CA.

cb0 cbType

A callback to return an error if I cannot create the CA.

Source: