public void send_removeBuddyLocation(string mid, int index) #endif { oprot_.WriteMessageBegin(new TMessage("removeBuddyLocation", TMessageType.Call, seqid_)); removeBuddyLocation_args args = new removeBuddyLocation_args(); args.Mid = mid; args.Index = index; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void removeBuddyLocation_Process(int seqid, TProtocol iprot, TProtocol oprot) { removeBuddyLocation_args args = new removeBuddyLocation_args(); args.Read(iprot); iprot.ReadMessageEnd(); removeBuddyLocation_result result = new removeBuddyLocation_result(); try { iface_.removeBuddyLocation(args.Mid, args.Index); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("removeBuddyLocation", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }