|
The ``resolve'' command allows to obtain the target location of the server identified by its logical name. This command has the following structure:
Object name: ignored, but by convention can be "names"
.
Message name: "resolve"
.
Message content:
"object"
- string requesting the logical name of the server; this can be a string array to facilitate binding of many entries.
The name server replies with a parameters object that has a single field "location"
, which is a string containing the target location of the given server, or a string array of the same size and order as the "object"
array in the original message with locations for each of the requested servers.
If the given name does not represent any known binding, the name server will return an empty string - either as the only "location"
string field or in the relevant slot of the string array, if the original request was for the whole group of names.