Class: Stat::Query::TDiscoverService::Processor

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

Instance Method Summary collapse

Instance Method Details

#process_reload(seqid, iprot, oprot) ⇒ Object



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

def process_reload(seqid, iprot, oprot)
  args = read_args(iprot, Reload_args)
  @handler.reload()
  return
end

#process_selectMobileAlbumTag(seqid, iprot, oprot) ⇒ Object



285
286
287
288
289
290
# File 'lib/t_discover_service.rb', line 285

def process_selectMobileAlbumTag(seqid, iprot, oprot)
  args = read_args(iprot, SelectMobileAlbumTag_args)
  result = SelectMobileAlbumTag_result.new()
  result.success = @handler.selectMobileAlbumTag(args.categoryId)
  write_result(result, oprot, 'selectMobileAlbumTag', seqid)
end

#process_selectMobileAlbumTagWithCover(seqid, iprot, oprot) ⇒ Object



299
300
301
302
303
304
# File 'lib/t_discover_service.rb', line 299

def process_selectMobileAlbumTagWithCover(seqid, iprot, oprot)
  args = read_args(iprot, SelectMobileAlbumTagWithCover_args)
  result = SelectMobileAlbumTagWithCover_result.new()
  result.success = @handler.selectMobileAlbumTagWithCover(args.categoryId, args.device, args.scale)
  write_result(result, oprot, 'selectMobileAlbumTagWithCover', seqid)
end

#process_selectMobileCategory(seqid, iprot, oprot) ⇒ Object



271
272
273
274
275
276
# File 'lib/t_discover_service.rb', line 271

def process_selectMobileCategory(seqid, iprot, oprot)
  args = read_args(iprot, SelectMobileCategory_args)
  result = SelectMobileCategory_result.new()
  result.success = @handler.selectMobileCategory(args.version, args.device, args.scale)
  write_result(result, oprot, 'selectMobileCategory', seqid)
end

#process_selectMobileHumanCategory(seqid, iprot, oprot) ⇒ Object



278
279
280
281
282
283
# File 'lib/t_discover_service.rb', line 278

def process_selectMobileHumanCategory(seqid, iprot, oprot)
  args = read_args(iprot, SelectMobileHumanCategory_args)
  result = SelectMobileHumanCategory_result.new()
  result.success = @handler.selectMobileHumanCategory(args.version, args.device, args.scale)
  write_result(result, oprot, 'selectMobileHumanCategory', seqid)
end

#process_selectMobileMultiCategories(seqid, iprot, oprot) ⇒ Object



313
314
315
316
317
318
# File 'lib/t_discover_service.rb', line 313

def process_selectMobileMultiCategories(seqid, iprot, oprot)
  args = read_args(iprot, SelectMobileMultiCategories_args)
  result = SelectMobileMultiCategories_result.new()
  result.success = @handler.selectMobileMultiCategories(args.categoryIdAndVersions, args.device, args.scale)
  write_result(result, oprot, 'selectMobileMultiCategories', seqid)
end

#process_selectMobileTrackTag(seqid, iprot, oprot) ⇒ Object



292
293
294
295
296
297
# File 'lib/t_discover_service.rb', line 292

def process_selectMobileTrackTag(seqid, iprot, oprot)
  args = read_args(iprot, SelectMobileTrackTag_args)
  result = SelectMobileTrackTag_result.new()
  result.success = @handler.selectMobileTrackTag(args.categoryId)
  write_result(result, oprot, 'selectMobileTrackTag', seqid)
end

#process_selectMobileTrackTagWithCover(seqid, iprot, oprot) ⇒ Object



306
307
308
309
310
311
# File 'lib/t_discover_service.rb', line 306

def process_selectMobileTrackTagWithCover(seqid, iprot, oprot)
  args = read_args(iprot, SelectMobileTrackTagWithCover_args)
  result = SelectMobileTrackTagWithCover_result.new()
  result.success = @handler.selectMobileTrackTagWithCover(args.categoryId, args.device, args.scale)
  write_result(result, oprot, 'selectMobileTrackTagWithCover', seqid)
end

#process_selectWebAlbumCategoryAndTag(seqid, iprot, oprot) ⇒ Object



236
237
238
239
240
241
# File 'lib/t_discover_service.rb', line 236

def process_selectWebAlbumCategoryAndTag(seqid, iprot, oprot)
  args = read_args(iprot, SelectWebAlbumCategoryAndTag_args)
  result = SelectWebAlbumCategoryAndTag_result.new()
  result.success = @handler.selectWebAlbumCategoryAndTag()
  write_result(result, oprot, 'selectWebAlbumCategoryAndTag', seqid)
end

#process_selectWebAlbumTag(seqid, iprot, oprot) ⇒ Object



257
258
259
260
261
262
# File 'lib/t_discover_service.rb', line 257

def process_selectWebAlbumTag(seqid, iprot, oprot)
  args = read_args(iprot, SelectWebAlbumTag_args)
  result = SelectWebAlbumTag_result.new()
  result.success = @handler.selectWebAlbumTag(args.categoryId)
  write_result(result, oprot, 'selectWebAlbumTag', seqid)
end

#process_selectWebCategory(seqid, iprot, oprot) ⇒ Object



250
251
252
253
254
255
# File 'lib/t_discover_service.rb', line 250

def process_selectWebCategory(seqid, iprot, oprot)
  args = read_args(iprot, SelectWebCategory_args)
  result = SelectWebCategory_result.new()
  result.success = @handler.selectWebCategory()
  write_result(result, oprot, 'selectWebCategory', seqid)
end

#process_selectWebHumanCategory(seqid, iprot, oprot) ⇒ Object



243
244
245
246
247
248
# File 'lib/t_discover_service.rb', line 243

def process_selectWebHumanCategory(seqid, iprot, oprot)
  args = read_args(iprot, SelectWebHumanCategory_args)
  result = SelectWebHumanCategory_result.new()
  result.success = @handler.selectWebHumanCategory()
  write_result(result, oprot, 'selectWebHumanCategory', seqid)
end

#process_selectWebTrackCategoryAndTag(seqid, iprot, oprot) ⇒ Object



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

def process_selectWebTrackCategoryAndTag(seqid, iprot, oprot)
  args = read_args(iprot, SelectWebTrackCategoryAndTag_args)
  result = SelectWebTrackCategoryAndTag_result.new()
  result.success = @handler.selectWebTrackCategoryAndTag()
  write_result(result, oprot, 'selectWebTrackCategoryAndTag', seqid)
end

#process_selectWebTrackTag(seqid, iprot, oprot) ⇒ Object



264
265
266
267
268
269
# File 'lib/t_discover_service.rb', line 264

def process_selectWebTrackTag(seqid, iprot, oprot)
  args = read_args(iprot, SelectWebTrackTag_args)
  result = SelectWebTrackTag_result.new()
  result.success = @handler.selectWebTrackTag(args.categoryId)
  write_result(result, oprot, 'selectWebTrackTag', seqid)
end