qubx :: remote_ctl :: RemoteRunner :: Class RemoteRunner
[hide private]
[frames] | no frames]

Class RemoteRunner

source code

object --+
         |
        RemoteRunner

Manages servant sockets, wraps with RemoteSessions; you call .process_one() to get their work done.

To clean up (close remaining servants): .stop()

Instance Methods [hide private]
 
__init__(self, blocking=False, run_on_thread=<__builtin__.function object>, main_globals=None)
Raises socket.error if no ports available.
source code
 
manage(self, client) source code
 
__process(self)
Generator function to iterate over active connections; yielding after one job, or a full circle.
source code
 
stop(self)
Cleans up clients.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
  process_one
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, blocking=False, run_on_thread=<__builtin__.function object>, main_globals=None)
(Constructor)

source code 

Raises socket.error if no ports available.

Overrides: object.__init__