class Feed::FeedThriftService::Client
Public Instance Methods
deleteFeed(uid, feedId, type, groups)
click to toggle source
# File lib/feed_thrift_service.rb, line 135 def deleteFeed(uid, feedId, type, groups) send_deleteFeed(uid, feedId, type, groups) return recv_deleteFeed() end
getMobileEventTimeline(key, timeLine, pageSize, type)
click to toggle source
# File lib/feed_thrift_service.rb, line 120 def getMobileEventTimeline(key, timeLine, pageSize, type) send_getMobileEventTimeline(key, timeLine, pageSize, type) return recv_getMobileEventTimeline() end
getMobileSoundTimeline(key, timeLine, pageSize, type)
click to toggle source
# File lib/feed_thrift_service.rb, line 75 def getMobileSoundTimeline(key, timeLine, pageSize, type) send_getMobileSoundTimeline(key, timeLine, pageSize, type) return recv_getMobileSoundTimeline() end
getMobileUnread(key)
click to toggle source
# File lib/feed_thrift_service.rb, line 30 def getMobileUnread(key) send_getMobileUnread(key) return recv_getMobileUnread() end
getTimelineData(time, uid, pageNo, pageSize, isInit)
click to toggle source
# File lib/feed_thrift_service.rb, line 165 def getTimelineData(time, uid, pageNo, pageSize, isInit) send_getTimelineData(time, uid, pageNo, pageSize, isInit) return recv_getTimelineData() end
getTimelineMetaInfo(uid)
click to toggle source
# File lib/feed_thrift_service.rb, line 150 def getTimelineMetaInfo(uid) send_getTimelineMetaInfo(uid) return recv_getTimelineMetaInfo() end
getWebEventRange(key, offset, limit)
click to toggle source
# File lib/feed_thrift_service.rb, line 105 def getWebEventRange(key, offset, limit) send_getWebEventRange(key, offset, limit) return recv_getWebEventRange() end
getWebEventTimeline(key, timeLine, pageSize, type)
click to toggle source
# File lib/feed_thrift_service.rb, line 90 def getWebEventTimeline(key, timeLine, pageSize, type) send_getWebEventTimeline(key, timeLine, pageSize, type) return recv_getWebEventTimeline() end
getWebSoundRange(key, offset, limit)
click to toggle source
# File lib/feed_thrift_service.rb, line 60 def getWebSoundRange(key, offset, limit) send_getWebSoundRange(key, offset, limit) return recv_getWebSoundRange() end
getWebSoundTimeline(key, timeLine, pageSize, type)
click to toggle source
# File lib/feed_thrift_service.rb, line 45 def getWebSoundTimeline(key, timeLine, pageSize, type) send_getWebSoundTimeline(key, timeLine, pageSize, type) return recv_getWebSoundTimeline() end
getWebUnread(key)
click to toggle source
# File lib/feed_thrift_service.rb, line 15 def getWebUnread(key) send_getWebUnread(key) return recv_getWebUnread() end
recv_deleteFeed()
click to toggle source
# File lib/feed_thrift_service.rb, line 144 def recv_deleteFeed() result = receive_message(DeleteFeed_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'deleteFeed failed: unknown result') end
recv_getMobileEventTimeline()
click to toggle source
# File lib/feed_thrift_service.rb, line 129 def recv_getMobileEventTimeline() result = receive_message(GetMobileEventTimeline_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getMobileEventTimeline failed: unknown result') end
recv_getMobileSoundTimeline()
click to toggle source
# File lib/feed_thrift_service.rb, line 84 def recv_getMobileSoundTimeline() result = receive_message(GetMobileSoundTimeline_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getMobileSoundTimeline failed: unknown result') end
recv_getMobileUnread()
click to toggle source
# File lib/feed_thrift_service.rb, line 39 def recv_getMobileUnread() result = receive_message(GetMobileUnread_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getMobileUnread failed: unknown result') end
recv_getTimelineData()
click to toggle source
# File lib/feed_thrift_service.rb, line 174 def recv_getTimelineData() result = receive_message(GetTimelineData_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTimelineData failed: unknown result') end
recv_getTimelineMetaInfo()
click to toggle source
# File lib/feed_thrift_service.rb, line 159 def recv_getTimelineMetaInfo() result = receive_message(GetTimelineMetaInfo_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTimelineMetaInfo failed: unknown result') end
recv_getWebEventRange()
click to toggle source
# File lib/feed_thrift_service.rb, line 114 def recv_getWebEventRange() result = receive_message(GetWebEventRange_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getWebEventRange failed: unknown result') end
recv_getWebEventTimeline()
click to toggle source
# File lib/feed_thrift_service.rb, line 99 def recv_getWebEventTimeline() result = receive_message(GetWebEventTimeline_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getWebEventTimeline failed: unknown result') end
recv_getWebSoundRange()
click to toggle source
# File lib/feed_thrift_service.rb, line 69 def recv_getWebSoundRange() result = receive_message(GetWebSoundRange_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getWebSoundRange failed: unknown result') end
recv_getWebSoundTimeline()
click to toggle source
# File lib/feed_thrift_service.rb, line 54 def recv_getWebSoundTimeline() result = receive_message(GetWebSoundTimeline_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getWebSoundTimeline failed: unknown result') end
recv_getWebUnread()
click to toggle source
# File lib/feed_thrift_service.rb, line 24 def recv_getWebUnread() result = receive_message(GetWebUnread_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getWebUnread failed: unknown result') end
send_deleteFeed(uid, feedId, type, groups)
click to toggle source
# File lib/feed_thrift_service.rb, line 140 def send_deleteFeed(uid, feedId, type, groups) send_message('deleteFeed', DeleteFeed_args, :uid => uid, :feedId => feedId, :type => type, :groups => groups) end
send_getMobileEventTimeline(key, timeLine, pageSize, type)
click to toggle source
# File lib/feed_thrift_service.rb, line 125 def send_getMobileEventTimeline(key, timeLine, pageSize, type) send_message('getMobileEventTimeline', GetMobileEventTimeline_args, :key => key, :timeLine => timeLine, :pageSize => pageSize, :type => type) end
send_getMobileSoundTimeline(key, timeLine, pageSize, type)
click to toggle source
# File lib/feed_thrift_service.rb, line 80 def send_getMobileSoundTimeline(key, timeLine, pageSize, type) send_message('getMobileSoundTimeline', GetMobileSoundTimeline_args, :key => key, :timeLine => timeLine, :pageSize => pageSize, :type => type) end
send_getMobileUnread(key)
click to toggle source
# File lib/feed_thrift_service.rb, line 35 def send_getMobileUnread(key) send_message('getMobileUnread', GetMobileUnread_args, :key => key) end
send_getTimelineData(time, uid, pageNo, pageSize, isInit)
click to toggle source
# File lib/feed_thrift_service.rb, line 170 def send_getTimelineData(time, uid, pageNo, pageSize, isInit) send_message('getTimelineData', GetTimelineData_args, :time => time, :uid => uid, :pageNo => pageNo, :pageSize => pageSize, :isInit => isInit) end
send_getTimelineMetaInfo(uid)
click to toggle source
# File lib/feed_thrift_service.rb, line 155 def send_getTimelineMetaInfo(uid) send_message('getTimelineMetaInfo', GetTimelineMetaInfo_args, :uid => uid) end
send_getWebEventRange(key, offset, limit)
click to toggle source
# File lib/feed_thrift_service.rb, line 110 def send_getWebEventRange(key, offset, limit) send_message('getWebEventRange', GetWebEventRange_args, :key => key, :offset => offset, :limit => limit) end
send_getWebEventTimeline(key, timeLine, pageSize, type)
click to toggle source
# File lib/feed_thrift_service.rb, line 95 def send_getWebEventTimeline(key, timeLine, pageSize, type) send_message('getWebEventTimeline', GetWebEventTimeline_args, :key => key, :timeLine => timeLine, :pageSize => pageSize, :type => type) end
send_getWebSoundRange(key, offset, limit)
click to toggle source
# File lib/feed_thrift_service.rb, line 65 def send_getWebSoundRange(key, offset, limit) send_message('getWebSoundRange', GetWebSoundRange_args, :key => key, :offset => offset, :limit => limit) end
send_getWebSoundTimeline(key, timeLine, pageSize, type)
click to toggle source
# File lib/feed_thrift_service.rb, line 50 def send_getWebSoundTimeline(key, timeLine, pageSize, type) send_message('getWebSoundTimeline', GetWebSoundTimeline_args, :key => key, :timeLine => timeLine, :pageSize => pageSize, :type => type) end
send_getWebUnread(key)
click to toggle source
# File lib/feed_thrift_service.rb, line 20 def send_getWebUnread(key) send_message('getWebUnread', GetWebUnread_args, :key => key) end