Interface of the ConnectionManager.
More...
import"DSC_Engines.idl";
|
exception | BadId |
| The Id given to the disconnect method is bad. 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).
◆ connectionId
A connection Id. It's unique.
◆ connect()
Connect a uses port with a provides port.
- Parameters
-
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. |
- Exceptions
-
- Returns
- the id of the connection that the ConnectionManager will use to release this connection when the framework (or a user script, ...) will call ConnectionManager::disconnect.
◆ disconnect()
Release a connection that has been previously created by the ConnectionManager.
- Parameters
-
id | The id of the connection previously given by the connect operation of the ConnectionManager. |
message | state associated with the disconnection. |
- Exceptions
-
◆ getPID()
long Engines::ConnectionManager::getPID |
( |
| ) |
|
Return the PID of the connection manager.
◆ ShutdownWithExit()
oneway void Engines::ConnectionManager::ShutdownWithExit |
( |
| ) |
|