enrobie.robie.threads package#
Subpackages#
Submodules#
enrobie.robie.threads.client 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.threads.client.RobieClientThread(member: RobieMember, child: RobieOperate)[source]#
Bases:
RobieThread
Common methods and routines for Chatting Robie threads.
- property child: RobieClient#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- property client: RobieClient#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- property member: RobieClients#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
enrobie.robie.threads.plugin 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.threads.plugin.RobiePluginThread(member: RobieMember, child: RobieOperate)[source]#
Bases:
RobieThread
Common methods and routines for Chatting Robie threads.
- property child: RobiePlugin#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- property member: RobiePlugins#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- property plugin: RobiePlugin#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
enrobie.robie.threads.thread 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.threads.thread.RobieThread(member: RobieMember, child: RobieOperate)[source]#
Bases:
Thread
Common methods and routines for Chatting Robie threads.
- Parameters:
member – Child class instance for Chatting Robie.
child – Child class instance for Chatting Robie.
- property child: RobieOperate#
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.
- expired(item: RobieMessage | RobieCommand) bool [source]#
Return the boolean indicating whether the item expired.
- Parameters:
item – Item containing information for operation.
- Returns:
Boolean indicating whether the item expired.
- property member: RobieMember#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- property mqueue: RobieQueue[RobieMessage]#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- property robie: Robie#
Return the Robie instance to which the instance belongs.
- Returns:
Robie instance to which the instance belongs.
- property service: RobieService#
Return the Robie instance to which the instance belongs.
- Returns:
Robie instance to which the instance belongs.
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.threads.RobieClientThread(member: RobieMember, child: RobieOperate)[source]#
Bases:
RobieThread
Common methods and routines for Chatting Robie threads.
- property child: RobieClient#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- property client: RobieClient#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- property member: RobieClients#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- class enrobie.robie.threads.RobiePluginThread(member: RobieMember, child: RobieOperate)[source]#
Bases:
RobieThread
Common methods and routines for Chatting Robie threads.
- property child: RobiePlugin#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- property member: RobiePlugins#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- property plugin: RobiePlugin#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- class enrobie.robie.threads.RobieThread(member: RobieMember, child: RobieOperate)[source]#
Bases:
Thread
Common methods and routines for Chatting Robie threads.
- Parameters:
member – Child class instance for Chatting Robie.
child – Child class instance for Chatting Robie.
- property child: RobieOperate#
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.
- expired(item: RobieMessage | RobieCommand) bool [source]#
Return the boolean indicating whether the item expired.
- Parameters:
item – Item containing information for operation.
- Returns:
Boolean indicating whether the item expired.
- property member: RobieMember#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- property mqueue: RobieQueue[RobieMessage]#
Return the value for the attribute from class instance.
- Returns:
Value for the attribute from class instance.
- property robie: Robie#
Return the Robie instance to which the instance belongs.
- Returns:
Robie instance to which the instance belongs.
- property service: RobieService#
Return the Robie instance to which the instance belongs.
- Returns:
Robie instance to which the instance belongs.