SocketUtil

Attributes

pid[RW]
pool[RW]

Public Instance Methods

checkin() click to toggle source
# File lib/mongo/util/socket_util.rb, line 9
def checkin
  @pool.checkin(self) if @pool
end
checkout() click to toggle source
# File lib/mongo/util/socket_util.rb, line 5
def checkout
  @pool.checkout if @pool
end
close() click to toggle source
# File lib/mongo/util/socket_util.rb, line 13
def close
  @socket.close unless closed?
end
closed?() click to toggle source
# File lib/mongo/util/socket_util.rb, line 17
def closed?
  @socket.closed?
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.