Creating an Object Adapter
You create an object adapter by calling createObjectAdapter
on your communicator. For example:
python
createObjectAdapter
creates a new object adapter associated with this communicator. Each object adapter is associated with zero or more transport endpoints. Typically, an object adapter has a single transport endpoint.
An object adapter can also offer multiple endpoints. If so, these endpoints each lead to the same set of objects and represent alternative means of accessing these objects.
An object adapter can also have no endpoint at all. In that case, the adapter can only be reached via collocated invocations originating from proxies created with the same communicator as the object adapter.
An application normally needs to configure an object adapter with endpoints or a router. Calling createObjectAdapter
with a non-empty value for name
means the new object adapter will check the communicator's configuration for properties, using its name as prefix, including:
name.Endpoints - defines one or more object adapter endpoints
name.Router - specifies the stringified proxy of a router
If you want to create an object adapter and specify its endpoints in one shot, call createObjectAdapterWithEndpoints
is on your communicator. For example:
python