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
__init__
Initialize self. See help(type(self)) for accurate signature.
left_process :
ProcessModel
right_process :
ProcessModel
left_port_name :
str
right_port_name :
str
check_compatiblity :
bool
- True
is_connected_to
return true if the connector is connected to the process model
process_model :
ProcessModel
Return type :
bool
is_left_connected_to
return true if the left side is the specified process connected to the specified port
process_model_name :
str
port_name :
str
Return type :
bool
is_right_connected_to
return true if the right side is the specified process connected to the specified port
process_model_name :
str
port_name :
str
Return type :
bool
propagate_resource
Propagate the resource from the output port to the input port.
Return type :
bool
reset_right_port
reset the right port
to_dto
Return type :
ConnectorDTO