public void send_findContactByUserTicket(string ticketId) #endif { oprot_.WriteMessageBegin(new TMessage("findContactByUserTicket", TMessageType.Call, seqid_)); findContactByUserTicket_args args = new findContactByUserTicket_args(); args.TicketId = ticketId; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void findContactByUserTicket_Process(int seqid, TProtocol iprot, TProtocol oprot) { findContactByUserTicket_args args = new findContactByUserTicket_args(); args.Read(iprot); iprot.ReadMessageEnd(); findContactByUserTicket_result result = new findContactByUserTicket_result(); try { result.Success = iface_.findContactByUserTicket(args.TicketId); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("findContactByUserTicket", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }