def unknownMessageType(self, header, body): bclone = vb_clone(body) tself.messages.append(('unk_msg', header, unvb(bclone))) CDP.unknownMessageType(self, header, body)
def on_header_data_added(self, type_, ts, flags, data): log.debug('=> %s, %s, %s, %s, %s', ts, type_, flags, self._nstream.id, len(data)) self._nstream.send(0, type_, vb_clone(data))
def data_callback(gp, flags, data): return writer.write(type_, gp, flags, vb_clone(data))