class documentation
class FdTransport(object):
Low-level transport class that works on arbitrary file descriptors.
Unlike Transport
, this doesn't use timeouts.
Method | __init__ |
Constructor for the Client class. |
Method |
|
Send a message and wait for the response. |
Method |
|
Close the socket |
Method | close |
Undocumented |
Method |
|
Try to receive a message from the read part of the socket. |
Method |
|
Send a message. |
Method | _ |
Make sure we are connected. |
Instance Variable | _buffer |
Undocumented |
Instance Variable | _msgs |
Undocumented |
Instance Variable | _rstream |
Undocumented |
Instance Variable | _wstream |
Undocumented |
Constructor for the Client class.
Parameters | |
fds:pair of file descriptors | the file descriptor for reading (the first in the pair) and the file descriptor for writing (the second) |
timeouts:int | unused |
allow | unused |