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