Welcome to rodario’s documentation!¶
Contents:
-
class
rodario.actors.
Actor
(uuid=None)¶ Base Actor class
Initialize the Actor object.
Parameters: uuid (str) – Optionally-provided UUID -
proxy
()¶ Wrap this Actor in an ActorProxy object.
Return type: rodario.actors.ActorProxy
-
start
()¶ Fire up the message handler thread.
-
stop
()¶ Kill the message handler thread.
-
-
class
rodario.actors.
ActorProxy
(actor=None, uuid=None)¶ Proxy object that fires calls to an actor over redis pubsub
Initialize instance of ActorProxy.
Accepts either an Actor object to clone or a UUID, but not both.
Parameters: - actor (rodario.actors.Actor) – Actor to clone
- uuid (str) – UUID of Actor to clone