oslo_privsep.comm
Module¶Serialization/Deserialization for privsep.
The wire format is a stream of msgpack objects encoding primitive python datatypes. Msgpack ‘raw’ is assumed to be a valid utf8 string (msgpack 2.0 ‘bin’ type is used for bytes). Python lists are converted to tuples during serialization/deserialization.
oslo_privsep.comm.
ClientChannel
(sock)¶Bases: object
close
()¶out_of_band
(msg)¶Received OOB message. Subclasses might want to override this.
send_recv
(msg)¶oslo_privsep.comm.
Deserializer
(readsock)¶Bases: object
oslo_privsep.comm.
Future
(lock)¶Bases: object
A very simple object to track the return of a function call
result
()¶Must already be holding lock used in constructor
set_exception
(exc)¶Must already be holding lock used in constructor
set_result
(data)¶Must already be holding lock used in constructor
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.