Ejemplo n.º 1
0
 public void getPremiumInfo_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getPremiumInfo_args args = new getPremiumInfo_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getPremiumInfo_result result = new getPremiumInfo_result();
   try {
     result.Success = iface_.getPremiumInfo(args.AuthenticationToken);
   } catch (Evernote.EDAM.Error.EDAMUserException userException) {
     result.UserException = userException;
   } catch (Evernote.EDAM.Error.EDAMSystemException systemException) {
     result.SystemException = systemException;
   }
   oprot.WriteMessageBegin(new TMessage("getPremiumInfo", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Ejemplo n.º 2
0
 public void send_getPremiumInfo(string authenticationToken)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getPremiumInfo", TMessageType.Call, seqid_));
   getPremiumInfo_args args = new getPremiumInfo_args();
   args.AuthenticationToken = authenticationToken;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }