CosNaming::NamingContextExt Interface Reference

The NamingContextExt Interface provides the extensions to the NamingContext Interface as proposed by the Interoperable Naming Service Extension. More...

import "CosNaming.idl";

Inherits CosNaming::NamingContext.

List of all members.

Public Types

typedef string StringName
typedef string Address
typedef string URLString

Public Member Functions

StringName to_string (in Name n) raises (InvalidName)
 This operation accepts a Name and returns a stringified Name.
Name to_name (in StringName sn) raises (InvalidName)
 This operation accepts a StringifiedName and returns a Name.
URLString to_url (in Address addr, in StringName sn) raises (InvalidAddress, InvalidName)
 This operation accepts a URL address component and a stringified name and returns a URL string.
Object resolve_str (in StringName n) raises (NotFound, CannotProceed, InvalidName)
 This is a convenience operation that performs a resolve in the same manner as NamingContext::resolve.

Classes

exception  InvalidAddress
 Indicates a syntactically invalid address component. More...


Detailed Description

The NamingContextExt Interface provides the extensions to the NamingContext Interface as proposed by the Interoperable Naming Service Extension.


Member Typedef Documentation

typedef string CosNaming::NamingContextExt::Address

typedef string CosNaming::NamingContextExt::StringName

typedef string CosNaming::NamingContextExt::URLString


Member Function Documentation

Object CosNaming::NamingContextExt::resolve_str ( in StringName  n  )  raises (NotFound, CannotProceed, InvalidName)

This is a convenience operation that performs a resolve in the same manner as NamingContext::resolve.

Parameters:
n - a Stringified name. NotFound, CannotProceed, InvalidName

Name CosNaming::NamingContextExt::to_name ( in StringName  sn  )  raises (InvalidName)

This operation accepts a StringifiedName and returns a Name.

Parameters:
n - a StringifiedName InvalidName - if the Name is invalid.

StringName CosNaming::NamingContextExt::to_string ( in Name  n  )  raises (InvalidName)

This operation accepts a Name and returns a stringified Name.

Parameters:
n - Name (a sequence of NameComponents) InvalidName - if the Name is invalid.

URLString CosNaming::NamingContextExt::to_url ( in Address  addr,
in StringName  sn 
) raises (InvalidAddress, InvalidName)

This operation accepts a URL address component and a stringified name and returns a URL string.

Parameters:
n - a Stringified name. addr - URL address component.