Several algorithms connection
Depending on the particular user/application the OEC server may not support simultaneous connection of multiple applications. In this case, other connections can be interrupted. For circumvention of these limitations this OECRemoting.implementation supports simultaneous operation of multiple applications through a single connection to the OEC server –
The following modes ofsupported:
- disconnected. The application creates its own connection to the OEC server. The application can not serve as the for other applications.
– the application creates its own connection to the OEC server.
- it searches for local applications running in the mode at the time of initialization. If such applications are found it uses their connection to the OEC server. Otherwise, the application enters mode.
To explicitly set the OECRemoting mode you should specify the desired mode immediately after the object creation. For example, to set the mode:
Trader.RemotingRequired = OECRemoting.Secondary;
By default, theadapter operates in the mode.