public void send_search(string word) { oprot_.WriteMessageBegin(new TMessage("search", TMessageType.Call, seqid_)); search_args args = new search_args(); args.Word = word; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public IAsyncResult send_search(AsyncCallback callback, object state, string word) { oprot_.WriteMessageBegin(new TMessage("search", TMessageType.Call, seqid_)); search_args args = new search_args(); args.Word = word; args.Write(oprot_); oprot_.WriteMessageEnd(); return(oprot_.Transport.BeginFlush(callback, state)); }
public void send_search(Search search) #endif { oprot_.WriteMessageBegin(new TMessage("search", TMessageType.Call, seqid_)); search_args args = new search_args(); args.Search = search; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return(oprot_.Transport.BeginFlush(callback, state)); #else oprot_.Transport.Flush(); #endif }