Example #1
0
            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();
            }
Example #2
0
            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));
            }