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

◆ createObjectAdapter()

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

Creates a new object adapter.

The endpoints for the object adapter are taken from the property name.Endpoints. It is legal to create an object adapter with the empty string as its name. Such an object adapter is accessible via bidirectional connections or by collocated invocations.

Parameters
nameThe object adapter name.
serverAuthenticationOptionsThe SSL options for server connections.
Returns
The new object adapter.
See also
createObjectAdapterWithEndpoints
ObjectAdapter
Properties
SSL::OpenSSLServerAuthenticationOptions
SSL::SecureTransportServerAuthenticationOptions
SSL::SchannelServerAuthenticationOptions