module SocketUtil
Attributes
auths[RW]
pid[RW]
pool[RW]
Public Instance Methods
checkin()
click to toggle source
# File lib/mongo/connection/socket/socket_util.rb, line 26 def checkin @pool.checkin(self) if @pool end
checkout()
click to toggle source
# File lib/mongo/connection/socket/socket_util.rb, line 22 def checkout @pool.checkout if @pool end
close()
click to toggle source
# File lib/mongo/connection/socket/socket_util.rb, line 30 def close @socket.close unless closed? end
closed?()
click to toggle source
# File lib/mongo/connection/socket/socket_util.rb, line 34 def closed? @socket.closed? end