Interface of the ConnectionManager. More...
import "DSC_Engines.idl";
Data Structures | |
| exception | BadId |
| The Id given to the disconnect method is bad. More... | |
Public Types | |
| typedef short | connectionId |
| A connection Id. It's unique. More... | |
Public Member Functions | |
| connectionId | connect (in Engines::DSC uses_component, in string uses_port_name, in Engines::DSC provides_component, in string provides_port_name) raises (Engines::DSC::PortNotDefined, Engines::DSC::BadPortType, Engines::DSC::NilPort) |
| Connect a uses port with a provides port. More... | |
| void | disconnect (in connectionId id, in Engines::DSC::Message message) raises (Engines::ConnectionManager::BadId, Engines::DSC::PortNotDefined, Engines::DSC::PortNotConnected, Engines::DSC::BadPortReference) |
| Release a connection that has been previously created by the ConnectionManager. More... | |
| oneway void | ShutdownWithExit () |
| Shutdown the ConnectionManager process. More... | |
| long | getPID () |
| Return the PID of the connection manager. More... | |
Interface of the ConnectionManager.
It is a helper object for connection operations. The ConnectionManager is used like other services of SALOME (e.g ContainerManager).
| typedef short Engines::ConnectionManager::connectionId |
A connection Id. It's unique.
| connectionId Engines::ConnectionManager::connect | ( | in Engines::DSC | uses_component, |
| in string | uses_port_name, | ||
| in Engines::DSC | provides_component, | ||
| in string | provides_port_name | ||
| ) | raises (Engines::DSC::PortNotDefined, Engines::DSC::BadPortType, Engines::DSC::NilPort) |
Connect a uses port with a provides port.
| uses_component | The component that have the uses port. |
| uses_port_name | uses port's name. |
| provides_component | The component that have the provides port. |
| provides_port_name | provides port's name. |
| void Engines::ConnectionManager::disconnect | ( | in connectionId | id, |
| in Engines::DSC::Message | message | ||
| ) | raises (Engines::ConnectionManager::BadId, Engines::DSC::PortNotDefined, Engines::DSC::PortNotConnected, Engines::DSC::BadPortReference) |
Release a connection that has been previously created by the ConnectionManager.
| id | The id of the connection previously gived by the connect operation of the ConnectionManager. |
| message | state associated with the disconnection. |
| Engines::ConnectionManager::BadId |
| long Engines::ConnectionManager::getPID | ( | ) |
Return the PID of the connection manager.
| oneway void Engines::ConnectionManager::ShutdownWithExit | ( | ) |
Shutdown the ConnectionManager process.