class FacebookService::Processor
Public Instance Methods
process_aliveSince(seqid, iprot, oprot)
click to toggle source
# 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)
click to toggle source
# 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)
click to toggle source
# 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)
click to toggle source
# 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)
click to toggle source
# 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)
click to toggle source
# 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)
click to toggle source
# 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)
click to toggle source
# 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)
click to toggle source
# 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)
click to toggle source
# 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)
click to toggle source
# 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)
click to toggle source
# 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)
click to toggle source
# File lib/thrift/facebook_service.rb, line 280 def process_shutdown(seqid, iprot, oprot) args = read_args(iprot, Shutdown_args) @handler.shutdown() return end