Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_3_392) is shown here.
new(uri, soc, config={})
public
Create a new DRbTCPSocket
instance.
uri is the URI we are connected to.
soc is the tcp socket we are bound to. config is our
configuration.
# File lib/drb/drb.rb, line 880
def initialize(uri, soc, config={})
@uri = uri
@socket = soc
@config = config
@acl = config[:tcp_acl]
@msg = DRbMessage.new(config)
set_sockopt(@socket)
end