public void recv_registerBuddyUserid() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } registerBuddyUserid_result result = new registerBuddyUserid_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.e) { throw result.E; } return; }
public void registerBuddyUserid_Process(int seqid, TProtocol iprot, TProtocol oprot) { registerBuddyUserid_args args = new registerBuddyUserid_args(); args.Read(iprot); iprot.ReadMessageEnd(); registerBuddyUserid_result result = new registerBuddyUserid_result(); try { iface_.registerBuddyUserid(args.Seq, args.Userid); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("registerBuddyUserid", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }