Class: Service::Profile::Thrift::RemoteUserTrackService::Processor
- Inherits:
-
Object
- Object
- Service::Profile::Thrift::RemoteUserTrackService::Processor
- Includes:
- Thrift::Processor
- Defined in:
- lib/remote_user_track_service.rb
Instance Method Summary collapse
- #process_createTrack(seqid, iprot, oprot) ⇒ Object
- #process_destroyTrack(seqid, iprot, oprot) ⇒ Object
- #process_getLastTrackId(seqid, iprot, oprot) ⇒ Object
- #process_getUploadedTrackDuration(seqid, iprot, oprot) ⇒ Object
- #process_multiGetLastTrackIds(seqid, iprot, oprot) ⇒ Object
- #process_updateTrack(seqid, iprot, oprot) ⇒ Object
Instance Method Details
#process_createTrack(seqid, iprot, oprot) ⇒ Object
133 134 135 136 137 138 |
# File 'lib/remote_user_track_service.rb', line 133 def process_createTrack(seqid, iprot, oprot) args = read_args(iprot, CreateTrack_args) result = CreateTrack_result.new() result.success = @handler.createTrack(args.uid, args.userTrackInfo) write_result(result, oprot, 'createTrack', seqid) end |
#process_destroyTrack(seqid, iprot, oprot) ⇒ Object
147 148 149 150 151 152 |
# File 'lib/remote_user_track_service.rb', line 147 def process_destroyTrack(seqid, iprot, oprot) args = read_args(iprot, DestroyTrack_args) result = DestroyTrack_result.new() result.success = @handler.destroyTrack(args.uid, args.userTrackInfo) write_result(result, oprot, 'destroyTrack', seqid) end |
#process_getLastTrackId(seqid, iprot, oprot) ⇒ Object
112 113 114 115 116 117 |
# File 'lib/remote_user_track_service.rb', line 112 def process_getLastTrackId(seqid, iprot, oprot) args = read_args(iprot, GetLastTrackId_args) result = GetLastTrackId_result.new() result.success = @handler.getLastTrackId(args.uid) write_result(result, oprot, 'getLastTrackId', seqid) end |
#process_getUploadedTrackDuration(seqid, iprot, oprot) ⇒ Object
126 127 128 129 130 131 |
# File 'lib/remote_user_track_service.rb', line 126 def process_getUploadedTrackDuration(seqid, iprot, oprot) args = read_args(iprot, GetUploadedTrackDuration_args) result = GetUploadedTrackDuration_result.new() result.success = @handler.getUploadedTrackDuration(args.uid) write_result(result, oprot, 'getUploadedTrackDuration', seqid) end |
#process_multiGetLastTrackIds(seqid, iprot, oprot) ⇒ Object
119 120 121 122 123 124 |
# File 'lib/remote_user_track_service.rb', line 119 def process_multiGetLastTrackIds(seqid, iprot, oprot) args = read_args(iprot, MultiGetLastTrackIds_args) result = MultiGetLastTrackIds_result.new() result.success = @handler.multiGetLastTrackIds(args.uids) write_result(result, oprot, 'multiGetLastTrackIds', seqid) end |
#process_updateTrack(seqid, iprot, oprot) ⇒ Object
140 141 142 143 144 145 |
# File 'lib/remote_user_track_service.rb', line 140 def process_updateTrack(seqid, iprot, oprot) args = read_args(iprot, UpdateTrack_args) result = UpdateTrack_result.new() result.success = @handler.updateTrack(args.uid, args.userTrackInfo) write_result(result, oprot, 'updateTrack', seqid) end |