class Socket::ConnectingSockets
Public Class Methods
new()
click to toggle source
# File socket/lib/socket.rb, line 1107 def initialize @socket_dict = {} end
Public Instance Methods
add(socket, addrinfo)
click to toggle source
# File socket/lib/socket.rb, line 1115 def add(socket, addrinfo) @socket_dict[socket] = addrinfo end
all()
click to toggle source
# File socket/lib/socket.rb, line 1111 def all @socket_dict.keys end
delete(socket)
click to toggle source
# File socket/lib/socket.rb, line 1119 def delete(socket) @socket_dict.delete socket end
each() { |socket| ... }
click to toggle source
# File socket/lib/socket.rb, line 1127 def each @socket_dict.keys.each do |socket| yield socket end end
empty?()
click to toggle source
# File socket/lib/socket.rb, line 1123 def empty? @socket_dict.empty? end