minos.networks.decorators.definitions.broker module

class minos.networks.decorators.definitions.broker.BrokerCommandEnrouteDecorator(topic)[source]

Bases: minos.networks.decorators.definitions.broker.BrokerEnrouteDecorator

Broker Command Enroute class

KIND: Final[minos.networks.decorators.definitions.kinds.EnrouteDecoratorKind] = 1
__init__(topic)
property post_fn_name: str

Get the post execution function name.

Return type

str

Returns

A string value containing the function name.

property pre_fn_name: str

Get the pre execution function name.

Return type

str

Returns

A string value containing the function name.

class minos.networks.decorators.definitions.broker.BrokerEnrouteDecorator(topic)[source]

Bases: minos.networks.decorators.definitions.abc.EnrouteDecorator, abc.ABC

Broker Enroute class

KIND: Final[minos.networks.decorators.definitions.kinds.EnrouteDecoratorKind]
__init__(topic)[source]
property post_fn_name: str

Get the post execution function name.

Return type

str

Returns

A string value containing the function name.

property pre_fn_name: str

Get the pre execution function name.

Return type

str

Returns

A string value containing the function name.

class minos.networks.decorators.definitions.broker.BrokerEventEnrouteDecorator(topic)[source]

Bases: minos.networks.decorators.definitions.broker.BrokerEnrouteDecorator

Broker Event Enroute class

KIND: Final[minos.networks.decorators.definitions.kinds.EnrouteDecoratorKind] = 3
__init__(topic)
property post_fn_name: str

Get the post execution function name.

Return type

str

Returns

A string value containing the function name.

property pre_fn_name: str

Get the pre execution function name.

Return type

str

Returns

A string value containing the function name.

class minos.networks.decorators.definitions.broker.BrokerQueryEnrouteDecorator(topic)[source]

Bases: minos.networks.decorators.definitions.broker.BrokerEnrouteDecorator

Broker Query Enroute class

KIND: Final[minos.networks.decorators.definitions.kinds.EnrouteDecoratorKind] = 2
__init__(topic)
property post_fn_name: str

Get the post execution function name.

Return type

str

Returns

A string value containing the function name.

property pre_fn_name: str

Get the pre execution function name.

Return type

str

Returns

A string value containing the function name.