pip_services3_commons.run.IOpenable module

pip_services3_commons.run.IOpenable

Interface for openable components

copyright

Conceptual Vision Consulting LLC 2018-2019, see AUTHORS for more details.

license

MIT, see LICENSE for more details.

class pip_services3_commons.run.IOpenable.IOpenable

Bases: pip_services3_commons.run.IClosable.IClosable

Interface for components that require explicit opening and closing. For components that perform opening on demand consider using IClosable interface instead.

is_open()bool

Checks if the component is opened.

Returns

true if the component has been opened and false otherwise.

open(correlation_id: Optional[str, None])

Opens the component.

Parameters

correlation_id – (optional) transaction id to trace execution through call chain.