Esempio n. 1
0
 public void getTopologyInfoWithOpts_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getTopologyInfoWithOpts_args args = new getTopologyInfoWithOpts_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getTopologyInfoWithOpts_result result = new getTopologyInfoWithOpts_result();
   try {
     result.Success = iface_.getTopologyInfoWithOpts(args.Id, args.Options);
   } catch (NotAliveException e) {
     result.E = e;
   } catch (AuthorizationException aze) {
     result.Aze = aze;
   }
   oprot.WriteMessageBegin(new TMessage("getTopologyInfoWithOpts", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Esempio n. 2
0
 public void send_getTopologyInfoWithOpts(string id, GetInfoOptions options)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getTopologyInfoWithOpts", TMessageType.Call, seqid_));
   getTopologyInfoWithOpts_args args = new getTopologyInfoWithOpts_args();
   args.Id = id;
   args.Options = options;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }