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

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

            result.Success = iface_.UpdateRealtimeCmp(args.Info, args.Channelname);
            oprot.WriteMessageBegin(new TMessage("UpdateRealtimeCmp", TMessageType.Reply, seqid));
            result.Write(oprot);
            oprot.WriteMessageEnd();
            oprot.Transport.Flush();
        }
Ejemplo n.º 2
0
        public void send_UpdateRealtimeCmp(RealtimeCmpInfo info, string channelname)
    #endif
        {
            oprot_.WriteMessageBegin(new TMessage("UpdateRealtimeCmp", TMessageType.Call, seqid_));
            UpdateRealtimeCmp_args args = new UpdateRealtimeCmp_args();

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