Get the IDL identifier for a CORBA object.

Usage

  idlType(...)

Arguments

... a CORBA object identifier - an IOR or a sequence of character strings which are combined to define a path in the default namign service identifying a CORBA object.

Description

This is a mechanism to find the IDL interface implemented by a particular server. This is similar to finding its class.

Details

This makes a query

Value

A character vector of length containing the IDL identifier for the interface. This will be of the form IDL:module/sub-module/.../interface:1.0 where the texttt{1.0} is the version of the interface and may be different.

Note

Exceptions can be thrown if the identifier does not resolve to a CORBA object or if the resulting server is not active.

Author(s)

Duncan Temple Lang

References

http://www.omegahat.org/CORBA

See Also

idlInterface, interfaceRepository, getIRContainerContents

Examples

  # Let's create a known object (without needing
  # IDL in the repository, etc.)
 createNamingContext("R")
  # Now find the IDL type for this object
  # Should produce 
  #   "IDL:omg.org/CosNaming/NamingContext:1.0
 idlType("R")
 idlType(namedCorbaObject("R"))
  # similar (but more specific) information 
  # within the iorDump output.
 iorDump(namedCorbaObject("R"))


[Package Contents]