Exemplo n.º 1
0
 public void getLinkedNotebookSyncChunk_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getLinkedNotebookSyncChunk_args args = new getLinkedNotebookSyncChunk_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getLinkedNotebookSyncChunk_result result = new getLinkedNotebookSyncChunk_result();
   try {
     result.Success = iface_.getLinkedNotebookSyncChunk(args.AuthenticationToken, args.LinkedNotebook, args.AfterUSN, args.MaxEntries, args.FullSyncOnly);
   } catch (Evernote.EDAM.Error.EDAMUserException userException) {
     result.UserException = userException;
   } catch (Evernote.EDAM.Error.EDAMSystemException systemException) {
     result.SystemException = systemException;
   } catch (Evernote.EDAM.Error.EDAMNotFoundException notFoundException) {
     result.NotFoundException = notFoundException;
   }
   oprot.WriteMessageBegin(new TMessage("getLinkedNotebookSyncChunk", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Exemplo n.º 2
0
 public void send_getLinkedNotebookSyncChunk(string authenticationToken, Evernote.EDAM.Type.LinkedNotebook linkedNotebook, int afterUSN, int maxEntries, bool fullSyncOnly)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getLinkedNotebookSyncChunk", TMessageType.Call, seqid_));
   getLinkedNotebookSyncChunk_args args = new getLinkedNotebookSyncChunk_args();
   args.AuthenticationToken = authenticationToken;
   args.LinkedNotebook = linkedNotebook;
   args.AfterUSN = afterUSN;
   args.MaxEntries = maxEntries;
   args.FullSyncOnly = fullSyncOnly;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT || NETFX_CORE
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Exemplo n.º 3
0
 public void send_getLinkedNotebookSyncChunk(string authenticationToken, Evernote.EDAM.Type.LinkedNotebook linkedNotebook, int afterUSN, int maxEntries, bool fullSyncOnly)
 {
   oprot_.WriteMessageBegin(new TMessage("getLinkedNotebookSyncChunk", TMessageType.Call, seqid_));
   getLinkedNotebookSyncChunk_args args = new getLinkedNotebookSyncChunk_args();
   args.AuthenticationToken = authenticationToken;
   args.LinkedNotebook = linkedNotebook;
   args.AfterUSN = afterUSN;
   args.MaxEntries = maxEntries;
   args.FullSyncOnly = fullSyncOnly;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   oprot_.Transport.Flush();
 }