public void send_getSyncChunk(string authenticationToken, int afterUSN, int maxEntries, bool fullSyncOnly) #endif { oprot_.WriteMessageBegin(new TMessage("getSyncChunk", TMessageType.Call, seqid_)); getSyncChunk_args args = new getSyncChunk_args(); args.AuthenticationToken = authenticationToken; 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 }
public void getSyncChunk_Process(int seqid, TProtocol iprot, TProtocol oprot) { getSyncChunk_args args = new getSyncChunk_args(); args.Read(iprot); iprot.ReadMessageEnd(); getSyncChunk_result result = new getSyncChunk_result(); try { result.Success = iface_.getSyncChunk(args.AuthenticationToken, args.AfterUSN, args.MaxEntries, args.FullSyncOnly); } catch (Evernote.EDAM.Error.EDAMUserException userException) { result.UserException = userException; } catch (Evernote.EDAM.Error.EDAMSystemException systemException) { result.SystemException = systemException; } oprot.WriteMessageBegin(new TMessage("getSyncChunk", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_getSyncChunk(string authenticationToken, int afterUSN, int maxEntries) { oprot_.WriteMessageBegin(new TMessage("getSyncChunk", TMessageType.Call, seqid_)); getSyncChunk_args args = new getSyncChunk_args(); args.AuthenticationToken = authenticationToken; args.AfterUSN = afterUSN; args.MaxEntries = maxEntries; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }