示例#1
0
        public void send_storeDependencies(Dependencies dependencies)
    #endif
        {
            oprot_.WriteMessageBegin(new TMessage("storeDependencies", TMessageType.Call, seqid_));
            storeDependencies_args args = new storeDependencies_args();

            args.Dependencies = dependencies;
            args.Write(oprot_);
            oprot_.WriteMessageEnd();
      #if SILVERLIGHT
            return(oprot_.Transport.BeginFlush(callback, state));
      #else
            oprot_.Transport.Flush();
      #endif
        }
示例#2
0
        public void storeDependencies_Process(int seqid, TProtocol iprot, TProtocol oprot)
        {
            storeDependencies_args args = new storeDependencies_args();

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

            try {
                iface_.storeDependencies(args.Dependencies);
            } catch (StoreAggregatesException e) {
                result.E = e;
            }
            oprot.WriteMessageBegin(new TMessage("storeDependencies", TMessageType.Reply, seqid));
            result.Write(oprot);
            oprot.WriteMessageEnd();
            oprot.Transport.Flush();
        }
 public void storeDependencies_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   storeDependencies_args args = new storeDependencies_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   storeDependencies_result result = new storeDependencies_result();
   try {
     iface_.storeDependencies(args.Dependencies);
   } catch (StoreAggregatesException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("storeDependencies", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
 public void send_storeDependencies(Dependencies dependencies)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("storeDependencies", TMessageType.Call, seqid_));
   storeDependencies_args args = new storeDependencies_args();
   args.Dependencies = dependencies;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }