public void send_fetchRequest(string functionName)
        {
            oprot_.WriteMessageBegin(new TMessage("fetchRequest", TMessageType.Call, seqid_));
            fetchRequest_args args = new fetchRequest_args();

            args.FunctionName = functionName;
            args.Write(oprot_);
            oprot_.WriteMessageEnd();
            oprot_.Transport.Flush();
        }
Esempio n. 2
0
        public void send_fetchRequest(string functionName)
    #endif
        {
            oprot_.WriteMessageBegin(new TMessage("fetchRequest", TMessageType.Call, seqid_));
            fetchRequest_args args = new fetchRequest_args();

            args.FunctionName = functionName;
            args.Write(oprot_);
            oprot_.WriteMessageEnd();
      #if SILVERLIGHT
            return(oprot_.Transport.BeginFlush(callback, state));
      #else
            oprot_.Transport.Flush();
      #endif
        }
Esempio n. 3
0
        public void fetchRequest_Process(int seqid, TProtocol iprot, TProtocol oprot)
        {
            fetchRequest_args args = new fetchRequest_args();

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

            try {
                result.Success = iface_.fetchRequest(args.FunctionName);
            } catch (AuthorizationException aze) {
                result.Aze = aze;
            }
            oprot.WriteMessageBegin(new TMessage("fetchRequest", TMessageType.Reply, seqid));
            result.Write(oprot);
            oprot.WriteMessageEnd();
            oprot.Transport.Flush();
        }
 public void fetchRequest_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   fetchRequest_args args = new fetchRequest_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   fetchRequest_result result = new fetchRequest_result();
   try {
     result.Success = iface_.fetchRequest(args.FunctionName);
   } catch (AuthorizationException aze) {
     result.Aze = aze;
   }
   oprot.WriteMessageBegin(new TMessage("fetchRequest", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
 public void send_fetchRequest(string functionName)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("fetchRequest", TMessageType.Call, seqid_));
   fetchRequest_args args = new fetchRequest_args();
   args.FunctionName = functionName;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }