Skip to main content
Skip table of contents

Communicator Initialization and Destruction

Creating a Communicator

You create a communicator by calling Ice\initialize, for example:

PHP
<?php
require_once 'Ice.php';

$communicator = Ice\initialize();
...
?>

In PHP, unlike other languages, you do not need to destroy the communicator: the Ice PHP extension automatically destroys the communicator created during a request.

Initialization Data

When a communicator is created, its constructor or the initialize method configures several features that control its behavior. Once set, these features remain in effect for the lifetime of the communicator and cannot be changed afterward. Therefore, any customization of these features must be done at communicator creation time.

The InitializationData class or struct holds all the features (or options) that you can customize when you create a communicator.

See Also
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.