Class: RemoteTrackQueryService::Client
- Inherits:
-
Object
- Object
- RemoteTrackQueryService::Client
- Includes:
- Thrift::Client
- Defined in:
- lib/remote_track_query_service.rb
Instance Method Summary collapse
- #multiQueryBaseTrackInfos(trackIds) ⇒ Object
- #multiQueryDetailTrackInfos(trackIds) ⇒ Object
- #queryBaseTrackInfo(trackId) ⇒ Object
- #queryDetailTrackInfo(trackId) ⇒ Object
- #recv_multiQueryBaseTrackInfos ⇒ Object
- #recv_multiQueryDetailTrackInfos ⇒ Object
- #recv_queryBaseTrackInfo ⇒ Object
- #recv_queryDetailTrackInfo ⇒ Object
- #send_multiQueryBaseTrackInfos(trackIds) ⇒ Object
- #send_multiQueryDetailTrackInfos(trackIds) ⇒ Object
- #send_queryBaseTrackInfo(trackId) ⇒ Object
- #send_queryDetailTrackInfo(trackId) ⇒ Object
Instance Method Details
#multiQueryBaseTrackInfos(trackIds) ⇒ Object
29 30 31 32 |
# File 'lib/remote_track_query_service.rb', line 29 def multiQueryBaseTrackInfos(trackIds) send_multiQueryBaseTrackInfos(trackIds) return recv_multiQueryBaseTrackInfos() end |
#multiQueryDetailTrackInfos(trackIds) ⇒ Object
59 60 61 62 |
# File 'lib/remote_track_query_service.rb', line 59 def multiQueryDetailTrackInfos(trackIds) send_multiQueryDetailTrackInfos(trackIds) return recv_multiQueryDetailTrackInfos() end |
#queryBaseTrackInfo(trackId) ⇒ Object
14 15 16 17 |
# File 'lib/remote_track_query_service.rb', line 14 def queryBaseTrackInfo(trackId) send_queryBaseTrackInfo(trackId) return recv_queryBaseTrackInfo() end |
#queryDetailTrackInfo(trackId) ⇒ Object
44 45 46 47 |
# File 'lib/remote_track_query_service.rb', line 44 def queryDetailTrackInfo(trackId) send_queryDetailTrackInfo(trackId) return recv_queryDetailTrackInfo() end |
#recv_multiQueryBaseTrackInfos ⇒ Object
38 39 40 41 42 |
# File 'lib/remote_track_query_service.rb', line 38 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
68 69 70 71 72 |
# File 'lib/remote_track_query_service.rb', line 68 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
23 24 25 26 27 |
# File 'lib/remote_track_query_service.rb', line 23 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
53 54 55 56 57 |
# File 'lib/remote_track_query_service.rb', line 53 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 |
#send_multiQueryBaseTrackInfos(trackIds) ⇒ Object
34 35 36 |
# File 'lib/remote_track_query_service.rb', line 34 def send_multiQueryBaseTrackInfos(trackIds) ('multiQueryBaseTrackInfos', MultiQueryBaseTrackInfos_args, :trackIds => trackIds) end |
#send_multiQueryDetailTrackInfos(trackIds) ⇒ Object
64 65 66 |
# File 'lib/remote_track_query_service.rb', line 64 def send_multiQueryDetailTrackInfos(trackIds) ('multiQueryDetailTrackInfos', MultiQueryDetailTrackInfos_args, :trackIds => trackIds) end |
#send_queryBaseTrackInfo(trackId) ⇒ Object
19 20 21 |
# File 'lib/remote_track_query_service.rb', line 19 def send_queryBaseTrackInfo(trackId) ('queryBaseTrackInfo', QueryBaseTrackInfo_args, :trackId => trackId) end |
#send_queryDetailTrackInfo(trackId) ⇒ Object
49 50 51 |
# File 'lib/remote_track_query_service.rb', line 49 def send_queryDetailTrackInfo(trackId) ('queryDetailTrackInfo', QueryDetailTrackInfo_args, :trackId => trackId) end |