Class: FacebookService::Processor
- Inherits:
-
Object
- Object
- FacebookService::Processor
show all
- Includes:
- Thrift::Processor
- Defined in:
- lib/thrift/facebook_service.rb
Instance Method Summary
collapse
-
#process_aliveSince(seqid, iprot, oprot) ⇒ Object
-
#process_getCounter(seqid, iprot, oprot) ⇒ Object
-
#process_getCounters(seqid, iprot, oprot) ⇒ Object
-
#process_getCpuProfile(seqid, iprot, oprot) ⇒ Object
-
#process_getName(seqid, iprot, oprot) ⇒ Object
-
#process_getOption(seqid, iprot, oprot) ⇒ Object
-
#process_getOptions(seqid, iprot, oprot) ⇒ Object
-
#process_getStatus(seqid, iprot, oprot) ⇒ Object
-
#process_getStatusDetails(seqid, iprot, oprot) ⇒ Object
-
#process_getVersion(seqid, iprot, oprot) ⇒ Object
-
#process_reinitialize(seqid, iprot, oprot) ⇒ Object
-
#process_setOption(seqid, iprot, oprot) ⇒ Object
-
#process_shutdown(seqid, iprot, oprot) ⇒ Object
Instance Method Details
#process_aliveSince(seqid, iprot, oprot) ⇒ Object
268
269
270
271
272
273
|
# File 'lib/thrift/facebook_service.rb', line 268
def process_aliveSince(seqid, iprot, oprot)
args = read_args(iprot, AliveSince_args)
result = AliveSince_result.new()
result.success = @handler.aliveSince()
write_result(result, oprot, 'aliveSince', seqid)
end
|
#process_getCounter(seqid, iprot, oprot) ⇒ Object
233
234
235
236
237
238
|
# File 'lib/thrift/facebook_service.rb', line 233
def process_getCounter(seqid, iprot, oprot)
args = read_args(iprot, GetCounter_args)
result = GetCounter_result.new()
result.success = @handler.getCounter(args.key)
write_result(result, oprot, 'getCounter', seqid)
end
|
#process_getCounters(seqid, iprot, oprot) ⇒ Object
226
227
228
229
230
231
|
# File 'lib/thrift/facebook_service.rb', line 226
def process_getCounters(seqid, iprot, oprot)
args = read_args(iprot, GetCounters_args)
result = GetCounters_result.new()
result.success = @handler.getCounters()
write_result(result, oprot, 'getCounters', seqid)
end
|
#process_getCpuProfile(seqid, iprot, oprot) ⇒ Object
261
262
263
264
265
266
|
# File 'lib/thrift/facebook_service.rb', line 261
def process_getCpuProfile(seqid, iprot, oprot)
args = read_args(iprot, GetCpuProfile_args)
result = GetCpuProfile_result.new()
result.success = @handler.getCpuProfile(args.profileDurationInSec)
write_result(result, oprot, 'getCpuProfile', seqid)
end
|
#process_getName(seqid, iprot, oprot) ⇒ Object
198
199
200
201
202
203
|
# File 'lib/thrift/facebook_service.rb', line 198
def process_getName(seqid, iprot, oprot)
args = read_args(iprot, GetName_args)
result = GetName_result.new()
result.success = @handler.getName()
write_result(result, oprot, 'getName', seqid)
end
|
#process_getOption(seqid, iprot, oprot) ⇒ Object
247
248
249
250
251
252
|
# File 'lib/thrift/facebook_service.rb', line 247
def process_getOption(seqid, iprot, oprot)
args = read_args(iprot, GetOption_args)
result = GetOption_result.new()
result.success = @handler.getOption(args.key)
write_result(result, oprot, 'getOption', seqid)
end
|
#process_getOptions(seqid, iprot, oprot) ⇒ Object
254
255
256
257
258
259
|
# File 'lib/thrift/facebook_service.rb', line 254
def process_getOptions(seqid, iprot, oprot)
args = read_args(iprot, GetOptions_args)
result = GetOptions_result.new()
result.success = @handler.getOptions()
write_result(result, oprot, 'getOptions', seqid)
end
|
#process_getStatus(seqid, iprot, oprot) ⇒ Object
212
213
214
215
216
217
|
# File 'lib/thrift/facebook_service.rb', line 212
def process_getStatus(seqid, iprot, oprot)
args = read_args(iprot, GetStatus_args)
result = GetStatus_result.new()
result.success = @handler.getStatus()
write_result(result, oprot, 'getStatus', seqid)
end
|
#process_getStatusDetails(seqid, iprot, oprot) ⇒ Object
219
220
221
222
223
224
|
# File 'lib/thrift/facebook_service.rb', line 219
def process_getStatusDetails(seqid, iprot, oprot)
args = read_args(iprot, GetStatusDetails_args)
result = GetStatusDetails_result.new()
result.success = @handler.getStatusDetails()
write_result(result, oprot, 'getStatusDetails', seqid)
end
|
#process_getVersion(seqid, iprot, oprot) ⇒ Object
205
206
207
208
209
210
|
# File 'lib/thrift/facebook_service.rb', line 205
def process_getVersion(seqid, iprot, oprot)
args = read_args(iprot, GetVersion_args)
result = GetVersion_result.new()
result.success = @handler.getVersion()
write_result(result, oprot, 'getVersion', seqid)
end
|
#process_reinitialize(seqid, iprot, oprot) ⇒ Object
275
276
277
278
279
|
# File 'lib/thrift/facebook_service.rb', line 275
def process_reinitialize(seqid, iprot, oprot)
args = read_args(iprot, Reinitialize_args)
@handler.reinitialize()
return
end
|
#process_setOption(seqid, iprot, oprot) ⇒ Object
240
241
242
243
244
245
|
# File 'lib/thrift/facebook_service.rb', line 240
def process_setOption(seqid, iprot, oprot)
args = read_args(iprot, SetOption_args)
result = SetOption_result.new()
@handler.setOption(args.key, args.value)
write_result(result, oprot, 'setOption', seqid)
end
|
#process_shutdown(seqid, iprot, oprot) ⇒ Object
281
282
283
284
285
|
# File 'lib/thrift/facebook_service.rb', line 281
def process_shutdown(seqid, iprot, oprot)
args = read_args(iprot, Shutdown_args)
@handler.shutdown()
return
end
|