Esempio n. 1
0
        public void send_getValues()
    #endif
        {
            oprot_.WriteMessageBegin(new TMessage("getValues", TMessageType.Call, seqid_));
            getValues_args args = new getValues_args();

            args.Write(oprot_);
            oprot_.WriteMessageEnd();
      #if SILVERLIGHT
            return(oprot_.Transport.BeginFlush(callback, state));
      #else
            oprot_.Transport.Flush();
      #endif
        }
Esempio n. 2
0
        public void getValues_Process(int seqid, TProtocol iprot, TProtocol oprot)
        {
            getValues_args args = new getValues_args();

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

            try {
                result.Success = iface_.getValues();
            } catch (Error err) {
                result.Err = err;
            }
            oprot.WriteMessageBegin(new TMessage("getValues", TMessageType.Reply, seqid));
            result.Write(oprot);
            oprot.WriteMessageEnd();
            oprot.Transport.Flush();
        }