public void send_registerBuddyUser(string buddyId, string registrarPassword) #endif { oprot_.WriteMessageBegin(new TMessage("registerBuddyUser", TMessageType.Call, seqid_)); registerBuddyUser_args args = new registerBuddyUser_args(); args.BuddyId = buddyId; args.RegistrarPassword = registrarPassword; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void registerBuddyUser_Process(int seqid, TProtocol iprot, TProtocol oprot) { registerBuddyUser_args args = new registerBuddyUser_args(); args.Read(iprot); iprot.ReadMessageEnd(); registerBuddyUser_result result = new registerBuddyUser_result(); try { result.Success = iface_.registerBuddyUser(args.BuddyId, args.RegistrarPassword); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("registerBuddyUser", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }