Class: Sfeed::ISfeedHandler::Client
- Inherits:
-
Object
- Object
- Sfeed::ISfeedHandler::Client
- Includes:
- Thrift::Client
- Defined in:
- lib/i_sfeed_handler.rb
Instance Method Summary collapse
- #blockAlbum(uid, albumUid, albumId) ⇒ Object
- #cancelTopAlbum(uid, albumUid, albumId) ⇒ Object
- #deleteEvent(uid, key) ⇒ Object
- #getAlbumTracks(uid, albumId, page, size, isAsc, order) ⇒ Object
- #getBlockAlbums(uid, cursor, size) ⇒ Object
- #getBlockAlbumsByPage(uid, page, size) ⇒ Object
- #getBlockAlbumsWithCount(uid, cursor, size) ⇒ Object
- #getEvent(uid, timeline, limit, queryType) ⇒ Object
- #getEventTotalUnread(uid) ⇒ Object
- #getFeed(uid, timeline, limit, queryType) ⇒ Object
- #getSoundTotalUnread(uid) ⇒ Object
- #queryUnloginFeed(page, size) ⇒ Object
- #recv_blockAlbum ⇒ Object
- #recv_cancelTopAlbum ⇒ Object
- #recv_deleteEvent ⇒ Object
- #recv_getAlbumTracks ⇒ Object
- #recv_getBlockAlbums ⇒ Object
- #recv_getBlockAlbumsByPage ⇒ Object
- #recv_getBlockAlbumsWithCount ⇒ Object
- #recv_getEvent ⇒ Object
- #recv_getEventTotalUnread ⇒ Object
- #recv_getFeed ⇒ Object
- #recv_getSoundTotalUnread ⇒ Object
- #recv_queryUnloginFeed ⇒ Object
- #recv_resetEventUnread ⇒ Object
- #recv_resetSoundTotalUnread ⇒ Object
- #recv_resetSoundUnread ⇒ Object
- #recv_topAlbum ⇒ Object
- #recv_unblockAlbum ⇒ Object
- #resetEventUnread(uid) ⇒ Object
- #resetSoundTotalUnread(uid) ⇒ Object
- #resetSoundUnread(uid, albumId, albumUid) ⇒ Object
- #send_blockAlbum(uid, albumUid, albumId) ⇒ Object
- #send_cancelTopAlbum(uid, albumUid, albumId) ⇒ Object
- #send_deleteEvent(uid, key) ⇒ Object
- #send_getAlbumTracks(uid, albumId, page, size, isAsc, order) ⇒ Object
- #send_getBlockAlbums(uid, cursor, size) ⇒ Object
- #send_getBlockAlbumsByPage(uid, page, size) ⇒ Object
- #send_getBlockAlbumsWithCount(uid, cursor, size) ⇒ Object
- #send_getEvent(uid, timeline, limit, queryType) ⇒ Object
- #send_getEventTotalUnread(uid) ⇒ Object
- #send_getFeed(uid, timeline, limit, queryType) ⇒ Object
- #send_getSoundTotalUnread(uid) ⇒ Object
- #send_queryUnloginFeed(page, size) ⇒ Object
- #send_resetEventUnread(uid) ⇒ Object
- #send_resetSoundTotalUnread(uid) ⇒ Object
- #send_resetSoundUnread(uid, albumId, albumUid) ⇒ Object
- #send_topAlbum(uid, albumUid, albumId) ⇒ Object
- #send_unblockAlbum(uid, albumUid, albumId) ⇒ Object
- #topAlbum(uid, albumUid, albumId) ⇒ Object
- #unblockAlbum(uid, albumUid, albumId) ⇒ Object
Instance Method Details
#blockAlbum(uid, albumUid, albumId) ⇒ Object
102 103 104 105 |
# File 'lib/i_sfeed_handler.rb', line 102 def blockAlbum(uid, albumUid, albumId) send_blockAlbum(uid, albumUid, albumId) recv_blockAlbum() end |
#cancelTopAlbum(uid, albumUid, albumId) ⇒ Object
87 88 89 90 |
# File 'lib/i_sfeed_handler.rb', line 87 def cancelTopAlbum(uid, albumUid, albumId) send_cancelTopAlbum(uid, albumUid, albumId) return recv_cancelTopAlbum() end |
#deleteEvent(uid, key) ⇒ Object
130 131 132 133 |
# File 'lib/i_sfeed_handler.rb', line 130 def deleteEvent(uid, key) send_deleteEvent(uid, key) recv_deleteEvent() end |
#getAlbumTracks(uid, albumId, page, size, isAsc, order) ⇒ Object
189 190 191 192 |
# File 'lib/i_sfeed_handler.rb', line 189 def getAlbumTracks(uid, albumId, page, size, isAsc, order) send_getAlbumTracks(uid, albumId, page, size, isAsc, order) return recv_getAlbumTracks() end |
#getBlockAlbums(uid, cursor, size) ⇒ Object
144 145 146 147 |
# File 'lib/i_sfeed_handler.rb', line 144 def getBlockAlbums(uid, cursor, size) send_getBlockAlbums(uid, cursor, size) return recv_getBlockAlbums() end |
#getBlockAlbumsByPage(uid, page, size) ⇒ Object
174 175 176 177 |
# File 'lib/i_sfeed_handler.rb', line 174 def getBlockAlbumsByPage(uid, page, size) send_getBlockAlbumsByPage(uid, page, size) return recv_getBlockAlbumsByPage() end |
#getBlockAlbumsWithCount(uid, cursor, size) ⇒ Object
159 160 161 162 |
# File 'lib/i_sfeed_handler.rb', line 159 def getBlockAlbumsWithCount(uid, cursor, size) send_getBlockAlbumsWithCount(uid, cursor, size) return recv_getBlockAlbumsWithCount() end |
#getEvent(uid, timeline, limit, queryType) ⇒ Object
30 31 32 33 |
# File 'lib/i_sfeed_handler.rb', line 30 def getEvent(uid, timeline, limit, queryType) send_getEvent(uid, timeline, limit, queryType) return recv_getEvent() end |
#getEventTotalUnread(uid) ⇒ Object
233 234 235 236 |
# File 'lib/i_sfeed_handler.rb', line 233 def getEventTotalUnread(uid) send_getEventTotalUnread(uid) return recv_getEventTotalUnread() end |
#getFeed(uid, timeline, limit, queryType) ⇒ Object
15 16 17 18 |
# File 'lib/i_sfeed_handler.rb', line 15 def getFeed(uid, timeline, limit, queryType) send_getFeed(uid, timeline, limit, queryType) return recv_getFeed() end |
#getSoundTotalUnread(uid) ⇒ Object
204 205 206 207 |
# File 'lib/i_sfeed_handler.rb', line 204 def getSoundTotalUnread(uid) send_getSoundTotalUnread(uid) return recv_getSoundTotalUnread() end |
#queryUnloginFeed(page, size) ⇒ Object
248 249 250 251 |
# File 'lib/i_sfeed_handler.rb', line 248 def queryUnloginFeed(page, size) send_queryUnloginFeed(page, size) return recv_queryUnloginFeed() end |
#recv_blockAlbum ⇒ Object
111 112 113 114 |
# File 'lib/i_sfeed_handler.rb', line 111 def recv_blockAlbum() result = (BlockAlbum_result) return end |
#recv_cancelTopAlbum ⇒ Object
96 97 98 99 100 |
# File 'lib/i_sfeed_handler.rb', line 96 def recv_cancelTopAlbum() result = (CancelTopAlbum_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'cancelTopAlbum failed: unknown result') end |
#recv_deleteEvent ⇒ Object
139 140 141 142 |
# File 'lib/i_sfeed_handler.rb', line 139 def recv_deleteEvent() result = (DeleteEvent_result) return end |
#recv_getAlbumTracks ⇒ Object
198 199 200 201 202 |
# File 'lib/i_sfeed_handler.rb', line 198 def recv_getAlbumTracks() result = (GetAlbumTracks_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getAlbumTracks failed: unknown result') end |
#recv_getBlockAlbums ⇒ Object
153 154 155 156 157 |
# File 'lib/i_sfeed_handler.rb', line 153 def recv_getBlockAlbums() result = (GetBlockAlbums_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getBlockAlbums failed: unknown result') end |
#recv_getBlockAlbumsByPage ⇒ Object
183 184 185 186 187 |
# File 'lib/i_sfeed_handler.rb', line 183 def recv_getBlockAlbumsByPage() result = (GetBlockAlbumsByPage_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getBlockAlbumsByPage failed: unknown result') end |
#recv_getBlockAlbumsWithCount ⇒ Object
168 169 170 171 172 |
# File 'lib/i_sfeed_handler.rb', line 168 def recv_getBlockAlbumsWithCount() result = (GetBlockAlbumsWithCount_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getBlockAlbumsWithCount failed: unknown result') end |
#recv_getEvent ⇒ Object
39 40 41 42 43 |
# File 'lib/i_sfeed_handler.rb', line 39 def recv_getEvent() result = (GetEvent_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getEvent failed: unknown result') end |
#recv_getEventTotalUnread ⇒ Object
242 243 244 245 246 |
# File 'lib/i_sfeed_handler.rb', line 242 def recv_getEventTotalUnread() result = (GetEventTotalUnread_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getEventTotalUnread failed: unknown result') end |
#recv_getFeed ⇒ Object
24 25 26 27 28 |
# File 'lib/i_sfeed_handler.rb', line 24 def recv_getFeed() result = (GetFeed_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getFeed failed: unknown result') end |
#recv_getSoundTotalUnread ⇒ Object
213 214 215 216 217 |
# File 'lib/i_sfeed_handler.rb', line 213 def recv_getSoundTotalUnread() result = (GetSoundTotalUnread_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getSoundTotalUnread failed: unknown result') end |
#recv_queryUnloginFeed ⇒ Object
257 258 259 260 261 |
# File 'lib/i_sfeed_handler.rb', line 257 def recv_queryUnloginFeed() result = (QueryUnloginFeed_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryUnloginFeed failed: unknown result') end |
#recv_resetEventUnread ⇒ Object
68 69 70 71 |
# File 'lib/i_sfeed_handler.rb', line 68 def recv_resetEventUnread() result = (ResetEventUnread_result) return end |
#recv_resetSoundTotalUnread ⇒ Object
228 229 230 231 |
# File 'lib/i_sfeed_handler.rb', line 228 def recv_resetSoundTotalUnread() result = (ResetSoundTotalUnread_result) return end |
#recv_resetSoundUnread ⇒ Object
54 55 56 57 |
# File 'lib/i_sfeed_handler.rb', line 54 def recv_resetSoundUnread() result = (ResetSoundUnread_result) return end |
#recv_topAlbum ⇒ Object
82 83 84 85 |
# File 'lib/i_sfeed_handler.rb', line 82 def recv_topAlbum() result = (TopAlbum_result) return end |
#recv_unblockAlbum ⇒ Object
125 126 127 128 |
# File 'lib/i_sfeed_handler.rb', line 125 def recv_unblockAlbum() result = (UnblockAlbum_result) return end |
#resetEventUnread(uid) ⇒ Object
59 60 61 62 |
# File 'lib/i_sfeed_handler.rb', line 59 def resetEventUnread(uid) send_resetEventUnread(uid) recv_resetEventUnread() end |
#resetSoundTotalUnread(uid) ⇒ Object
219 220 221 222 |
# File 'lib/i_sfeed_handler.rb', line 219 def resetSoundTotalUnread(uid) send_resetSoundTotalUnread(uid) recv_resetSoundTotalUnread() end |
#resetSoundUnread(uid, albumId, albumUid) ⇒ Object
45 46 47 48 |
# File 'lib/i_sfeed_handler.rb', line 45 def resetSoundUnread(uid, albumId, albumUid) send_resetSoundUnread(uid, albumId, albumUid) recv_resetSoundUnread() end |
#send_blockAlbum(uid, albumUid, albumId) ⇒ Object
107 108 109 |
# File 'lib/i_sfeed_handler.rb', line 107 def send_blockAlbum(uid, albumUid, albumId) ('blockAlbum', BlockAlbum_args, :uid => uid, :albumUid => albumUid, :albumId => albumId) end |
#send_cancelTopAlbum(uid, albumUid, albumId) ⇒ Object
92 93 94 |
# File 'lib/i_sfeed_handler.rb', line 92 def send_cancelTopAlbum(uid, albumUid, albumId) ('cancelTopAlbum', CancelTopAlbum_args, :uid => uid, :albumUid => albumUid, :albumId => albumId) end |
#send_deleteEvent(uid, key) ⇒ Object
135 136 137 |
# File 'lib/i_sfeed_handler.rb', line 135 def send_deleteEvent(uid, key) ('deleteEvent', DeleteEvent_args, :uid => uid, :key => key) end |
#send_getAlbumTracks(uid, albumId, page, size, isAsc, order) ⇒ Object
194 195 196 |
# File 'lib/i_sfeed_handler.rb', line 194 def send_getAlbumTracks(uid, albumId, page, size, isAsc, order) ('getAlbumTracks', GetAlbumTracks_args, :uid => uid, :albumId => albumId, :page => page, :size => size, :isAsc => isAsc, :order => order) end |
#send_getBlockAlbums(uid, cursor, size) ⇒ Object
149 150 151 |
# File 'lib/i_sfeed_handler.rb', line 149 def send_getBlockAlbums(uid, cursor, size) ('getBlockAlbums', GetBlockAlbums_args, :uid => uid, :cursor => cursor, :size => size) end |
#send_getBlockAlbumsByPage(uid, page, size) ⇒ Object
179 180 181 |
# File 'lib/i_sfeed_handler.rb', line 179 def send_getBlockAlbumsByPage(uid, page, size) ('getBlockAlbumsByPage', GetBlockAlbumsByPage_args, :uid => uid, :page => page, :size => size) end |
#send_getBlockAlbumsWithCount(uid, cursor, size) ⇒ Object
164 165 166 |
# File 'lib/i_sfeed_handler.rb', line 164 def send_getBlockAlbumsWithCount(uid, cursor, size) ('getBlockAlbumsWithCount', GetBlockAlbumsWithCount_args, :uid => uid, :cursor => cursor, :size => size) end |
#send_getEvent(uid, timeline, limit, queryType) ⇒ Object
35 36 37 |
# File 'lib/i_sfeed_handler.rb', line 35 def send_getEvent(uid, timeline, limit, queryType) ('getEvent', GetEvent_args, :uid => uid, :timeline => timeline, :limit => limit, :queryType => queryType) end |
#send_getEventTotalUnread(uid) ⇒ Object
238 239 240 |
# File 'lib/i_sfeed_handler.rb', line 238 def send_getEventTotalUnread(uid) ('getEventTotalUnread', GetEventTotalUnread_args, :uid => uid) end |
#send_getFeed(uid, timeline, limit, queryType) ⇒ Object
20 21 22 |
# File 'lib/i_sfeed_handler.rb', line 20 def send_getFeed(uid, timeline, limit, queryType) ('getFeed', GetFeed_args, :uid => uid, :timeline => timeline, :limit => limit, :queryType => queryType) end |
#send_getSoundTotalUnread(uid) ⇒ Object
209 210 211 |
# File 'lib/i_sfeed_handler.rb', line 209 def send_getSoundTotalUnread(uid) ('getSoundTotalUnread', GetSoundTotalUnread_args, :uid => uid) end |
#send_queryUnloginFeed(page, size) ⇒ Object
253 254 255 |
# File 'lib/i_sfeed_handler.rb', line 253 def send_queryUnloginFeed(page, size) ('queryUnloginFeed', QueryUnloginFeed_args, :page => page, :size => size) end |
#send_resetEventUnread(uid) ⇒ Object
64 65 66 |
# File 'lib/i_sfeed_handler.rb', line 64 def send_resetEventUnread(uid) ('resetEventUnread', ResetEventUnread_args, :uid => uid) end |
#send_resetSoundTotalUnread(uid) ⇒ Object
224 225 226 |
# File 'lib/i_sfeed_handler.rb', line 224 def send_resetSoundTotalUnread(uid) ('resetSoundTotalUnread', ResetSoundTotalUnread_args, :uid => uid) end |
#send_resetSoundUnread(uid, albumId, albumUid) ⇒ Object
50 51 52 |
# File 'lib/i_sfeed_handler.rb', line 50 def send_resetSoundUnread(uid, albumId, albumUid) ('resetSoundUnread', ResetSoundUnread_args, :uid => uid, :albumId => albumId, :albumUid => albumUid) end |
#send_topAlbum(uid, albumUid, albumId) ⇒ Object
78 79 80 |
# File 'lib/i_sfeed_handler.rb', line 78 def send_topAlbum(uid, albumUid, albumId) ('topAlbum', TopAlbum_args, :uid => uid, :albumUid => albumUid, :albumId => albumId) end |
#send_unblockAlbum(uid, albumUid, albumId) ⇒ Object
121 122 123 |
# File 'lib/i_sfeed_handler.rb', line 121 def send_unblockAlbum(uid, albumUid, albumId) ('unblockAlbum', UnblockAlbum_args, :uid => uid, :albumUid => albumUid, :albumId => albumId) end |
#topAlbum(uid, albumUid, albumId) ⇒ Object
73 74 75 76 |
# File 'lib/i_sfeed_handler.rb', line 73 def topAlbum(uid, albumUid, albumId) send_topAlbum(uid, albumUid, albumId) recv_topAlbum() end |
#unblockAlbum(uid, albumUid, albumId) ⇒ Object
116 117 118 119 |
# File 'lib/i_sfeed_handler.rb', line 116 def unblockAlbum(uid, albumUid, albumId) send_unblockAlbum(uid, albumUid, albumId) recv_unblockAlbum() end |