Class: FacebookService::Client
- Inherits:
-
Object
- Object
- FacebookService::Client
- Includes:
- Thrift::Client
- Defined in:
- lib/rb/jp/gen-rb/facebook_service.rb
Direct Known Subclasses
Instance Method Summary collapse
- #aliveSince ⇒ Object
- #getCounter(key) ⇒ Object
- #getCounters ⇒ Object
- #getCpuProfile(profileDurationInSec) ⇒ Object
- #getName ⇒ Object
- #getOption(key) ⇒ Object
- #getOptions ⇒ Object
- #getStatus ⇒ Object
- #getStatusDetails ⇒ Object
- #getVersion ⇒ Object
- #recv_aliveSince ⇒ Object
- #recv_getCounter ⇒ Object
- #recv_getCounters ⇒ Object
- #recv_getCpuProfile ⇒ Object
- #recv_getName ⇒ Object
- #recv_getOption ⇒ Object
- #recv_getOptions ⇒ Object
- #recv_getStatus ⇒ Object
- #recv_getStatusDetails ⇒ Object
- #recv_getVersion ⇒ Object
- #recv_setOption ⇒ Object
- #reinitialize ⇒ Object
- #send_aliveSince ⇒ Object
- #send_getCounter(key) ⇒ Object
- #send_getCounters ⇒ Object
- #send_getCpuProfile(profileDurationInSec) ⇒ Object
- #send_getName ⇒ Object
- #send_getOption(key) ⇒ Object
- #send_getOptions ⇒ Object
- #send_getStatus ⇒ Object
- #send_getStatusDetails ⇒ Object
- #send_getVersion ⇒ Object
- #send_reinitialize ⇒ Object
- #send_setOption(key, value) ⇒ Object
- #send_shutdown ⇒ Object
- #setOption(key, value) ⇒ Object
- #shutdown ⇒ Object
Instance Method Details
#aliveSince ⇒ Object
163 164 165 166 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 163 def aliveSince() send_aliveSince() return recv_aliveSince() end |
#getCounter(key) ⇒ Object
89 90 91 92 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 89 def getCounter(key) send_getCounter(key) return recv_getCounter() end |
#getCounters ⇒ Object
74 75 76 77 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 74 def getCounters() send_getCounters() return recv_getCounters() end |
#getCpuProfile(profileDurationInSec) ⇒ Object
148 149 150 151 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 148 def getCpuProfile(profileDurationInSec) send_getCpuProfile(profileDurationInSec) return recv_getCpuProfile() end |
#getName ⇒ Object
14 15 16 17 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 14 def getName() send_getName() return recv_getName() end |
#getOption(key) ⇒ Object
118 119 120 121 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 118 def getOption(key) send_getOption(key) return recv_getOption() end |
#getOptions ⇒ Object
133 134 135 136 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 133 def getOptions() send_getOptions() return recv_getOptions() end |
#getStatus ⇒ Object
44 45 46 47 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 44 def getStatus() send_getStatus() return recv_getStatus() end |
#getStatusDetails ⇒ Object
59 60 61 62 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 59 def getStatusDetails() send_getStatusDetails() return recv_getStatusDetails() end |
#getVersion ⇒ Object
29 30 31 32 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 29 def getVersion() send_getVersion() return recv_getVersion() end |
#recv_aliveSince ⇒ Object
172 173 174 175 176 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 172 def recv_aliveSince() result = (AliveSince_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'aliveSince failed: unknown result') end |
#recv_getCounter ⇒ Object
98 99 100 101 102 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 98 def recv_getCounter() result = (GetCounter_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getCounter failed: unknown result') end |
#recv_getCounters ⇒ Object
83 84 85 86 87 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 83 def recv_getCounters() result = (GetCounters_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getCounters failed: unknown result') end |
#recv_getCpuProfile ⇒ Object
157 158 159 160 161 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 157 def recv_getCpuProfile() result = (GetCpuProfile_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getCpuProfile failed: unknown result') end |
#recv_getName ⇒ Object
23 24 25 26 27 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 23 def recv_getName() result = (GetName_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getName failed: unknown result') end |
#recv_getOption ⇒ Object
127 128 129 130 131 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 127 def recv_getOption() result = (GetOption_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getOption failed: unknown result') end |
#recv_getOptions ⇒ Object
142 143 144 145 146 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 142 def recv_getOptions() result = (GetOptions_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getOptions failed: unknown result') end |
#recv_getStatus ⇒ Object
53 54 55 56 57 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 53 def recv_getStatus() result = (GetStatus_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getStatus failed: unknown result') end |
#recv_getStatusDetails ⇒ Object
68 69 70 71 72 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 68 def recv_getStatusDetails() result = (GetStatusDetails_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getStatusDetails failed: unknown result') end |
#recv_getVersion ⇒ Object
38 39 40 41 42 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 38 def recv_getVersion() result = (GetVersion_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getVersion failed: unknown result') end |
#recv_setOption ⇒ Object
113 114 115 116 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 113 def recv_setOption() result = (SetOption_result) return end |
#reinitialize ⇒ Object
178 179 180 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 178 def reinitialize() send_reinitialize() end |
#send_aliveSince ⇒ Object
168 169 170 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 168 def send_aliveSince() ('aliveSince', AliveSince_args) end |
#send_getCounter(key) ⇒ Object
94 95 96 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 94 def send_getCounter(key) ('getCounter', GetCounter_args, :key => key) end |
#send_getCounters ⇒ Object
79 80 81 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 79 def send_getCounters() ('getCounters', GetCounters_args) end |
#send_getCpuProfile(profileDurationInSec) ⇒ Object
153 154 155 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 153 def send_getCpuProfile(profileDurationInSec) ('getCpuProfile', GetCpuProfile_args, :profileDurationInSec => profileDurationInSec) end |
#send_getName ⇒ Object
19 20 21 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 19 def send_getName() ('getName', GetName_args) end |
#send_getOption(key) ⇒ Object
123 124 125 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 123 def send_getOption(key) ('getOption', GetOption_args, :key => key) end |
#send_getOptions ⇒ Object
138 139 140 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 138 def send_getOptions() ('getOptions', GetOptions_args) end |
#send_getStatus ⇒ Object
49 50 51 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 49 def send_getStatus() ('getStatus', GetStatus_args) end |
#send_getStatusDetails ⇒ Object
64 65 66 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 64 def send_getStatusDetails() ('getStatusDetails', GetStatusDetails_args) end |
#send_getVersion ⇒ Object
34 35 36 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 34 def send_getVersion() ('getVersion', GetVersion_args) end |
#send_reinitialize ⇒ Object
182 183 184 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 182 def send_reinitialize() ('reinitialize', Reinitialize_args) end |
#send_setOption(key, value) ⇒ Object
109 110 111 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 109 def send_setOption(key, value) ('setOption', SetOption_args, :key => key, :value => value) end |
#send_shutdown ⇒ Object
189 190 191 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 189 def send_shutdown() ('shutdown', Shutdown_args) end |
#setOption(key, value) ⇒ Object
104 105 106 107 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 104 def setOption(key, value) send_setOption(key, value) recv_setOption() end |
#shutdown ⇒ Object
185 186 187 |
# File 'lib/rb/jp/gen-rb/facebook_service.rb', line 185 def shutdown() send_shutdown() end |