Example #1
0
        public void zip_Process(int seqid, TProtocol iprot, TProtocol oprot)
        {
            zip_args args = new zip_args();

            args.Read(iprot);
            iprot.ReadMessageEnd();
            iface_.zip();
            return;
        }
            public void send_zip()
            {
                oprot_.WriteMessageBegin(new TMessage("zip", TMessageType.Call, seqid_));
                zip_args args = new zip_args();

                args.Write(oprot_);
                oprot_.WriteMessageEnd();
                oprot_.Transport.Flush();
            }
Example #3
0
        public void send_zip()
    #endif
        {
            oprot_.WriteMessageBegin(new TMessage("zip", TMessageType.Oneway, seqid_));
            zip_args args = new zip_args();

            args.Write(oprot_);
            oprot_.WriteMessageEnd();
      #if SILVERLIGHT
            return(oprot_.Transport.BeginFlush(callback, state));
      #else
            oprot_.Transport.Flush();
      #endif
        }
Example #4
0
        public void zip_Process(int seqid, TProtocol iprot, TProtocol oprot)
        {
            zip_args args = new zip_args();

            args.Read(iprot);
            iprot.ReadMessageEnd();
            try
            {
                iface_.zip();
            }
            catch (TTransportException)
            {
                throw;
            }
            catch (Exception ex)
            {
                Console.Error.WriteLine("Error occurred in processor:");
                Console.Error.WriteLine(ex.ToString());
            }
        }
 public void zip_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   zip_args args = new zip_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   iface_.zip();
   return;
 }
 public void send_zip()
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("zip", TMessageType.Oneway, seqid_));
   zip_args args = new zip_args();
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
 public void send_zip()
 {
     oprot_.WriteMessageBegin(new TMessage("zip", TMessageType.Call, seqid_));
     zip_args args = new zip_args();
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }