Ejemplo 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();
            }
Ejemplo 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));
            }
Ejemplo 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
        }