public void updateC2DMRegistrationId_Process(int seqid, TProtocol iprot, TProtocol oprot) { updateC2DMRegistrationId_args args = new updateC2DMRegistrationId_args(); args.Read(iprot); iprot.ReadMessageEnd(); updateC2DMRegistrationId_result result = new updateC2DMRegistrationId_result(); try { iface_.updateC2DMRegistrationId(args.RegistrationId); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("updateC2DMRegistrationId", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void recv_updateC2DMRegistrationId() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } updateC2DMRegistrationId_result result = new updateC2DMRegistrationId_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.e) { throw result.E; } return; }