Connector class representing the connection of two Ports.
:param in_port: Left-hand side in_port :type in_port: InPort :param out_port: Right-hand side out_port :type out_port: OutPort
Attributes
left_port_name: str
left_process: ProcessModel
right_port_name: str
right_process: ProcessModel
Functions
Initialize self. See help(type(self)) for accurate signature.
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
left_process | ProcessModel | ||
right_process | ProcessModel | ||
left_port_name | str | ||
right_port_name | str | ||
check_compatiblity | bool | True |
return true if the connector is connected to the process model
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
process_model | ProcessModel |
Return type:
bool |
return true if the left side is the specified process connected to the specified port
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
process_model_name | str | ||
port_name | str |
Return type:
bool |
return true if the right side is the specified process connected to the specified port
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
process_model_name | str | ||
port_name | str |
Return type:
bool |
Propagate the resource from the output port to the input port.
Return type:
bool |
reset the right port
Return type:
ConnectorDTO |