Beispiel #1
0
 def recv_getSnsMyProfile(self):
     iprot = self._iprot
     (fname, mtype, rseqid) = iprot.readMessageBegin()
     if mtype == TMessageType.EXCEPTION:
         x = TApplicationException()
         x.read(iprot)
         iprot.readMessageEnd()
         raise x
     result = getSnsMyProfile_result()
     result.read(iprot)
     iprot.readMessageEnd()
     if result.success is not None:
         return result.success
     if result.e is not None:
         raise result.e
     raise TApplicationException(TApplicationException.MISSING_RESULT,
                                 "getSnsMyProfile failed: unknown result")
Beispiel #2
0
 def recv_retrieveOpenIdAuthUrlWithDocomo(self):
     iprot = self._iprot
     (fname, mtype, rseqid) = iprot.readMessageBegin()
     if mtype == TMessageType.EXCEPTION:
         x = TApplicationException()
         x.read(iprot)
         iprot.readMessageEnd()
         raise x
     result = retrieveOpenIdAuthUrlWithDocomo_result()
     result.read(iprot)
     iprot.readMessageEnd()
     if result.success is not None:
         return result.success
     if result.e is not None:
         raise result.e
     raise TApplicationException(
         TApplicationException.MISSING_RESULT,
         "retrieveOpenIdAuthUrlWithDocomo failed: unknown result")
Beispiel #3
0
 def recv_notifyLeaveGroup(self):
     iprot = self._iprot
     (fname, mtype, rseqid) = iprot.readMessageBegin()
     if mtype == TMessageType.EXCEPTION:
         x = TApplicationException()
         x.read(iprot)
         iprot.readMessageEnd()
         raise x
     result = notifyLeaveGroup_result()
     result.read(iprot)
     iprot.readMessageEnd()
     if result.e is not None:
         raise result.e
     return
Beispiel #4
0
 def recv_sendChatCheckedByWatermark(self):
     iprot = self._iprot
     (fname, mtype, rseqid) = iprot.readMessageBegin()
     if mtype == TMessageType.EXCEPTION:
         x = TApplicationException()
         x.read(iprot)
         iprot.readMessageEnd()
         raise x
     result = sendChatCheckedByWatermark_result()
     result.read(iprot)
     iprot.readMessageEnd()
     if result.e is not None:
         raise result.e
     return
Beispiel #5
0
 def process(self, iprot, oprot):
     (name, type, seqid) = iprot.readMessageBegin()
     if name not in self._processMap:
         iprot.skip(TType.STRUCT)
         iprot.readMessageEnd()
         x = TApplicationException(TApplicationException.UNKNOWN_METHOD, 'Unknown function %s' % (name))
         oprot.writeMessageBegin(name, TMessageType.EXCEPTION, seqid)
         x.write(oprot)
         oprot.writeMessageEnd()
         oprot.trans.flush()
         return
     else:
         self._processMap[name](self, seqid, iprot, oprot)
     return True
 def recv_requestVirtualAccountPasswordSet(self):
     iprot = self._iprot
     (fname, mtype, rseqid) = iprot.readMessageBegin()
     if mtype == TMessageType.EXCEPTION:
         x = TApplicationException()
         x.read(iprot)
         iprot.readMessageEnd()
         raise x
     result = requestVirtualAccountPasswordSet_result()
     result.read(iprot)
     iprot.readMessageEnd()
     if result.e is not None:
         raise result.e
     return
Beispiel #7
0
 def recv_postSnsInvitationMessage(self):
     iprot = self._iprot
     (fname, mtype, rseqid) = iprot.readMessageBegin()
     if mtype == TMessageType.EXCEPTION:
         x = TApplicationException()
         x.read(iprot)
         iprot.readMessageEnd()
         raise x
     result = postSnsInvitationMessage_result()
     result.read(iprot)
     iprot.readMessageEnd()
     if result.e is not None:
         raise result.e
     return