At the API level, the naming of objects is similar to the UNC/URL scheme whereby the machine name will be introduced by // and successively lower levels of the hierarchy is delimited by a /. This hierarchy is similar to a tree in form.
Within an application the location is specified from the root of a tree
(called local form). Outside the current process, to access the object
the machine name and unique application name must be specified (fully
qualified form).
ObjectSpecification | Description | Type |
---|---|---|
/ | The root of the data | Local |
/base | An object called base which is below root in the hierarchy | Local |
/trades | An object called trades which is below root in the hierarchy | Local |
//trepka/tradecapture/stats/trade | An object called /stats/trade which is in the application tradecapture on machine trepka | Fully qualified |
The creation of an object named
-
-
/a/b/c/d/object1
does not imply the existence of objects named
-
-
/a
or
-
-
/a/b
Object /a and /a/b are
just uniquely named objects. The important aspect of this scheme is the
multi-value query operations (
dump,
list,
traverse,
- see
It is important to note that:
-
-
//machine.domain.company.com/application/machinedata/timestarted
//198.45.23.11/application/machinedata/timestarted
<aic application location> ::= [/<symbol>]+
<symbol> ::= [a-z,A-Z,_] [a-z, A-Z, 0-9]* <aic
client location> ::= //<hostname>/<appname>/<aic app location>
<hostname> ::= [a-z,A-Z] [a-z, A-Z, 0-9, -, _,., ]*
<application name> ::= <symbol>
-
-
<federated name>:<application name>
For example, assume an Enterprise Resource Planning (ERP) vendor supplies a package called ABC. The programs forming this package on a server are the processes compute, display and report. If this package uses AIC within each process, a naming scheme for the processes might be as follows:
-
-
abc:compute abc:display abc:report
In this way, the entries
registered in the name service have both the federated name and the
application process unique name. When the name service is queried using
the API call
The following object specification is valid:
-
-
//machine.domain.company.com/abc:compute/machinedata/timestarted
Contents | Next section | Index |