Class: FacebookService::Client
- Inherits:
-
Object
- Object
- FacebookService::Client
show all
- Includes:
- Thrift::Client
- Defined in:
- lib/thrift/facebook_service.rb
Instance Method Summary
collapse
Instance Method Details
#aliveSince ⇒ Object
164
165
166
167
|
# File 'lib/thrift/facebook_service.rb', line 164
def aliveSince()
send_aliveSince()
return recv_aliveSince()
end
|
#getCounter(key) ⇒ Object
90
91
92
93
|
# File 'lib/thrift/facebook_service.rb', line 90
def getCounter(key)
send_getCounter(key)
return recv_getCounter()
end
|
#getCounters ⇒ Object
75
76
77
78
|
# File 'lib/thrift/facebook_service.rb', line 75
def getCounters()
send_getCounters()
return recv_getCounters()
end
|
#getCpuProfile(profileDurationInSec) ⇒ Object
149
150
151
152
|
# File 'lib/thrift/facebook_service.rb', line 149
def getCpuProfile(profileDurationInSec)
send_getCpuProfile(profileDurationInSec)
return recv_getCpuProfile()
end
|
#getName ⇒ Object
15
16
17
18
|
# File 'lib/thrift/facebook_service.rb', line 15
def getName()
send_getName()
return recv_getName()
end
|
#getOption(key) ⇒ Object
119
120
121
122
|
# File 'lib/thrift/facebook_service.rb', line 119
def getOption(key)
send_getOption(key)
return recv_getOption()
end
|
#getOptions ⇒ Object
134
135
136
137
|
# File 'lib/thrift/facebook_service.rb', line 134
def getOptions()
send_getOptions()
return recv_getOptions()
end
|
#getStatus ⇒ Object
45
46
47
48
|
# File 'lib/thrift/facebook_service.rb', line 45
def getStatus()
send_getStatus()
return recv_getStatus()
end
|
#getStatusDetails ⇒ Object
60
61
62
63
|
# File 'lib/thrift/facebook_service.rb', line 60
def getStatusDetails()
send_getStatusDetails()
return recv_getStatusDetails()
end
|
#getVersion ⇒ Object
30
31
32
33
|
# File 'lib/thrift/facebook_service.rb', line 30
def getVersion()
send_getVersion()
return recv_getVersion()
end
|
#recv_aliveSince ⇒ Object
173
174
175
176
177
|
# File 'lib/thrift/facebook_service.rb', line 173
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 ⇒ Object
99
100
101
102
103
|
# File 'lib/thrift/facebook_service.rb', line 99
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 ⇒ Object
84
85
86
87
88
|
# File 'lib/thrift/facebook_service.rb', line 84
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 ⇒ Object
158
159
160
161
162
|
# File 'lib/thrift/facebook_service.rb', line 158
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 ⇒ Object
24
25
26
27
28
|
# File 'lib/thrift/facebook_service.rb', line 24
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 ⇒ Object
128
129
130
131
132
|
# File 'lib/thrift/facebook_service.rb', line 128
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 ⇒ Object
143
144
145
146
147
|
# File 'lib/thrift/facebook_service.rb', line 143
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 ⇒ Object
54
55
56
57
58
|
# File 'lib/thrift/facebook_service.rb', line 54
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 ⇒ Object
69
70
71
72
73
|
# File 'lib/thrift/facebook_service.rb', line 69
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 ⇒ Object
39
40
41
42
43
|
# File 'lib/thrift/facebook_service.rb', line 39
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 ⇒ Object
114
115
116
117
|
# File 'lib/thrift/facebook_service.rb', line 114
def recv_setOption()
result = receive_message(SetOption_result)
return
end
|
#reinitialize ⇒ Object
179
180
181
|
# File 'lib/thrift/facebook_service.rb', line 179
def reinitialize()
send_reinitialize()
end
|
#send_aliveSince ⇒ Object
169
170
171
|
# File 'lib/thrift/facebook_service.rb', line 169
def send_aliveSince()
send_message('aliveSince', AliveSince_args)
end
|
#send_getCounter(key) ⇒ Object
95
96
97
|
# File 'lib/thrift/facebook_service.rb', line 95
def send_getCounter(key)
send_message('getCounter', GetCounter_args, :key => key)
end
|
#send_getCounters ⇒ Object
80
81
82
|
# File 'lib/thrift/facebook_service.rb', line 80
def send_getCounters()
send_message('getCounters', GetCounters_args)
end
|
#send_getCpuProfile(profileDurationInSec) ⇒ Object
154
155
156
|
# File 'lib/thrift/facebook_service.rb', line 154
def send_getCpuProfile(profileDurationInSec)
send_message('getCpuProfile', GetCpuProfile_args, :profileDurationInSec => profileDurationInSec)
end
|
#send_getName ⇒ Object
20
21
22
|
# File 'lib/thrift/facebook_service.rb', line 20
def send_getName()
send_message('getName', GetName_args)
end
|
#send_getOption(key) ⇒ Object
124
125
126
|
# File 'lib/thrift/facebook_service.rb', line 124
def send_getOption(key)
send_message('getOption', GetOption_args, :key => key)
end
|
#send_getOptions ⇒ Object
139
140
141
|
# File 'lib/thrift/facebook_service.rb', line 139
def send_getOptions()
send_message('getOptions', GetOptions_args)
end
|
#send_getStatus ⇒ Object
50
51
52
|
# File 'lib/thrift/facebook_service.rb', line 50
def send_getStatus()
send_message('getStatus', GetStatus_args)
end
|
#send_getStatusDetails ⇒ Object
65
66
67
|
# File 'lib/thrift/facebook_service.rb', line 65
def send_getStatusDetails()
send_message('getStatusDetails', GetStatusDetails_args)
end
|
#send_getVersion ⇒ Object
35
36
37
|
# File 'lib/thrift/facebook_service.rb', line 35
def send_getVersion()
send_message('getVersion', GetVersion_args)
end
|
#send_reinitialize ⇒ Object
183
184
185
|
# File 'lib/thrift/facebook_service.rb', line 183
def send_reinitialize()
send_message('reinitialize', Reinitialize_args)
end
|
#send_setOption(key, value) ⇒ Object
110
111
112
|
# File 'lib/thrift/facebook_service.rb', line 110
def send_setOption(key, value)
send_message('setOption', SetOption_args, :key => key, :value => value)
end
|
#send_shutdown ⇒ Object
190
191
192
|
# File 'lib/thrift/facebook_service.rb', line 190
def send_shutdown()
send_message('shutdown', Shutdown_args)
end
|
#setOption(key, value) ⇒ Object
105
106
107
108
|
# File 'lib/thrift/facebook_service.rb', line 105
def setOption(key, value)
send_setOption(key, value)
recv_setOption()
end
|
#shutdown ⇒ Object
186
187
188
|
# File 'lib/thrift/facebook_service.rb', line 186
def shutdown()
send_shutdown()
end
|