| namingServiceContents {CORBA} | R Documentation |
This resolves the naming context specified
in the ... argument and queries
its contents using the
CORBA method
namingServiceContents(..., maxNum=0)
... |
a CORBA identifier - a single string specifying an IOR or a sequence of one or more strings specifying a (nested) path in the naming service relative to the default top-level naming context. |
maxNum |
a very rarely used argument that controls how many elements we want returned from the naming context being queried. This is an option the CORBA specification allows us. |
In theory, it is possible to implement this using the
.Corba function. This would assume that the
interface was registered with the default Interface
Repository and there were suitable converters registered
for the elements of the return value.
A logical vector with names matching the elements
within the naming context. An element whose value is TRUE
identifies a nested sub-naming context.
Elements with value FALSE are regular objects
Duncan Temple Lang
namingService, namedCorbaObject
createNamingContext
# list the contents of the top-level naming service
namingServiceContents()
# Add a new sub-naming context.
createNamingContext("R")
# now see the list again, containing the newly added R.
namingServiceContents()
# List the contents of the (empty) R naming context.
# showing how one can specify the naming context of interest.
namingServiceContents("R")
# create a new naming context within R.
createNamingContext("R","S", recursive=T)
# now list contents of R.
namingServiceContents("R")