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

◆ createObjectAdapterWithEndpoints()

ObjectAdapterPtr Ice::Communicator::createObjectAdapterWithEndpoints ( std::string name,
std::string_view endpoints,
std::optional< SSL::ServerAuthenticationOptions > serverAuthenticationOptions = std::nullopt )

Creates a new object adapter with endpoints.

This function sets the property name.Endpoints, and then calls createObjectAdapter. It is provided as a convenience function. Calling this function with an empty name will result in a UUID being generated for the name.

Parameters
nameThe object adapter name.
endpointsThe endpoints of the object adapter.
serverAuthenticationOptionsThe SSL options for server connections.
Returns
The new object adapter.
See also
createObjectAdapter
ObjectAdapter
Properties
SSL::OpenSSLServerAuthenticationOptions
SSL::SecureTransportServerAuthenticationOptions
SSL::SchannelServerAuthenticationOptions