MCPcopy Create free account
hub / github.com/apache/storm / recv_execute

Method recv_execute

storm-client/src/py/storm/DistributedRPC.py:77–94  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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
97class Processor(Iface, TProcessor):

Callers 1

executeMethod · 0.95

Calls 2

execute_resultClass · 0.70
readMethod · 0.45

Tested by

no test coverage detected