public void send_getFilteredSyncChunk(string authenticationToken, int afterUSN, int maxEntries, SyncChunkFilter filter) #endif { oprot_.WriteMessageBegin(new TMessage("getFilteredSyncChunk", TMessageType.Call, seqid_)); getFilteredSyncChunk_args args = new getFilteredSyncChunk_args(); args.AuthenticationToken = authenticationToken; args.AfterUSN = afterUSN; args.MaxEntries = maxEntries; args.Filter = filter; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT || NETFX_CORE return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void getFilteredSyncChunk_Process(int seqid, TProtocol iprot, TProtocol oprot) { getFilteredSyncChunk_args args = new getFilteredSyncChunk_args(); args.Read(iprot); iprot.ReadMessageEnd(); getFilteredSyncChunk_result result = new getFilteredSyncChunk_result(); try { result.Success = iface_.getFilteredSyncChunk(args.AuthenticationToken, args.AfterUSN, args.MaxEntries, args.Filter); } catch (Evernote.EDAM.Error.EDAMUserException userException) { result.UserException = userException; } catch (Evernote.EDAM.Error.EDAMSystemException systemException) { result.SystemException = systemException; } oprot.WriteMessageBegin(new TMessage("getFilteredSyncChunk", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }