(self)
| 75 | self._oprot.trans.flush() |
| 76 | |
| 77 | def recv_execute(self): |
| 78 | iprot = self._iprot |
| 79 | (fname, mtype, rseqid) = iprot.readMessageBegin() |
| 80 | if mtype == TMessageType.EXCEPTION: |
| 81 | x = TApplicationException() |
| 82 | x.read(iprot) |
| 83 | iprot.readMessageEnd() |
| 84 | raise x |
| 85 | result = execute_result() |
| 86 | result.read(iprot) |
| 87 | iprot.readMessageEnd() |
| 88 | if result.success is not None: |
| 89 | return result.success |
| 90 | if result.e is not None: |
| 91 | raise result.e |
| 92 | if result.aze is not None: |
| 93 | raise result.aze |
| 94 | raise TApplicationException(TApplicationException.MISSING_RESULT, "execute failed: unknown result") |
| 95 | |
| 96 | |
| 97 | class Processor(Iface, TProcessor): |
no test coverage detected