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
267
268
269
270
271
272
|
# File 'lib/thrift/facebook_service.rb', line 267
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
232
233
234
235
236
237
|
# File 'lib/thrift/facebook_service.rb', line 232
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
225
226
227
228
229
230
|
# File 'lib/thrift/facebook_service.rb', line 225
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
260
261
262
263
264
265
|
# File 'lib/thrift/facebook_service.rb', line 260
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
197
198
199
200
201
202
|
# File 'lib/thrift/facebook_service.rb', line 197
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
246
247
248
249
250
251
|
# File 'lib/thrift/facebook_service.rb', line 246
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
253
254
255
256
257
258
|
# File 'lib/thrift/facebook_service.rb', line 253
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
211
212
213
214
215
216
|
# File 'lib/thrift/facebook_service.rb', line 211
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
218
219
220
221
222
223
|
# File 'lib/thrift/facebook_service.rb', line 218
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
204
205
206
207
208
209
|
# File 'lib/thrift/facebook_service.rb', line 204
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
274
275
276
277
278
|
# File 'lib/thrift/facebook_service.rb', line 274
def process_reinitialize(seqid, iprot, oprot)
args = read_args(iprot, Reinitialize_args)
@handler.reinitialize()
return
end
|
#process_setOption(seqid, iprot, oprot) ⇒ Object
239
240
241
242
243
244
|
# File 'lib/thrift/facebook_service.rb', line 239
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
280
281
282
283
284
|
# File 'lib/thrift/facebook_service.rb', line 280
def process_shutdown(seqid, iprot, oprot)
args = read_args(iprot, Shutdown_args)
@handler.shutdown()
return
end
|