Exemplo n.º 1
0
            public void send_Process(int seqid, TProtocol iprot, TProtocol oprot)
            {
                send_args args = new send_args();

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

                iface_.send(args.M);
                oprot.WriteMessageBegin(new TMessage("send", TMessageType.Reply, seqid));
                result.Write(oprot);
                oprot.WriteMessageEnd();
                oprot.Transport.Flush();
            }
Exemplo n.º 2
0
            public void send_send(Message m)
      #endif
            {
                oprot_.WriteMessageBegin(new TMessage("send", TMessageType.Call, seqid_));
                send_args args = new send_args();

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