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) |
void | LookupObject (in string name, out string address) raises (TToiInvalidArgumentException) |
Member Function Documentation
This function returns the IPC address for the provided service name.
- Parameters:
-
| name | The service name for the which the IPC address is requested. |
- Return values:
-
| address | The IPC address of the requested service name. |
- Exceptions:
-
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. |