Ejemplo n.º 1
0
 public void send_load(string prefix, string objectList)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("load", TMessageType.Call, seqid_));
   load_args args = new load_args();
   args.Prefix = prefix;
   args.ObjectList = objectList;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Ejemplo n.º 2
0
 public void load_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   load_args args = new load_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   load_result result = new load_result();
   iface_.load(args.Prefix, args.ObjectList);
   oprot.WriteMessageBegin(new TMessage("load", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }