public void send_Create(Person person) { oprot_.WriteMessageBegin(new TMessage("Create", TMessageType.Call, seqid_)); Create_args args = new Create_args(); args.Person = person; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public IAsyncResult send_Create(AsyncCallback callback, object state, Person person) { oprot_.WriteMessageBegin(new TMessage("Create", TMessageType.Call, seqid_)); Create_args args = new Create_args(); args.Person = person; args.Write(oprot_); oprot_.WriteMessageEnd(); return(oprot_.Transport.BeginFlush(callback, state)); }