コード例 #1
0
            public void getHands_Process(int seqid, TProtocol iprot, TProtocol oprot)
            {
                getHands_args args = new getHands_args();

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

                result.Success = iface_.getHands();
                oprot.WriteMessageBegin(new TMessage("getHands", TMessageType.Reply, seqid));
                result.Write(oprot);
                oprot.WriteMessageEnd();
                oprot.Transport.Flush();
            }
コード例 #2
0
            public void send_getHands()
      #endif
            {
                oprot_.WriteMessageBegin(new TMessage("getHands", TMessageType.Call, seqid_));
                getHands_args args = new getHands_args();

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