Class: Stat::Query::THotService::Client
- Inherits:
-
Object
- Object
- Stat::Query::THotService::Client
- Includes:
- Thrift::Client
- Defined in:
- lib/t_hot_service.rb
Instance Method Summary collapse
- #hotAlbum(id, tagName, pageNo, pageSize) ⇒ Object
- #hotCategoryAlbum(id, tagNames, size) ⇒ Object
- #hotRadio(id, pageNo, pageSize) ⇒ Object
- #hotRadioAndSound(categoryIds) ⇒ Object
- #hotRadioDay(id, pageNo, pageSize) ⇒ Object
- #hotRadioRandom ⇒ Object
- #hotSound(id, tagName, pageNo, pageSize) ⇒ Object
- #hotSoundDay(id, tagName, pageNo, pageSize) ⇒ Object
- #mostFavoritSound(id, tagName, pageNo, pageSize) ⇒ Object
- #mostFollowedUser(id, pageNo, pageSize) ⇒ Object
- #newV(id, pageNo, pageSize) ⇒ Object
- #recentVTrack(id, tagName, pageNo, pageSize) ⇒ Object
- #recv_hotAlbum ⇒ Object
- #recv_hotCategoryAlbum ⇒ Object
- #recv_hotRadio ⇒ Object
- #recv_hotRadioAndSound ⇒ Object
- #recv_hotRadioDay ⇒ Object
- #recv_hotRadioRandom ⇒ Object
- #recv_hotSound ⇒ Object
- #recv_hotSoundDay ⇒ Object
- #recv_mostFavoritSound ⇒ Object
- #recv_mostFollowedUser ⇒ Object
- #recv_newV ⇒ Object
- #recv_recentVTrack ⇒ Object
- #send_hotAlbum(id, tagName, pageNo, pageSize) ⇒ Object
- #send_hotCategoryAlbum(id, tagNames, size) ⇒ Object
- #send_hotRadio(id, pageNo, pageSize) ⇒ Object
- #send_hotRadioAndSound(categoryIds) ⇒ Object
- #send_hotRadioDay(id, pageNo, pageSize) ⇒ Object
- #send_hotRadioRandom ⇒ Object
- #send_hotSound(id, tagName, pageNo, pageSize) ⇒ Object
- #send_hotSoundDay(id, tagName, pageNo, pageSize) ⇒ Object
- #send_mostFavoritSound(id, tagName, pageNo, pageSize) ⇒ Object
- #send_mostFollowedUser(id, pageNo, pageSize) ⇒ Object
- #send_newV(id, pageNo, pageSize) ⇒ Object
- #send_recentVTrack(id, tagName, pageNo, pageSize) ⇒ Object
Instance Method Details
#hotAlbum(id, tagName, pageNo, pageSize) ⇒ Object
136 137 138 139 |
# File 'lib/t_hot_service.rb', line 136 def hotAlbum(id, tagName, pageNo, pageSize) send_hotAlbum(id, tagName, pageNo, pageSize) return recv_hotAlbum() end |
#hotCategoryAlbum(id, tagNames, size) ⇒ Object
166 167 168 169 |
# File 'lib/t_hot_service.rb', line 166 def hotCategoryAlbum(id, tagNames, size) send_hotCategoryAlbum(id, tagNames, size) return recv_hotCategoryAlbum() end |
#hotRadio(id, pageNo, pageSize) ⇒ Object
16 17 18 19 |
# File 'lib/t_hot_service.rb', line 16 def hotRadio(id, pageNo, pageSize) send_hotRadio(id, pageNo, pageSize) return recv_hotRadio() end |
#hotRadioAndSound(categoryIds) ⇒ Object
151 152 153 154 |
# File 'lib/t_hot_service.rb', line 151 def hotRadioAndSound(categoryIds) send_hotRadioAndSound(categoryIds) return recv_hotRadioAndSound() end |
#hotRadioDay(id, pageNo, pageSize) ⇒ Object
106 107 108 109 |
# File 'lib/t_hot_service.rb', line 106 def hotRadioDay(id, pageNo, pageSize) send_hotRadioDay(id, pageNo, pageSize) return recv_hotRadioDay() end |
#hotRadioRandom ⇒ Object
181 182 183 184 |
# File 'lib/t_hot_service.rb', line 181 def hotRadioRandom() send_hotRadioRandom() return recv_hotRadioRandom() end |
#hotSound(id, tagName, pageNo, pageSize) ⇒ Object
31 32 33 34 |
# File 'lib/t_hot_service.rb', line 31 def hotSound(id, tagName, pageNo, pageSize) send_hotSound(id, tagName, pageNo, pageSize) return recv_hotSound() end |
#hotSoundDay(id, tagName, pageNo, pageSize) ⇒ Object
121 122 123 124 |
# File 'lib/t_hot_service.rb', line 121 def hotSoundDay(id, tagName, pageNo, pageSize) send_hotSoundDay(id, tagName, pageNo, pageSize) return recv_hotSoundDay() end |
#mostFavoritSound(id, tagName, pageNo, pageSize) ⇒ Object
76 77 78 79 |
# File 'lib/t_hot_service.rb', line 76 def mostFavoritSound(id, tagName, pageNo, pageSize) send_mostFavoritSound(id, tagName, pageNo, pageSize) return recv_mostFavoritSound() end |
#mostFollowedUser(id, pageNo, pageSize) ⇒ Object
61 62 63 64 |
# File 'lib/t_hot_service.rb', line 61 def mostFollowedUser(id, pageNo, pageSize) send_mostFollowedUser(id, pageNo, pageSize) return recv_mostFollowedUser() end |
#newV(id, pageNo, pageSize) ⇒ Object
46 47 48 49 |
# File 'lib/t_hot_service.rb', line 46 def newV(id, pageNo, pageSize) send_newV(id, pageNo, pageSize) return recv_newV() end |
#recentVTrack(id, tagName, pageNo, pageSize) ⇒ Object
91 92 93 94 |
# File 'lib/t_hot_service.rb', line 91 def recentVTrack(id, tagName, pageNo, pageSize) send_recentVTrack(id, tagName, pageNo, pageSize) return recv_recentVTrack() end |
#recv_hotAlbum ⇒ Object
145 146 147 148 149 |
# File 'lib/t_hot_service.rb', line 145 def recv_hotAlbum() result = (HotAlbum_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotAlbum failed: unknown result') end |
#recv_hotCategoryAlbum ⇒ Object
175 176 177 178 179 |
# File 'lib/t_hot_service.rb', line 175 def recv_hotCategoryAlbum() result = (HotCategoryAlbum_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotCategoryAlbum failed: unknown result') end |
#recv_hotRadio ⇒ Object
25 26 27 28 29 |
# File 'lib/t_hot_service.rb', line 25 def recv_hotRadio() result = (HotRadio_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotRadio failed: unknown result') end |
#recv_hotRadioAndSound ⇒ Object
160 161 162 163 164 |
# File 'lib/t_hot_service.rb', line 160 def recv_hotRadioAndSound() result = (HotRadioAndSound_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotRadioAndSound failed: unknown result') end |
#recv_hotRadioDay ⇒ Object
115 116 117 118 119 |
# File 'lib/t_hot_service.rb', line 115 def recv_hotRadioDay() result = (HotRadioDay_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotRadioDay failed: unknown result') end |
#recv_hotRadioRandom ⇒ Object
190 191 192 193 194 |
# File 'lib/t_hot_service.rb', line 190 def recv_hotRadioRandom() result = (HotRadioRandom_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotRadioRandom failed: unknown result') end |
#recv_hotSound ⇒ Object
40 41 42 43 44 |
# File 'lib/t_hot_service.rb', line 40 def recv_hotSound() result = (HotSound_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotSound failed: unknown result') end |
#recv_hotSoundDay ⇒ Object
130 131 132 133 134 |
# File 'lib/t_hot_service.rb', line 130 def recv_hotSoundDay() result = (HotSoundDay_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotSoundDay failed: unknown result') end |
#recv_mostFavoritSound ⇒ Object
85 86 87 88 89 |
# File 'lib/t_hot_service.rb', line 85 def recv_mostFavoritSound() result = (MostFavoritSound_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'mostFavoritSound failed: unknown result') end |
#recv_mostFollowedUser ⇒ Object
70 71 72 73 74 |
# File 'lib/t_hot_service.rb', line 70 def recv_mostFollowedUser() result = (MostFollowedUser_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'mostFollowedUser failed: unknown result') end |
#recv_newV ⇒ Object
55 56 57 58 59 |
# File 'lib/t_hot_service.rb', line 55 def recv_newV() result = (NewV_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'newV failed: unknown result') end |
#recv_recentVTrack ⇒ Object
100 101 102 103 104 |
# File 'lib/t_hot_service.rb', line 100 def recv_recentVTrack() result = (RecentVTrack_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'recentVTrack failed: unknown result') end |
#send_hotAlbum(id, tagName, pageNo, pageSize) ⇒ Object
141 142 143 |
# File 'lib/t_hot_service.rb', line 141 def send_hotAlbum(id, tagName, pageNo, pageSize) ('hotAlbum', HotAlbum_args, :id => id, :tagName => tagName, :pageNo => pageNo, :pageSize => pageSize) end |
#send_hotCategoryAlbum(id, tagNames, size) ⇒ Object
171 172 173 |
# File 'lib/t_hot_service.rb', line 171 def send_hotCategoryAlbum(id, tagNames, size) ('hotCategoryAlbum', HotCategoryAlbum_args, :id => id, :tagNames => tagNames, :size => size) end |
#send_hotRadio(id, pageNo, pageSize) ⇒ Object
21 22 23 |
# File 'lib/t_hot_service.rb', line 21 def send_hotRadio(id, pageNo, pageSize) ('hotRadio', HotRadio_args, :id => id, :pageNo => pageNo, :pageSize => pageSize) end |
#send_hotRadioAndSound(categoryIds) ⇒ Object
156 157 158 |
# File 'lib/t_hot_service.rb', line 156 def send_hotRadioAndSound(categoryIds) ('hotRadioAndSound', HotRadioAndSound_args, :categoryIds => categoryIds) end |
#send_hotRadioDay(id, pageNo, pageSize) ⇒ Object
111 112 113 |
# File 'lib/t_hot_service.rb', line 111 def send_hotRadioDay(id, pageNo, pageSize) ('hotRadioDay', HotRadioDay_args, :id => id, :pageNo => pageNo, :pageSize => pageSize) end |
#send_hotRadioRandom ⇒ Object
186 187 188 |
# File 'lib/t_hot_service.rb', line 186 def send_hotRadioRandom() ('hotRadioRandom', HotRadioRandom_args) end |
#send_hotSound(id, tagName, pageNo, pageSize) ⇒ Object
36 37 38 |
# File 'lib/t_hot_service.rb', line 36 def send_hotSound(id, tagName, pageNo, pageSize) ('hotSound', HotSound_args, :id => id, :tagName => tagName, :pageNo => pageNo, :pageSize => pageSize) end |
#send_hotSoundDay(id, tagName, pageNo, pageSize) ⇒ Object
126 127 128 |
# File 'lib/t_hot_service.rb', line 126 def send_hotSoundDay(id, tagName, pageNo, pageSize) ('hotSoundDay', HotSoundDay_args, :id => id, :tagName => tagName, :pageNo => pageNo, :pageSize => pageSize) end |
#send_mostFavoritSound(id, tagName, pageNo, pageSize) ⇒ Object
81 82 83 |
# File 'lib/t_hot_service.rb', line 81 def send_mostFavoritSound(id, tagName, pageNo, pageSize) ('mostFavoritSound', MostFavoritSound_args, :id => id, :tagName => tagName, :pageNo => pageNo, :pageSize => pageSize) end |
#send_mostFollowedUser(id, pageNo, pageSize) ⇒ Object
66 67 68 |
# File 'lib/t_hot_service.rb', line 66 def send_mostFollowedUser(id, pageNo, pageSize) ('mostFollowedUser', MostFollowedUser_args, :id => id, :pageNo => pageNo, :pageSize => pageSize) end |
#send_newV(id, pageNo, pageSize) ⇒ Object
51 52 53 |
# File 'lib/t_hot_service.rb', line 51 def send_newV(id, pageNo, pageSize) ('newV', NewV_args, :id => id, :pageNo => pageNo, :pageSize => pageSize) end |
#send_recentVTrack(id, tagName, pageNo, pageSize) ⇒ Object
96 97 98 |
# File 'lib/t_hot_service.rb', line 96 def send_recentVTrack(id, tagName, pageNo, pageSize) ('recentVTrack', RecentVTrack_args, :id => id, :tagName => tagName, :pageNo => pageNo, :pageSize => pageSize) end |