Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ getDefaultObjectAdapter()

ObjectAdapterPtr Ice::Communicator::getDefaultObjectAdapter ( ) const
nodiscard

Gets the object adapter that is associated by default with new outgoing connections created by this communicator.

This function returns nullptr unless you set a non-null default object adapter using setDefaultObjectAdapter.

Returns
The object adapter associated by default with new outgoing connections.
Exceptions
CommunicatorDestroyedExceptionThrown when the communicator has been destroyed.
See also
Connection::getAdapter