Class: RemoteTrackFacadeService::Client
- Inherits:
-
Object
- Object
- RemoteTrackFacadeService::Client
- Includes:
- Thrift::Client
- Defined in:
- lib/remote_track_facade_service.rb
Instance Method Summary collapse
- #createTrack(trackForm) ⇒ Object
- #deleteTrack(trackDeleteForm) ⇒ Object
- #multiQueryBaseTrackInfos(trackIds) ⇒ Object
- #multiQueryDetailTrackInfos(trackIds) ⇒ Object
- #queryBaseTrackInfo(trackId) ⇒ Object
- #queryDetailTrackInfo(trackId) ⇒ Object
- #queryOtherBasicTrackRecords(uid, page, size) ⇒ Object
- #queryOtherSimpleTrackRecords(uid, page, size) ⇒ Object
- #queryOtherTrackRecordCount(uid) ⇒ Object
- #querySelfBasicTrackRecords(uid, page, size) ⇒ Object
- #querySelfSimpleTrackRecords(uid, page, size) ⇒ Object
- #querySelfTrackRecordCount(uid) ⇒ Object
- #recv_createTrack ⇒ Object
- #recv_deleteTrack ⇒ Object
- #recv_multiQueryBaseTrackInfos ⇒ Object
- #recv_multiQueryDetailTrackInfos ⇒ Object
- #recv_queryBaseTrackInfo ⇒ Object
- #recv_queryDetailTrackInfo ⇒ Object
- #recv_queryOtherBasicTrackRecords ⇒ Object
- #recv_queryOtherSimpleTrackRecords ⇒ Object
- #recv_queryOtherTrackRecordCount ⇒ Object
- #recv_querySelfBasicTrackRecords ⇒ Object
- #recv_querySelfSimpleTrackRecords ⇒ Object
- #recv_querySelfTrackRecordCount ⇒ Object
- #recv_repostTrack ⇒ Object
- #recv_updateTrack ⇒ Object
- #repostTrack(trackRepostForm) ⇒ Object
- #send_createTrack(trackForm) ⇒ Object
- #send_deleteTrack(trackDeleteForm) ⇒ Object
- #send_multiQueryBaseTrackInfos(trackIds) ⇒ Object
- #send_multiQueryDetailTrackInfos(trackIds) ⇒ Object
- #send_queryBaseTrackInfo(trackId) ⇒ Object
- #send_queryDetailTrackInfo(trackId) ⇒ Object
- #send_queryOtherBasicTrackRecords(uid, page, size) ⇒ Object
- #send_queryOtherSimpleTrackRecords(uid, page, size) ⇒ Object
- #send_queryOtherTrackRecordCount(uid) ⇒ Object
- #send_querySelfBasicTrackRecords(uid, page, size) ⇒ Object
- #send_querySelfSimpleTrackRecords(uid, page, size) ⇒ Object
- #send_querySelfTrackRecordCount(uid) ⇒ Object
- #send_repostTrack(trackRepostForm) ⇒ Object
- #send_updateTrack(trackForm) ⇒ Object
- #updateTrack(trackForm) ⇒ Object
Instance Method Details
#createTrack(trackForm) ⇒ Object
14 15 16 17 |
# File 'lib/remote_track_facade_service.rb', line 14 def createTrack(trackForm) send_createTrack(trackForm) return recv_createTrack() end |
#deleteTrack(trackDeleteForm) ⇒ Object
43 44 45 46 |
# File 'lib/remote_track_facade_service.rb', line 43 def deleteTrack(trackDeleteForm) send_deleteTrack(trackDeleteForm) recv_deleteTrack() end |
#multiQueryBaseTrackInfos(trackIds) ⇒ Object
87 88 89 90 |
# File 'lib/remote_track_facade_service.rb', line 87 def multiQueryBaseTrackInfos(trackIds) send_multiQueryBaseTrackInfos(trackIds) return recv_multiQueryBaseTrackInfos() end |
#multiQueryDetailTrackInfos(trackIds) ⇒ Object
117 118 119 120 |
# File 'lib/remote_track_facade_service.rb', line 117 def multiQueryDetailTrackInfos(trackIds) send_multiQueryDetailTrackInfos(trackIds) return recv_multiQueryDetailTrackInfos() end |
#queryBaseTrackInfo(trackId) ⇒ Object
72 73 74 75 |
# File 'lib/remote_track_facade_service.rb', line 72 def queryBaseTrackInfo(trackId) send_queryBaseTrackInfo(trackId) return recv_queryBaseTrackInfo() end |
#queryDetailTrackInfo(trackId) ⇒ Object
102 103 104 105 |
# File 'lib/remote_track_facade_service.rb', line 102 def queryDetailTrackInfo(trackId) send_queryDetailTrackInfo(trackId) return recv_queryDetailTrackInfo() end |
#queryOtherBasicTrackRecords(uid, page, size) ⇒ Object
177 178 179 180 |
# File 'lib/remote_track_facade_service.rb', line 177 def queryOtherBasicTrackRecords(uid, page, size) send_queryOtherBasicTrackRecords(uid, page, size) return recv_queryOtherBasicTrackRecords() end |
#queryOtherSimpleTrackRecords(uid, page, size) ⇒ Object
147 148 149 150 |
# File 'lib/remote_track_facade_service.rb', line 147 def queryOtherSimpleTrackRecords(uid, page, size) send_queryOtherSimpleTrackRecords(uid, page, size) return recv_queryOtherSimpleTrackRecords() end |
#queryOtherTrackRecordCount(uid) ⇒ Object
207 208 209 210 |
# File 'lib/remote_track_facade_service.rb', line 207 def queryOtherTrackRecordCount(uid) send_queryOtherTrackRecordCount(uid) return recv_queryOtherTrackRecordCount() end |
#querySelfBasicTrackRecords(uid, page, size) ⇒ Object
162 163 164 165 |
# File 'lib/remote_track_facade_service.rb', line 162 def querySelfBasicTrackRecords(uid, page, size) send_querySelfBasicTrackRecords(uid, page, size) return recv_querySelfBasicTrackRecords() end |
#querySelfSimpleTrackRecords(uid, page, size) ⇒ Object
132 133 134 135 |
# File 'lib/remote_track_facade_service.rb', line 132 def querySelfSimpleTrackRecords(uid, page, size) send_querySelfSimpleTrackRecords(uid, page, size) return recv_querySelfSimpleTrackRecords() end |
#querySelfTrackRecordCount(uid) ⇒ Object
192 193 194 195 |
# File 'lib/remote_track_facade_service.rb', line 192 def querySelfTrackRecordCount(uid) send_querySelfTrackRecordCount(uid) return recv_querySelfTrackRecordCount() end |
#recv_createTrack ⇒ Object
23 24 25 26 27 |
# File 'lib/remote_track_facade_service.rb', line 23 def recv_createTrack() result = (CreateTrack_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'createTrack failed: unknown result') end |
#recv_deleteTrack ⇒ Object
52 53 54 55 |
# File 'lib/remote_track_facade_service.rb', line 52 def recv_deleteTrack() result = (DeleteTrack_result) return end |
#recv_multiQueryBaseTrackInfos ⇒ Object
96 97 98 99 100 |
# File 'lib/remote_track_facade_service.rb', line 96 def recv_multiQueryBaseTrackInfos() result = (MultiQueryBaseTrackInfos_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'multiQueryBaseTrackInfos failed: unknown result') end |
#recv_multiQueryDetailTrackInfos ⇒ Object
126 127 128 129 130 |
# File 'lib/remote_track_facade_service.rb', line 126 def recv_multiQueryDetailTrackInfos() result = (MultiQueryDetailTrackInfos_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'multiQueryDetailTrackInfos failed: unknown result') end |
#recv_queryBaseTrackInfo ⇒ Object
81 82 83 84 85 |
# File 'lib/remote_track_facade_service.rb', line 81 def recv_queryBaseTrackInfo() result = (QueryBaseTrackInfo_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryBaseTrackInfo failed: unknown result') end |
#recv_queryDetailTrackInfo ⇒ Object
111 112 113 114 115 |
# File 'lib/remote_track_facade_service.rb', line 111 def recv_queryDetailTrackInfo() result = (QueryDetailTrackInfo_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryDetailTrackInfo failed: unknown result') end |
#recv_queryOtherBasicTrackRecords ⇒ Object
186 187 188 189 190 |
# File 'lib/remote_track_facade_service.rb', line 186 def recv_queryOtherBasicTrackRecords() result = (QueryOtherBasicTrackRecords_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryOtherBasicTrackRecords failed: unknown result') end |
#recv_queryOtherSimpleTrackRecords ⇒ Object
156 157 158 159 160 |
# File 'lib/remote_track_facade_service.rb', line 156 def recv_queryOtherSimpleTrackRecords() result = (QueryOtherSimpleTrackRecords_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryOtherSimpleTrackRecords failed: unknown result') end |
#recv_queryOtherTrackRecordCount ⇒ Object
216 217 218 219 220 |
# File 'lib/remote_track_facade_service.rb', line 216 def recv_queryOtherTrackRecordCount() result = (QueryOtherTrackRecordCount_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryOtherTrackRecordCount failed: unknown result') end |
#recv_querySelfBasicTrackRecords ⇒ Object
171 172 173 174 175 |
# File 'lib/remote_track_facade_service.rb', line 171 def recv_querySelfBasicTrackRecords() result = (QuerySelfBasicTrackRecords_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'querySelfBasicTrackRecords failed: unknown result') end |
#recv_querySelfSimpleTrackRecords ⇒ Object
141 142 143 144 145 |
# File 'lib/remote_track_facade_service.rb', line 141 def recv_querySelfSimpleTrackRecords() result = (QuerySelfSimpleTrackRecords_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'querySelfSimpleTrackRecords failed: unknown result') end |
#recv_querySelfTrackRecordCount ⇒ Object
201 202 203 204 205 |
# File 'lib/remote_track_facade_service.rb', line 201 def recv_querySelfTrackRecordCount() result = (QuerySelfTrackRecordCount_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'querySelfTrackRecordCount failed: unknown result') end |
#recv_repostTrack ⇒ Object
66 67 68 69 70 |
# File 'lib/remote_track_facade_service.rb', line 66 def recv_repostTrack() result = (RepostTrack_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'repostTrack failed: unknown result') end |
#recv_updateTrack ⇒ Object
38 39 40 41 |
# File 'lib/remote_track_facade_service.rb', line 38 def recv_updateTrack() result = (UpdateTrack_result) return end |
#repostTrack(trackRepostForm) ⇒ Object
57 58 59 60 |
# File 'lib/remote_track_facade_service.rb', line 57 def repostTrack(trackRepostForm) send_repostTrack(trackRepostForm) return recv_repostTrack() end |
#send_createTrack(trackForm) ⇒ Object
19 20 21 |
# File 'lib/remote_track_facade_service.rb', line 19 def send_createTrack(trackForm) ('createTrack', CreateTrack_args, :trackForm => trackForm) end |
#send_deleteTrack(trackDeleteForm) ⇒ Object
48 49 50 |
# File 'lib/remote_track_facade_service.rb', line 48 def send_deleteTrack(trackDeleteForm) ('deleteTrack', DeleteTrack_args, :trackDeleteForm => trackDeleteForm) end |
#send_multiQueryBaseTrackInfos(trackIds) ⇒ Object
92 93 94 |
# File 'lib/remote_track_facade_service.rb', line 92 def send_multiQueryBaseTrackInfos(trackIds) ('multiQueryBaseTrackInfos', MultiQueryBaseTrackInfos_args, :trackIds => trackIds) end |
#send_multiQueryDetailTrackInfos(trackIds) ⇒ Object
122 123 124 |
# File 'lib/remote_track_facade_service.rb', line 122 def send_multiQueryDetailTrackInfos(trackIds) ('multiQueryDetailTrackInfos', MultiQueryDetailTrackInfos_args, :trackIds => trackIds) end |
#send_queryBaseTrackInfo(trackId) ⇒ Object
77 78 79 |
# File 'lib/remote_track_facade_service.rb', line 77 def send_queryBaseTrackInfo(trackId) ('queryBaseTrackInfo', QueryBaseTrackInfo_args, :trackId => trackId) end |
#send_queryDetailTrackInfo(trackId) ⇒ Object
107 108 109 |
# File 'lib/remote_track_facade_service.rb', line 107 def send_queryDetailTrackInfo(trackId) ('queryDetailTrackInfo', QueryDetailTrackInfo_args, :trackId => trackId) end |
#send_queryOtherBasicTrackRecords(uid, page, size) ⇒ Object
182 183 184 |
# File 'lib/remote_track_facade_service.rb', line 182 def send_queryOtherBasicTrackRecords(uid, page, size) ('queryOtherBasicTrackRecords', QueryOtherBasicTrackRecords_args, :uid => uid, :page => page, :size => size) end |
#send_queryOtherSimpleTrackRecords(uid, page, size) ⇒ Object
152 153 154 |
# File 'lib/remote_track_facade_service.rb', line 152 def send_queryOtherSimpleTrackRecords(uid, page, size) ('queryOtherSimpleTrackRecords', QueryOtherSimpleTrackRecords_args, :uid => uid, :page => page, :size => size) end |
#send_queryOtherTrackRecordCount(uid) ⇒ Object
212 213 214 |
# File 'lib/remote_track_facade_service.rb', line 212 def send_queryOtherTrackRecordCount(uid) ('queryOtherTrackRecordCount', QueryOtherTrackRecordCount_args, :uid => uid) end |
#send_querySelfBasicTrackRecords(uid, page, size) ⇒ Object
167 168 169 |
# File 'lib/remote_track_facade_service.rb', line 167 def send_querySelfBasicTrackRecords(uid, page, size) ('querySelfBasicTrackRecords', QuerySelfBasicTrackRecords_args, :uid => uid, :page => page, :size => size) end |
#send_querySelfSimpleTrackRecords(uid, page, size) ⇒ Object
137 138 139 |
# File 'lib/remote_track_facade_service.rb', line 137 def send_querySelfSimpleTrackRecords(uid, page, size) ('querySelfSimpleTrackRecords', QuerySelfSimpleTrackRecords_args, :uid => uid, :page => page, :size => size) end |
#send_querySelfTrackRecordCount(uid) ⇒ Object
197 198 199 |
# File 'lib/remote_track_facade_service.rb', line 197 def send_querySelfTrackRecordCount(uid) ('querySelfTrackRecordCount', QuerySelfTrackRecordCount_args, :uid => uid) end |
#send_repostTrack(trackRepostForm) ⇒ Object
62 63 64 |
# File 'lib/remote_track_facade_service.rb', line 62 def send_repostTrack(trackRepostForm) ('repostTrack', RepostTrack_args, :trackRepostForm => trackRepostForm) end |
#send_updateTrack(trackForm) ⇒ Object
34 35 36 |
# File 'lib/remote_track_facade_service.rb', line 34 def send_updateTrack(trackForm) ('updateTrack', UpdateTrack_args, :trackForm => trackForm) end |
#updateTrack(trackForm) ⇒ Object
29 30 31 32 |
# File 'lib/remote_track_facade_service.rb', line 29 def updateTrack(trackForm) send_updateTrack(trackForm) recv_updateTrack() end |