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

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

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

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