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

Class RemoteController

source code

object --+
         |
        RemoteController

Instance Methods [hide private]
 
__init__(self, sock, async=True)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
reval(self, expr, block=True, timeout=None)
Evaluates expr on the remote side, returns the result as a string.
source code
 
rexec(self, buf, block=True, timeout=None)
Executes the Python script in buf on the remote side.
source code
 
set_array(self, arr, label, block=True, timeout=None)
Sends a numpy.array to the remote side, and assigns it to the remote identifier label.
source code
 
set_string(self, s, label, block=True, timeout=None)
Sends a string to the remote side, and assigns it to the remote identifier label.
source code
 
get_array(self, label, block=True, timeout=None)
Loads a numpy.array from the remote side, with the remote name label.
source code
 
__check_error(self, block=True, timeout=None) source code
 
stop(self)
Closes the connection to RemoteServer.
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, sock, async=True)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

reval(self, expr, block=True, timeout=None)

source code 

Evaluates expr on the remote side, returns the result as a string. Can raise RemoteError.

rexec(self, buf, block=True, timeout=None)

source code 

Executes the Python script in buf on the remote side. Can raise RemoteError.

get_array(self, label, block=True, timeout=None)

source code 

Loads a numpy.array from the remote side, with the remote name label. Can raise RemoteError.