INameService Interface Reference


Description

This internal interface extends the IToiNameService interface with a method for adding entries to the database.

See also:
IToiNameService

import "INameService.idl";

List of all members.

Public Member Functions

void RegisterObject (in string objectName, in string address)
void ReleaseObject (in string objectName)

Member Function Documentation

void INameService::RegisterObject ( in string  objectName,
in string  address 
)

The RegisterObject method adds or replaces an entry in the name service database. Each entry in the database consists of an object name together with an IPC address that can be used to connect to the object.

Parameters:
objectName The name of the object. This is the name used by clients when they query the name service for an address.
address The IPC address to the object.
void INameService::ReleaseObject ( in string  objectName  ) 

The ReleaseObject method removes an entry in the name service database.

Parameters:
objectName The name of the object to be removed.