class FacebookService::Client

Public Instance Methods

aliveSince() click to toggle source
# File lib/thrift/facebook_service.rb, line 163
def aliveSince()
  send_aliveSince()
  return recv_aliveSince()
end
getCounter(key) click to toggle source
# File lib/thrift/facebook_service.rb, line 89
def getCounter(key)
  send_getCounter(key)
  return recv_getCounter()
end
getCounters() click to toggle source
# File lib/thrift/facebook_service.rb, line 74
def getCounters()
  send_getCounters()
  return recv_getCounters()
end
getCpuProfile(profileDurationInSec) click to toggle source
# File lib/thrift/facebook_service.rb, line 148
def getCpuProfile(profileDurationInSec)
  send_getCpuProfile(profileDurationInSec)
  return recv_getCpuProfile()
end
getName() click to toggle source
# File lib/thrift/facebook_service.rb, line 14
def getName()
  send_getName()
  return recv_getName()
end
getOption(key) click to toggle source
# File lib/thrift/facebook_service.rb, line 118
def getOption(key)
  send_getOption(key)
  return recv_getOption()
end
getOptions() click to toggle source
# File lib/thrift/facebook_service.rb, line 133
def getOptions()
  send_getOptions()
  return recv_getOptions()
end
getStatus() click to toggle source
# File lib/thrift/facebook_service.rb, line 44
def getStatus()
  send_getStatus()
  return recv_getStatus()
end
getStatusDetails() click to toggle source
# File lib/thrift/facebook_service.rb, line 59
def getStatusDetails()
  send_getStatusDetails()
  return recv_getStatusDetails()
end
getVersion() click to toggle source
# File lib/thrift/facebook_service.rb, line 29
def getVersion()
  send_getVersion()
  return recv_getVersion()
end
recv_aliveSince() click to toggle source
# File lib/thrift/facebook_service.rb, line 172
def recv_aliveSince()
  result = receive_message(AliveSince_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'aliveSince failed: unknown result')
end
recv_getCounter() click to toggle source
# File lib/thrift/facebook_service.rb, line 98
def recv_getCounter()
  result = receive_message(GetCounter_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getCounter failed: unknown result')
end
recv_getCounters() click to toggle source
# File lib/thrift/facebook_service.rb, line 83
def recv_getCounters()
  result = receive_message(GetCounters_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getCounters failed: unknown result')
end
recv_getCpuProfile() click to toggle source
# File lib/thrift/facebook_service.rb, line 157
def recv_getCpuProfile()
  result = receive_message(GetCpuProfile_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getCpuProfile failed: unknown result')
end
recv_getName() click to toggle source
# File lib/thrift/facebook_service.rb, line 23
def recv_getName()
  result = receive_message(GetName_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getName failed: unknown result')
end
recv_getOption() click to toggle source
# File lib/thrift/facebook_service.rb, line 127
def recv_getOption()
  result = receive_message(GetOption_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getOption failed: unknown result')
end
recv_getOptions() click to toggle source
# File lib/thrift/facebook_service.rb, line 142
def recv_getOptions()
  result = receive_message(GetOptions_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getOptions failed: unknown result')
end
recv_getStatus() click to toggle source
# File lib/thrift/facebook_service.rb, line 53
def recv_getStatus()
  result = receive_message(GetStatus_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getStatus failed: unknown result')
end
recv_getStatusDetails() click to toggle source
# File lib/thrift/facebook_service.rb, line 68
def recv_getStatusDetails()
  result = receive_message(GetStatusDetails_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getStatusDetails failed: unknown result')
end
recv_getVersion() click to toggle source
# File lib/thrift/facebook_service.rb, line 38
def recv_getVersion()
  result = receive_message(GetVersion_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getVersion failed: unknown result')
end
recv_setOption() click to toggle source
# File lib/thrift/facebook_service.rb, line 113
def recv_setOption()
  result = receive_message(SetOption_result)
  return
end
reinitialize() click to toggle source
# File lib/thrift/facebook_service.rb, line 178
def reinitialize()
  send_reinitialize()
end
send_aliveSince() click to toggle source
# File lib/thrift/facebook_service.rb, line 168
def send_aliveSince()
  send_message('aliveSince', AliveSince_args)
end
send_getCounter(key) click to toggle source
# File lib/thrift/facebook_service.rb, line 94
def send_getCounter(key)
  send_message('getCounter', GetCounter_args, :key => key)
end
send_getCounters() click to toggle source
# File lib/thrift/facebook_service.rb, line 79
def send_getCounters()
  send_message('getCounters', GetCounters_args)
end
send_getCpuProfile(profileDurationInSec) click to toggle source
# File lib/thrift/facebook_service.rb, line 153
def send_getCpuProfile(profileDurationInSec)
  send_message('getCpuProfile', GetCpuProfile_args, :profileDurationInSec => profileDurationInSec)
end
send_getName() click to toggle source
# File lib/thrift/facebook_service.rb, line 19
def send_getName()
  send_message('getName', GetName_args)
end
send_getOption(key) click to toggle source
# File lib/thrift/facebook_service.rb, line 123
def send_getOption(key)
  send_message('getOption', GetOption_args, :key => key)
end
send_getOptions() click to toggle source
# File lib/thrift/facebook_service.rb, line 138
def send_getOptions()
  send_message('getOptions', GetOptions_args)
end
send_getStatus() click to toggle source
# File lib/thrift/facebook_service.rb, line 49
def send_getStatus()
  send_message('getStatus', GetStatus_args)
end
send_getStatusDetails() click to toggle source
# File lib/thrift/facebook_service.rb, line 64
def send_getStatusDetails()
  send_message('getStatusDetails', GetStatusDetails_args)
end
send_getVersion() click to toggle source
# File lib/thrift/facebook_service.rb, line 34
def send_getVersion()
  send_message('getVersion', GetVersion_args)
end
send_reinitialize() click to toggle source
# File lib/thrift/facebook_service.rb, line 182
def send_reinitialize()
  send_message('reinitialize', Reinitialize_args)
end
send_setOption(key, value) click to toggle source
# File lib/thrift/facebook_service.rb, line 109
def send_setOption(key, value)
  send_message('setOption', SetOption_args, :key => key, :value => value)
end
send_shutdown() click to toggle source
# File lib/thrift/facebook_service.rb, line 189
def send_shutdown()
  send_message('shutdown', Shutdown_args)
end
setOption(key, value) click to toggle source
# File lib/thrift/facebook_service.rb, line 104
def setOption(key, value)
  send_setOption(key, value)
  recv_setOption()
end
shutdown() click to toggle source
# File lib/thrift/facebook_service.rb, line 185
def shutdown()
  send_shutdown()
end