public void send_newBookings(List <Rezervare> rezervari) { oprot_.WriteMessageBegin(new TMessage("newBookings", TMessageType.Call, seqid_)); newBookings_args args = new newBookings_args(); args.Rezervari = rezervari; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public IAsyncResult send_newBookings(AsyncCallback callback, object state, List <Rezervare> rezervari) { oprot_.WriteMessageBegin(new TMessage("newBookings", TMessageType.Call, seqid_)); newBookings_args args = new newBookings_args(); args.Rezervari = rezervari; args.Write(oprot_); oprot_.WriteMessageEnd(); return(oprot_.Transport.BeginFlush(callback, state)); }