aea.registries.filter

This module contains registries.

Filter Objects

class Filter()

This class implements the filter of an AEA.

__init__

 | __init__(resources: Resources, decision_maker_out_queue: Queue)

Instantiate the filter.

Arguments:

  • resources: the resources
  • decision_maker_out_queue: the decision maker queue

resources

 | @property
 | resources() -> Resources

Get resources.

decision_maker_out_queue

 | @property
 | decision_maker_out_queue() -> Queue

Get decision maker (out) queue.

get_active_handlers

 | get_active_handlers(protocol_id: PublicId, skill_id: Optional[SkillId]) -> List[Handler]

Get active handlers based on protocol id and optional skill id.

Arguments:

  • protocol_id: the protocol id
  • skill_id: the skill id

Returns:

the list of handlers currently active

get_active_behaviours

 | get_active_behaviours() -> List[Behaviour]

Get the active behaviours.

Returns:

the list of behaviours currently active

handle_internal_messages

 | handle_internal_messages() -> None

Handle the messages from the decision maker.

Returns:

None