public void getSearchItems_Process(int seqid, TProtocol iprot, TProtocol oprot) { getSearchItems_args args = new getSearchItems_args(); args.Read(iprot); iprot.ReadMessageEnd(); getSearchItems_result result = new getSearchItems_result(); result.Success = iface_.getSearchItems(args.Table, args.Query, args.ColumnsToSearch, args.DisplayColumns); oprot.WriteMessageBegin(new TMessage("getSearchItems", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_getSearchItems(string table, string query, List<string> columnsToSearch, List<string> displayColumns) #endif { oprot_.WriteMessageBegin(new TMessage("getSearchItems", TMessageType.Call, seqid_)); getSearchItems_args args = new getSearchItems_args(); args.Table = table; args.Query = query; args.ColumnsToSearch = columnsToSearch; args.DisplayColumns = displayColumns; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }