예제 #1
0
 public void send_getRSAKeyInfo(IdentityProvider provider)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getRSAKeyInfo", TMessageType.Call, seqid_));
   getRSAKeyInfo_args args = new getRSAKeyInfo_args();
   args.Provider = provider;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
예제 #2
0
 public void getRSAKeyInfo_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getRSAKeyInfo_args args = new getRSAKeyInfo_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getRSAKeyInfo_result result = new getRSAKeyInfo_result();
   try {
     result.Success = iface_.getRSAKeyInfo(args.Provider);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("getRSAKeyInfo", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }