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



193
194
195
196
197
# File 'lib/t_discover_service.rb', line 193

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

#process_selectMobileAlbumTag(seqid, iprot, oprot) ⇒ Object



255
256
257
258
259
260
# File 'lib/t_discover_service.rb', line 255

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_selectMobileCategory(seqid, iprot, oprot) ⇒ Object



241
242
243
244
245
246
# File 'lib/t_discover_service.rb', line 241

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



248
249
250
251
252
253
# File 'lib/t_discover_service.rb', line 248

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



269
270
271
272
273
274
# File 'lib/t_discover_service.rb', line 269

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



262
263
264
265
266
267
# File 'lib/t_discover_service.rb', line 262

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_selectWebAlbumCategoryAndTag(seqid, iprot, oprot) ⇒ Object



206
207
208
209
210
211
# File 'lib/t_discover_service.rb', line 206

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



227
228
229
230
231
232
# File 'lib/t_discover_service.rb', line 227

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



220
221
222
223
224
225
# File 'lib/t_discover_service.rb', line 220

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



213
214
215
216
217
218
# File 'lib/t_discover_service.rb', line 213

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



199
200
201
202
203
204
# File 'lib/t_discover_service.rb', line 199

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



234
235
236
237
238
239
# File 'lib/t_discover_service.rb', line 234

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