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