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

Class RemoteConnect

source code

 object --+    
          |    
sock.Socket --+
              |
             RemoteConnect
Known Subclasses:

Reads and writes RemoteMsgs.

Instance Methods [hide private]
 
__init__(self, sock, async=True)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
msgNonNull(self)
Override this method to return a (simple) non-null message (for use as place-holder).
source code
 
msgIsNull(self, msg)
Override this method to return whether a message is null.
source code
 
sendMsg(self, msg)
Sends a RemoteMsg.
source code
 
readMsg(self)
Don't call this directly; use Socket.recvMsg.
source code

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)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

msgNonNull(self)

source code 

Override this method to return a (simple) non-null message (for use as place-holder).

Overrides: sock.Socket.msgNonNull
(inherited documentation)

msgIsNull(self, msg)

source code 

Override this method to return whether a message is null.

Overrides: sock.Socket.msgIsNull
(inherited documentation)

sendMsg(self, msg)

source code 

Sends a RemoteMsg. Does not catch any potential socket.error s.

Overrides: sock.Socket.sendMsg

readMsg(self)

source code 

Don't call this directly; use Socket.recvMsg.

Overrides: sock.Socket.readMsg