CosNaming_NamingContextExt(3erl)

CosNaming_NamingContextExt3erl

This interface contains operation for converting a name sequence to a string and back.

Overview

To get access to the record definitions for the structures use:

        -include_lib("orber/COSS/CosNaming/CosNaming.hrl").

This module also exports the functions described in:

*

CosNaming_NamingContext

Exports

to_string(NamingContext, Name) -> Return

Types:

NameContext = #objref
Name = [NameComponent]
Return = string() | {'EXCEPTION', NamingContext::InvalidName{}}

Stringifies a Name sequence to a string.

to_name(NamingContext, NameString) -> Return

Types:

NameContext = #objref
NameString = string()
Return = [NameComponent] | {'EXCEPTION', NamingContext::InvalidName{}}

Converts a stringified Name to a Name sequence.

to_url(NamingContext, AddressString, NameString) -> Return

Types:

NameContext = #objref
Address = NameString = string()
Return = URLString | {'EXCEPTION', NamingContext::InvalidName{}} | {'EXCEPTION', NamingContextExt::InvalidAddress{}}

This operation takes a corbaloc string and a stringified Name sequence as input and returns a fully formed URL string.

resolve_str(NamingContext, NameString) -> Return

Types:

NameContext = #objref
NameString = string()
Return = #objref | {'EXCEPTION', NamingContext::InvalidName{}} | {'EXCEPTION', NamingContext::NotFound{why, rest_of_name}} | {'EXCEPTION', NamingContext::CannotProceed{cxt, rest_of_name}}

This operation takes a stringified Name sequence as input and returns the associated, if any, object.

Releases

7 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9

From erlang-manpages 1:19.2.1+dfsg-2+deb9u3 in Debian 9 (Stretch). Parsed by carta from the page's man source.