Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

GaiaNS Class Reference

GaiaNS - Gaia Name Server. More...

List of all members.

Static Public Methods

int bind (const char *binding, CORBA::Object *object)
 Bind an object in the name server.

int unbind (const char *binding)
 Unind an object in the name server.

CORBA::Object * resolve (const char *binding)
 Resolve an object in the name server to get a handle to the object.


Detailed Description

GaiaNS - Gaia Name Server.

This class allows access to the Gaia name server. CORBA objects can be added and removed from the name server, or a handle can be retrieved.

Examples:

// Bind an object in the name server. GaiaNS::bind("Media/MP3Audio", <handle>);

// Resolve an object in the name server. handle = GaiaNS::resolve("Media/MP3Audio");

// Unbind an object in the name server. GaiaNS::unbind("Media/MP3Audio")


Member Function Documentation

int GaiaNS::bind const char *    binding,
CORBA::Object *    object
[static]
 

Bind an object in the name server.

Parameters:
binding  path to bind object to
object  handle to object
Returns:
status code; < 0 on error

CORBA::Object* GaiaNS::resolve const char *    binding [static]
 

Resolve an object in the name server to get a handle to the object.

Parameters:
binding  path to object
Returns:
object handle; NULL on error

int GaiaNS::unbind const char *    binding [static]
 

Unind an object in the name server.

Parameters:
binding  path to object
Returns:
status code; < 0 on error


The documentation for this class was generated from the following file:
Generated on Wed Sep 18 18:10:51 2002 for Gaia by doxygen1.2.16