Search code examples
rubyuridrb

DRb, "who called me" method


In a DRbserver, how can I see who called a method? I want to log the ip and port from anyone who calls a certain method. something like

def who
uri = <DRb method here>
puts uri
end

Is this functionality available in DRb?

Thanks.


Solution

  • i will use acl with this -> DRb method access