Exemple #1
0
        public void flushCommands_Process(int seqid, TProtocol iprot, TProtocol oprot)
        {
            flushCommands_args args = new flushCommands_args();

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

            result.Success = iface_.flushCommands(args.FlushCommandsReq);
            oprot.WriteMessageBegin(new TMessage("flushCommands", TMessageType.Reply, seqid));
            result.Write(oprot);
            oprot.WriteMessageEnd();
            oprot.Transport.Flush();
        }
Exemple #2
0
        public void send_flushCommands(FlushCommandsRequest flushCommandsReq)
    #endif
        {
            oprot_.WriteMessageBegin(new TMessage("flushCommands", TMessageType.Call, seqid_));
            flushCommands_args args = new flushCommands_args();

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