python.dgbpy.deeplearning_apply_clientlib

Module Contents

Classes

Message

class python.dgbpy.deeplearning_apply_clientlib.Message(selector, sock, addr, request)
_set_selector_events_mask(self, mode)

Set selector to listen for events: mode is ‘r’, ‘w’, or ‘rw’.

_read(self)
_write(self)
_json_encode(self, obj, encoding)
_json_decode(self, json_bytes, encoding)
_array_encode(self, objs)
_array_decode(self, arrptr, shapes, dtypes)
_create_message(self, *, content_bytes, content_type, content_encoding, arrsize)
_process_response_json_content(self)
_process_response_array_content(self)
_process_response_binary_content(self)
process_events(self, mask)
read(self)
write(self)
close(self)
queue_request(self)
process_protoheader(self)
process_jsonheader(self)
process_response(self)