Clients
Clients are software instances that load the Ice profile (the configuration file that defines the connecting port and host and the slice file). Please refer to the Ice documentation how to program such a client. For now we used a PHP client which does not connect for a long time.
The basic layout should everywhere be:
- loading the Ice extension
- load a named profile ( Ice_loadProfile )
- get the projects end points ( $ICE->getProperty('ProjectIF.Endpoints') )
- get a session proxy, set the communication (one-way/two-way)
- create a object factory from the session
- instantiate a class with the object factory
- use the instance
- destroy the instance (free server resources)
- destroy the object factory and the session
of course this is a very limited lineup, it depends on your application