Adds a servant to this object adapter's Active Servant Map (ASM), while specifying a facet.
The ASM is a map {identity, facet} -> servant.
- Template Parameters
-
| Prx | The type of the proxy to return. |
- Parameters
-
| servant | The servant to add. |
| id | The identity of the Ice object that is implemented by the servant. |
| facet | The facet of the Ice object that is implemented by the servant. |
- Returns
- A proxy for
id and facet, created by this object adapter.
- Exceptions
-
| AlreadyRegisteredException | Thrown when a servant with the same identity and facet is already registered. |
Definition at line 121 of file ObjectAdapter.h.