Archived
This forum has been archived. Please start a new discussion on GitHub.
Ice::Communicator
gesly
in Comments
Hi,
What does calling Ice::initialize(...) multiple times mean? What I am trying to understand is does calling initialize multiple times result in multiple Ice Communicators?
Gesly
What does calling Ice::initialize(...) multiple times mean? What I am trying to understand is does calling initialize multiple times result in multiple Ice Communicators?
Gesly
0
Comments
-
You can think of a communicator as an instance of the Ice run time. Each communicator is independently configurable and serves as the container for the resources used by the run time (connections, thread pools, etc.).
An application typically creates multiple communicators when it needs each one to use different configurations. For example, consider an application that uses SSL and needs to supply multiple identities (i.e., certificates). In this case, it could create a communicator for each identity and configure the IceSSL plug-in of each communicator with the appropriate certificate.
Take care,
- Mark0
