Esempio n. 1
0
            public void send_notify(string message)
            {
                oprot_.WriteMessageBegin(new TMessage("notify", TMessageType.Call, seqid_));
                notify_args args = new notify_args();

                args.Message = message;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
                oprot_.Transport.Flush();
            }
Esempio n. 2
0
            public IAsyncResult send_notify(AsyncCallback callback, object state, string message)
            {
                oprot_.WriteMessageBegin(new TMessage("notify", TMessageType.Call, seqid_));
                notify_args args = new notify_args();

                args.Message = message;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
                return(oprot_.Transport.BeginFlush(callback, state));
            }
Esempio n. 3
0
        public void send_notify(GlobalEvent @event)
        {
            oprot_.WriteMessageBegin(new TMessage("notify", TMessageType.Call, seqid_));
            notify_args args = new notify_args();

            args.Event = @event;
            args.Write(oprot_);
            oprot_.WriteMessageEnd();
            oprot_.Transport.Flush();
        }
        public void send_notify(GlobalEvent @event)
    #endif
        {
            oprot_.WriteMessageBegin(new TMessage("notify", TMessageType.Call, seqid_));
            notify_args args = new notify_args();

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