enrobie.robie.members package#

Subpackages#

Submodules#

enrobie.robie.members.clients module#

Functions and routines associated with Enasis Network Chatting Robie.

This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.

class enrobie.robie.members.clients.RobieClients(service: RobieService)[source]#

Bases: RobieMember

Common methods and routines for Chatting Robie members.

build_threads() None[source]#

Construct instances using the configuration parameters.

Note

Deviates from enhomie in build happens downstream, because all of the enhomie members are origin based where enrobie children do not have consistent base.

property childs: dict[str, RobieClient]#

Return the value for the attribute from class instance.

Note

Deviates from enhomie in build happens downstream, because all of the enhomie members are origin based where enrobie children do not have consistent base.

Returns:

Value for the attribute from class instance.

operate() None[source]#

Perform the operation related to Robie service members.

enrobie.robie.members.member module#

Functions and routines associated with Enasis Network Chatting Robie.

This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.

class enrobie.robie.members.member.RobieMember(service: RobieService)[source]#

Bases: object

Common methods and routines for Chatting Robie members.

Parameters:

robie – Primary class instance for Chatting Robie.

build_threads() None[source]#

Construct instances using the configuration parameters.

Note

Deviates from enhomie in build happens downstream, because all of the enhomie members are origin based where enrobie children do not have consistent base.

property cancel: Event#

Return the value for the attribute from class instance.

Returns:

Value for the attribute from class instance.

property congest: list[tuple[str, int]]#

Return the list of congested threads and members queues.

Returns:

List of congested threads and members queues.

property cqueue: RobieQueue[RobieCommand]#

Return the value for the attribute from class instance.

Returns:

Value for the attribute from class instance.

property enqueue: list[tuple[str, int]]#

Return the list of congested threads and members queues.

Returns:

List of congested threads and members queues.

limit(names: list[str]) None[source]#

Remove the thread from member when not already started.

Note

Deviates from enhomie in build happens downstream, because all of the enhomie members are origin based where enrobie children do not have consistent base.

Parameters:

names – Names of the children that are permitted.

property mqueue: RobieQueue[RobieMessage]#

Return the value for the attribute from class instance.

Returns:

Value for the attribute from class instance.

operate() None[source]#

Perform the operation related to Robie service members.

property robie: Robie#

Return the Robie instance to which the instance belongs.

Returns:

Robie instance to which the instance belongs.

property running: list[str]#

Return the list of threads which are determined running.

Returns:

List of threads which are determined running.

property service: RobieService#

Return the Robie instance to which the instance belongs.

Returns:

Robie instance to which the instance belongs.

soft() None[source]#

Stop the various threads within the Robie class object.

start() None[source]#

Start the various threads within the Robie class object.

stop() None[source]#

Stop the various threads within the Robie class object.

property threads: dict[str, RobieThread]#

Return the value for the attribute from class instance.

Returns:

Value for the attribute from class instance.

property vacate: Event#

Return the value for the attribute from class instance.

Returns:

Value for the attribute from class instance.

property zombies: list[str]#

Return the list of threads which are determined zombies.

Returns:

List of threads which are determined zombies.

enrobie.robie.members.plugins module#

Functions and routines associated with Enasis Network Chatting Robie.

This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.

class enrobie.robie.members.plugins.RobiePlugins(service: RobieService)[source]#

Bases: RobieMember

Common methods and routines for Chatting Robie members.

build_threads() None[source]#

Construct instances using the configuration parameters.

Note

Deviates from enhomie in build happens downstream, because all of the enhomie members are origin based where enrobie children do not have consistent base.

property childs: dict[str, RobiePlugin]#

Return the value for the attribute from class instance.

Note

Deviates from enhomie in build happens downstream, because all of the enhomie members are origin based where enrobie children do not have consistent base.

Returns:

Value for the attribute from class instance.

operate() None[source]#

Perform the operation related to Robie service members.

Module contents#

Functions and routines associated with Enasis Network Chatting Robie.

This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.

class enrobie.robie.members.RobieClients(service: RobieService)[source]#

Bases: RobieMember

Common methods and routines for Chatting Robie members.

build_threads() None[source]#

Construct instances using the configuration parameters.

Note

Deviates from enhomie in build happens downstream, because all of the enhomie members are origin based where enrobie children do not have consistent base.

property childs: dict[str, RobieClient]#

Return the value for the attribute from class instance.

Note

Deviates from enhomie in build happens downstream, because all of the enhomie members are origin based where enrobie children do not have consistent base.

Returns:

Value for the attribute from class instance.

operate() None[source]#

Perform the operation related to Robie service members.

class enrobie.robie.members.RobieMember(service: RobieService)[source]#

Bases: object

Common methods and routines for Chatting Robie members.

Parameters:

robie – Primary class instance for Chatting Robie.

build_threads() None[source]#

Construct instances using the configuration parameters.

Note

Deviates from enhomie in build happens downstream, because all of the enhomie members are origin based where enrobie children do not have consistent base.

property cancel: Event#

Return the value for the attribute from class instance.

Returns:

Value for the attribute from class instance.

property congest: list[tuple[str, int]]#

Return the list of congested threads and members queues.

Returns:

List of congested threads and members queues.

property cqueue: RobieQueue[RobieCommand]#

Return the value for the attribute from class instance.

Returns:

Value for the attribute from class instance.

property enqueue: list[tuple[str, int]]#

Return the list of congested threads and members queues.

Returns:

List of congested threads and members queues.

limit(names: list[str]) None[source]#

Remove the thread from member when not already started.

Note

Deviates from enhomie in build happens downstream, because all of the enhomie members are origin based where enrobie children do not have consistent base.

Parameters:

names – Names of the children that are permitted.

property mqueue: RobieQueue[RobieMessage]#

Return the value for the attribute from class instance.

Returns:

Value for the attribute from class instance.

operate() None[source]#

Perform the operation related to Robie service members.

property robie: Robie#

Return the Robie instance to which the instance belongs.

Returns:

Robie instance to which the instance belongs.

property running: list[str]#

Return the list of threads which are determined running.

Returns:

List of threads which are determined running.

property service: RobieService#

Return the Robie instance to which the instance belongs.

Returns:

Robie instance to which the instance belongs.

soft() None[source]#

Stop the various threads within the Robie class object.

start() None[source]#

Start the various threads within the Robie class object.

stop() None[source]#

Stop the various threads within the Robie class object.

property threads: dict[str, RobieThread]#

Return the value for the attribute from class instance.

Returns:

Value for the attribute from class instance.

property vacate: Event#

Return the value for the attribute from class instance.

Returns:

Value for the attribute from class instance.

property zombies: list[str]#

Return the list of threads which are determined zombies.

Returns:

List of threads which are determined zombies.

class enrobie.robie.members.RobiePlugins(service: RobieService)[source]#

Bases: RobieMember

Common methods and routines for Chatting Robie members.

build_threads() None[source]#

Construct instances using the configuration parameters.

Note

Deviates from enhomie in build happens downstream, because all of the enhomie members are origin based where enrobie children do not have consistent base.

property childs: dict[str, RobiePlugin]#

Return the value for the attribute from class instance.

Note

Deviates from enhomie in build happens downstream, because all of the enhomie members are origin based where enrobie children do not have consistent base.

Returns:

Value for the attribute from class instance.

operate() None[source]#

Perform the operation related to Robie service members.