Class: RemoteTrackFacadeService::Processor

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

Instance Method Summary collapse

Instance Method Details

#process_createTrack(seqid, iprot, oprot) ⇒ Object



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

def process_createTrack(seqid, iprot, oprot)
  args = read_args(iprot, CreateTrack_args)
  result = CreateTrack_result.new()
  result.success = @handler.createTrack(args.trackForm)
  write_result(result, oprot, 'createTrack', seqid)
end

#process_deleteTrack(seqid, iprot, oprot) ⇒ Object



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

def process_deleteTrack(seqid, iprot, oprot)
  args = read_args(iprot, DeleteTrack_args)
  result = DeleteTrack_result.new()
  @handler.deleteTrack(args.trackDeleteForm)
  write_result(result, oprot, 'deleteTrack', seqid)
end

#process_multiQueryBaseTrackInfos(seqid, iprot, oprot) ⇒ Object



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

def process_multiQueryBaseTrackInfos(seqid, iprot, oprot)
  args = read_args(iprot, MultiQueryBaseTrackInfos_args)
  result = MultiQueryBaseTrackInfos_result.new()
  result.success = @handler.multiQueryBaseTrackInfos(args.trackIds)
  write_result(result, oprot, 'multiQueryBaseTrackInfos', seqid)
end

#process_multiQueryDetailTrackInfos(seqid, iprot, oprot) ⇒ Object



276
277
278
279
280
281
# File 'lib/remote_track_facade_service.rb', line 276

def process_multiQueryDetailTrackInfos(seqid, iprot, oprot)
  args = read_args(iprot, MultiQueryDetailTrackInfos_args)
  result = MultiQueryDetailTrackInfos_result.new()
  result.success = @handler.multiQueryDetailTrackInfos(args.trackIds)
  write_result(result, oprot, 'multiQueryDetailTrackInfos', seqid)
end

#process_queryBaseTrackInfo(seqid, iprot, oprot) ⇒ Object



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

def process_queryBaseTrackInfo(seqid, iprot, oprot)
  args = read_args(iprot, QueryBaseTrackInfo_args)
  result = QueryBaseTrackInfo_result.new()
  result.success = @handler.queryBaseTrackInfo(args.trackId)
  write_result(result, oprot, 'queryBaseTrackInfo', seqid)
end

#process_queryDetailTrackInfo(seqid, iprot, oprot) ⇒ Object



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

def process_queryDetailTrackInfo(seqid, iprot, oprot)
  args = read_args(iprot, QueryDetailTrackInfo_args)
  result = QueryDetailTrackInfo_result.new()
  result.success = @handler.queryDetailTrackInfo(args.trackId)
  write_result(result, oprot, 'queryDetailTrackInfo', seqid)
end

#process_queryOtherBasicTrackRecords(seqid, iprot, oprot) ⇒ Object



304
305
306
307
308
309
# File 'lib/remote_track_facade_service.rb', line 304

def process_queryOtherBasicTrackRecords(seqid, iprot, oprot)
  args = read_args(iprot, QueryOtherBasicTrackRecords_args)
  result = QueryOtherBasicTrackRecords_result.new()
  result.success = @handler.queryOtherBasicTrackRecords(args.uid, args.page, args.size)
  write_result(result, oprot, 'queryOtherBasicTrackRecords', seqid)
end

#process_queryOtherSimpleTrackRecords(seqid, iprot, oprot) ⇒ Object



290
291
292
293
294
295
# File 'lib/remote_track_facade_service.rb', line 290

def process_queryOtherSimpleTrackRecords(seqid, iprot, oprot)
  args = read_args(iprot, QueryOtherSimpleTrackRecords_args)
  result = QueryOtherSimpleTrackRecords_result.new()
  result.success = @handler.queryOtherSimpleTrackRecords(args.uid, args.page, args.size)
  write_result(result, oprot, 'queryOtherSimpleTrackRecords', seqid)
end

#process_queryOtherTrackRecordCount(seqid, iprot, oprot) ⇒ Object



318
319
320
321
322
323
# File 'lib/remote_track_facade_service.rb', line 318

def process_queryOtherTrackRecordCount(seqid, iprot, oprot)
  args = read_args(iprot, QueryOtherTrackRecordCount_args)
  result = QueryOtherTrackRecordCount_result.new()
  result.success = @handler.queryOtherTrackRecordCount(args.uid)
  write_result(result, oprot, 'queryOtherTrackRecordCount', seqid)
end

#process_querySelfBasicTrackRecords(seqid, iprot, oprot) ⇒ Object



297
298
299
300
301
302
# File 'lib/remote_track_facade_service.rb', line 297

def process_querySelfBasicTrackRecords(seqid, iprot, oprot)
  args = read_args(iprot, QuerySelfBasicTrackRecords_args)
  result = QuerySelfBasicTrackRecords_result.new()
  result.success = @handler.querySelfBasicTrackRecords(args.uid, args.page, args.size)
  write_result(result, oprot, 'querySelfBasicTrackRecords', seqid)
end

#process_querySelfSimpleTrackRecords(seqid, iprot, oprot) ⇒ Object



283
284
285
286
287
288
# File 'lib/remote_track_facade_service.rb', line 283

def process_querySelfSimpleTrackRecords(seqid, iprot, oprot)
  args = read_args(iprot, QuerySelfSimpleTrackRecords_args)
  result = QuerySelfSimpleTrackRecords_result.new()
  result.success = @handler.querySelfSimpleTrackRecords(args.uid, args.page, args.size)
  write_result(result, oprot, 'querySelfSimpleTrackRecords', seqid)
end

#process_querySelfTrackRecordCount(seqid, iprot, oprot) ⇒ Object



311
312
313
314
315
316
# File 'lib/remote_track_facade_service.rb', line 311

def process_querySelfTrackRecordCount(seqid, iprot, oprot)
  args = read_args(iprot, QuerySelfTrackRecordCount_args)
  result = QuerySelfTrackRecordCount_result.new()
  result.success = @handler.querySelfTrackRecordCount(args.uid)
  write_result(result, oprot, 'querySelfTrackRecordCount', seqid)
end

#process_repostTrack(seqid, iprot, oprot) ⇒ Object



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

def process_repostTrack(seqid, iprot, oprot)
  args = read_args(iprot, RepostTrack_args)
  result = RepostTrack_result.new()
  result.success = @handler.repostTrack(args.trackRepostForm)
  write_result(result, oprot, 'repostTrack', seqid)
end

#process_updateTrack(seqid, iprot, oprot) ⇒ Object



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

def process_updateTrack(seqid, iprot, oprot)
  args = read_args(iprot, UpdateTrack_args)
  result = UpdateTrack_result.new()
  @handler.updateTrack(args.trackForm)
  write_result(result, oprot, 'updateTrack', seqid)
end