示例#1
0
            public void GetAllBooks_Process(int seqid, TProtocol iprot, TProtocol oprot)
            {
                GetAllBooks_args args = new GetAllBooks_args();

                args.Read(iprot);
                iprot.ReadMessageEnd();
                GetAllBooks_result result = new GetAllBooks_result();

                result.Success = iface_.GetAllBooks();
                oprot.WriteMessageBegin(new TMessage("GetAllBooks", TMessageType.Reply, seqid));
                result.Write(oprot);
                oprot.WriteMessageEnd();
                oprot.Transport.Flush();
            }
示例#2
0
            public void send_GetAllBooks()
      #endif
            {
                oprot_.WriteMessageBegin(new TMessage("GetAllBooks", TMessageType.Call, seqid_));
                GetAllBooks_args args = new GetAllBooks_args();

                args.Write(oprot_);
                oprot_.WriteMessageEnd();
        #if SILVERLIGHT
                return(oprot_.Transport.BeginFlush(callback, state));
        #else
                oprot_.Transport.Flush();
        #endif
            }