Class: Passport::Thrift::RemoteThirdpartySyncSetService::Processor

Inherits:
Object
  • Object
show all
Includes:
Thrift::Processor
Defined in:
lib/remote_thirdparty_sync_set_service.rb

Instance Method Summary collapse

Instance Method Details

#process_getSyncSetByType(seqid, iprot, oprot) ⇒ Object



215
216
217
218
219
220
# File 'lib/remote_thirdparty_sync_set_service.rb', line 215

def process_getSyncSetByType(seqid, iprot, oprot)
  args = read_args(iprot, GetSyncSetByType_args)
  result = GetSyncSetByType_result.new()
  result.success = @handler.getSyncSetByType(args.tpUid, args.thirdpartyName, args.syncType)
  write_result(result, oprot, 'getSyncSetByType', seqid)
end

#process_insertDefalutSyncSet(seqid, iprot, oprot) ⇒ Object



166
167
168
169
170
171
# File 'lib/remote_thirdparty_sync_set_service.rb', line 166

def process_insertDefalutSyncSet(seqid, iprot, oprot)
  args = read_args(iprot, InsertDefalutSyncSet_args)
  result = InsertDefalutSyncSet_result.new()
  result.success = @handler.insertDefalutSyncSet(args.tpUid, args.thirdpartyName)
  write_result(result, oprot, 'insertDefalutSyncSet', seqid)
end

#process_insertOrUpdateToDefaultSet(seqid, iprot, oprot) ⇒ Object



173
174
175
176
177
178
# File 'lib/remote_thirdparty_sync_set_service.rb', line 173

def process_insertOrUpdateToDefaultSet(seqid, iprot, oprot)
  args = read_args(iprot, InsertOrUpdateToDefaultSet_args)
  result = InsertOrUpdateToDefaultSet_result.new()
  result.success = @handler.insertOrUpdateToDefaultSet(args.tpUid, args.thirdpartyName)
  write_result(result, oprot, 'insertOrUpdateToDefaultSet', seqid)
end

#process_noMoreCommentSyncAlert(seqid, iprot, oprot) ⇒ Object



201
202
203
204
205
206
# File 'lib/remote_thirdparty_sync_set_service.rb', line 201

def process_noMoreCommentSyncAlert(seqid, iprot, oprot)
  args = read_args(iprot, NoMoreCommentSyncAlert_args)
  result = NoMoreCommentSyncAlert_result.new()
  @handler.noMoreCommentSyncAlert(args.uid, args.noMoreAlert)
  write_result(result, oprot, 'noMoreCommentSyncAlert', seqid)
end

#process_noMoreFavoriteSyncAlert(seqid, iprot, oprot) ⇒ Object



208
209
210
211
212
213
# File 'lib/remote_thirdparty_sync_set_service.rb', line 208

def process_noMoreFavoriteSyncAlert(seqid, iprot, oprot)
  args = read_args(iprot, NoMoreFavoriteSyncAlert_args)
  result = NoMoreFavoriteSyncAlert_result.new()
  @handler.noMoreFavoriteSyncAlert(args.uid, args.noMoreAlert)
  write_result(result, oprot, 'noMoreFavoriteSyncAlert', seqid)
end

#process_queryBindThirdpartySyncSet(seqid, iprot, oprot) ⇒ Object



229
230
231
232
233
234
# File 'lib/remote_thirdparty_sync_set_service.rb', line 229

def process_queryBindThirdpartySyncSet(seqid, iprot, oprot)
  args = read_args(iprot, QueryBindThirdpartySyncSet_args)
  result = QueryBindThirdpartySyncSet_result.new()
  result.success = @handler.queryBindThirdpartySyncSet(args.bindThirdpartys)
  write_result(result, oprot, 'queryBindThirdpartySyncSet', seqid)
end

#process_queryByTpUid(seqid, iprot, oprot) ⇒ Object



222
223
224
225
226
227
# File 'lib/remote_thirdparty_sync_set_service.rb', line 222

def process_queryByTpUid(seqid, iprot, oprot)
  args = read_args(iprot, QueryByTpUid_args)
  result = QueryByTpUid_result.new()
  result.success = @handler.queryByTpUid(args.tpUid, args.thirdpartyName)
  write_result(result, oprot, 'queryByTpUid', seqid)
end

#process_updateOrInsertMultiSyncSetColumn(seqid, iprot, oprot) ⇒ Object



187
188
189
190
191
192
# File 'lib/remote_thirdparty_sync_set_service.rb', line 187

def process_updateOrInsertMultiSyncSetColumn(seqid, iprot, oprot)
  args = read_args(iprot, UpdateOrInsertMultiSyncSetColumn_args)
  result = UpdateOrInsertMultiSyncSetColumn_result.new()
  @handler.updateOrInsertMultiSyncSetColumn(args.tpUid, args.thirdpartyName, args.types)
  write_result(result, oprot, 'updateOrInsertMultiSyncSetColumn', seqid)
end

#process_updateOrInsertMultiSyncSetColumnSelective(seqid, iprot, oprot) ⇒ Object



194
195
196
197
198
199
# File 'lib/remote_thirdparty_sync_set_service.rb', line 194

def process_updateOrInsertMultiSyncSetColumnSelective(seqid, iprot, oprot)
  args = read_args(iprot, UpdateOrInsertMultiSyncSetColumnSelective_args)
  result = UpdateOrInsertMultiSyncSetColumnSelective_result.new()
  @handler.updateOrInsertMultiSyncSetColumnSelective(args.tpUid, args.thirdpartyName, args.checkedTypes, args.unCheckedTypes)
  write_result(result, oprot, 'updateOrInsertMultiSyncSetColumnSelective', seqid)
end

#process_updateOrInsertSyncSet(seqid, iprot, oprot) ⇒ Object



180
181
182
183
184
185
# File 'lib/remote_thirdparty_sync_set_service.rb', line 180

def process_updateOrInsertSyncSet(seqid, iprot, oprot)
  args = read_args(iprot, UpdateOrInsertSyncSet_args)
  result = UpdateOrInsertSyncSet_result.new()
  @handler.updateOrInsertSyncSet(args.tpUid, args.thirdpartyName, args.syncType, args.isChecked)
  write_result(result, oprot, 'updateOrInsertSyncSet', seqid)
end