コード例 #1
0
ファイル: SimpleCom.cs プロジェクト: isir/gretaUnity
            public void isStarted_Process(int seqid, TProtocol iprot, TProtocol oprot)
            {
                isStarted_args args = new isStarted_args();

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

                result.Success = iface_.isStarted();
                oprot.WriteMessageBegin(new TMessage("isStarted", TMessageType.Reply, seqid));
                result.Write(oprot);
                oprot.WriteMessageEnd();
                oprot.Transport.Flush();
            }
コード例 #2
0
ファイル: SimpleCom.cs プロジェクト: isir/gretaUnity
            public void send_isStarted()
      #endif
            {
                oprot_.WriteMessageBegin(new TMessage("isStarted", TMessageType.Call, seqid_));
                isStarted_args args = new isStarted_args();

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