public void send_Delete(int id) { oprot_.WriteMessageBegin(new TMessage("Delete", TMessageType.Call, seqid_)); Delete_args args = new Delete_args(); args.Id = id; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public IAsyncResult send_Delete(AsyncCallback callback, object state, int id) { oprot_.WriteMessageBegin(new TMessage("Delete", TMessageType.Call, seqid_)); Delete_args args = new Delete_args(); args.Id = id; args.Write(oprot_); oprot_.WriteMessageEnd(); return(oprot_.Transport.BeginFlush(callback, state)); }