|
FreeRDP
|
Public Member Functions | |
| __init__ (self, int fd_in, int fd_out) | |
| read_message (self) | |
| None | send (self, dict message) |
Protected Attributes | |
| _in = os.fdopen(fd_in, "rb", buffering=0) | |
| _out = os.fdopen(fd_out, "wb", buffering=0) | |
| _out_lock = threading.Lock() | |
| str | _buf = b"" |
Newline-delimited JSON over the raw cmdIn/cmdOut pipe fds.
Definition at line 105 of file xdg-aad-helper.py.
| xdg-aad-helper.JsonRpcChannel.__init__ | ( | self, | |
| int | fd_in, | ||
| int | fd_out ) |
Definition at line 108 of file xdg-aad-helper.py.
| xdg-aad-helper.JsonRpcChannel.read_message | ( | self | ) |
Returns the next parsed JSON object, {} for an unparsable line
(silently ignored per the protocol notes), or None on EOF.
Definition at line 114 of file xdg-aad-helper.py.
References _buf, test_qt_aad_auth_helper.HelperProcess._in, _in, test_qt_aad_auth_helper.HelperProcess._out, _out, and _out_lock.
| None xdg-aad-helper.JsonRpcChannel.send | ( | self, | |
| dict | message ) |
Definition at line 130 of file xdg-aad-helper.py.
|
protected |
Definition at line 112 of file xdg-aad-helper.py.
Referenced by read_message().
|
protected |
Definition at line 109 of file xdg-aad-helper.py.
Referenced by read_message().
|
protected |
Definition at line 110 of file xdg-aad-helper.py.
Referenced by read_message().
|
protected |
Definition at line 111 of file xdg-aad-helper.py.
Referenced by read_message().