Ejemplo n.º 1
0
            public void MakeDecision_Process(int seqid, TProtocol iprot, TProtocol oprot)
            {
                MakeDecision_args args = new MakeDecision_args();

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

                result.Success = iface_.MakeDecision();
                oprot.WriteMessageBegin(new TMessage("MakeDecision", TMessageType.Reply, seqid));
                result.Write(oprot);
                oprot.WriteMessageEnd();
                oprot.Transport.Flush();
            }
Ejemplo n.º 2
0
            public void send_MakeDecision()
      #endif
            {
                oprot_.WriteMessageBegin(new TMessage("MakeDecision", TMessageType.Call, seqid_));
                MakeDecision_args args = new MakeDecision_args();

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