Ice 3.7 Slice API Reference
|
The Ice locator interface. More...
defined in <Ice/Locator.ice>
interface Locator { ... }
Operations | |
idempotent Object * | findAdapterById (string id) throws AdapterNotFoundException |
Find an adapter by id and return a proxy that contains its endpoints. More... | |
idempotent Object * | findObjectById (Identity id) throws ObjectNotFoundException |
Find an object by identity and return a proxy that contains the adapter ID or endpoints which can be used to access the object. More... | |
idempotent LocatorRegistry * | getRegistry () |
Get the locator registry. More... | |
The Ice locator interface.
This interface is used by clients to lookup adapters and objects. It is also used by servers to get the locator registry proxy.
The Locator interface is intended to be used by Ice internals and by locator implementations. Regular user code should not attempt to use any functionality of this interface directly.
idempotent Object* findAdapterById | ( | string | id | ) | throws AdapterNotFoundException |
Find an adapter by id and return a proxy that contains its endpoints.
id | The adapter id. |
AdapterNotFoundException | Raised if the adapter cannot be found. |
idempotent Object* findObjectById | ( | Identity | id | ) | throws ObjectNotFoundException |
Find an object by identity and return a proxy that contains the adapter ID or endpoints which can be used to access the object.
id | The identity. |
ObjectNotFoundException | Raised if the object cannot be found. |
idempotent LocatorRegistry* getRegistry | ( | ) |
Get the locator registry.