public void send_Transfer(string message) { oprot_.WriteMessageBegin(new TMessage("Transfer", TMessageType.Call, seqid_)); Transfer_args args = new Transfer_args(); args.Message = message; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public IAsyncResult send_Transfer(AsyncCallback callback, object state, string message) { oprot_.WriteMessageBegin(new TMessage("Transfer", TMessageType.Call, seqid_)); Transfer_args args = new Transfer_args(); args.Message = message; args.Write(oprot_); oprot_.WriteMessageEnd(); return(oprot_.Transport.BeginFlush(callback, state)); }