Class: Green::SocketWaiter

Inherits:
Object
  • Object
show all
Defined in:
lib/green.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(socket) ⇒ SocketWaiter

Returns a new instance of SocketWaiter.



59
60
61
# File 'lib/green.rb', line 59

def initialize(socket)
  @socket = socket
end

Instance Attribute Details

#socketObject (readonly)

Returns the value of attribute socket.



58
59
60
# File 'lib/green.rb', line 58

def socket
  @socket
end

Instance Method Details

#wait_readObject



63
64
# File 'lib/green.rb', line 63

def wait_read
end

#wait_writeObject



66
67
# File 'lib/green.rb', line 66

def wait_write
end