minos.networks.decorators.definitions.broker

Classes

BrokerCommandEnrouteDecorator

Broker Command Enroute class

BrokerEnrouteDecorator

Broker Enroute class

BrokerEventEnrouteDecorator

Broker Event Enroute class

BrokerQueryEnrouteDecorator

Broker Query Enroute class

class BrokerEnrouteDecorator[source]

Bases: EnrouteDecorator, ABC

Broker Enroute class

__init__(topic, **kwargs)[source]
Parameters

topic (str) –

property post_fn_name: str

Get the post execution function name.

Returns

A string value containing the function name.

property pre_fn_name: str

Get the pre execution function name.

Returns

A string value containing the function name.

KIND: Final[minos.networks.decorators.definitions.kinds.EnrouteDecoratorKind]
class BrokerCommandEnrouteDecorator[source]

Bases: BrokerEnrouteDecorator

Broker Command Enroute class

KIND: Final[minos.networks.decorators.definitions.kinds.EnrouteDecoratorKind] = 1
__init__(topic, **kwargs)
Parameters

topic (str) –

property post_fn_name: str

Get the post execution function name.

Returns

A string value containing the function name.

property pre_fn_name: str

Get the pre execution function name.

Returns

A string value containing the function name.

class BrokerQueryEnrouteDecorator[source]

Bases: BrokerEnrouteDecorator

Broker Query Enroute class

KIND: Final[minos.networks.decorators.definitions.kinds.EnrouteDecoratorKind] = 2
__init__(topic, **kwargs)
Parameters

topic (str) –

property post_fn_name: str

Get the post execution function name.

Returns

A string value containing the function name.

property pre_fn_name: str

Get the pre execution function name.

Returns

A string value containing the function name.

class BrokerEventEnrouteDecorator[source]

Bases: BrokerEnrouteDecorator

Broker Event Enroute class

KIND: Final[minos.networks.decorators.definitions.kinds.EnrouteDecoratorKind] = 3
__init__(topic, **kwargs)
Parameters

topic (str) –

property post_fn_name: str

Get the post execution function name.

Returns

A string value containing the function name.

property pre_fn_name: str

Get the pre execution function name.

Returns

A string value containing the function name.