Exemplo n.º 1
0
            public void send_Subscribe(Ruyi.SDK.Http.SubscribeRequest message)
            {
                oprot_.WriteMessageBegin(new TMessage("Subscribe", TMessageType.Call, seqid_));
                Subscribe_args args = new Subscribe_args();

                args.Message = message;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
                oprot_.Transport.Flush();
            }
Exemplo n.º 2
0
            public IAsyncResult send_Subscribe(AsyncCallback callback, object state, Ruyi.SDK.Http.SubscribeRequest message)
            {
                oprot_.WriteMessageBegin(new TMessage("Subscribe", TMessageType.Call, seqid_));
                Subscribe_args args = new Subscribe_args();

                args.Message = message;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
                return(oprot_.Transport.BeginFlush(callback, state));
            }
Exemplo n.º 3
0
            public void send_Subscribe(Ruyi.SDK.Http.SubscribeRequest message)
      #endif
            {
                oprot_.WriteMessageBegin(new TMessage("Subscribe", TMessageType.Call, seqid_));
                Subscribe_args args = new Subscribe_args();

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