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

Class RemoteSession

source code

 object --+        
          |        
sock.Socket --+    
              |    
  RemoteConnect --+
                  |
                 RemoteSession

Handles the server side of one connection. Enqueues RemoteMsgs for processing on its own thread; you call session.process_one() frequently on the appropriate thread.

Instance Methods [hide private]
 
__init__(self, sock, async=True, main_globals=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
do_exec(self, msg) source code
 
do_eval(self, msg) source code
 
do_array(self, msg) source code
 
do_string(self, msg) source code
 
do_get_array(self, msg) source code
 
process_one(self, block=False, run_on_thread=<__builtin__.function object>)
Processes and answers at most one message; returns False if there are none.
source code

Inherited from RemoteConnect: msgIsNull, msgNonNull, readMsg, sendMsg

Inherited from sock.Socket: __del__, done, readBlock, readLine, readerThread, recvMsg, sendBlock, stop

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

Instance Variables [hide private]

Inherited from sock.Socket: sock

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

source code 

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

Overrides: object.__init__
(inherited documentation)